You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

124 lines
2.8 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
namespace ProductionSystem_Model.ViewModel.Response.Protocol
{
public class ProtocolVM
{
/// <summary>
/// 主键
/// </summary>
public string Id { get; set; }
/// <summary>
/// 行号
/// </summary>
public int SerialNumber { get; set; }
/// <summary>
/// 协议类型
/// </summary>
public string ProtocolType { get; set; }
/// <summary>
/// 协议编码
/// </summary>
public string ProtocolCode { get; set; }
/// <summary>
/// 协议名称
/// </summary>
public string ProtocolName { get; set; }
/// <summary>
/// 报文格式
/// </summary>
public string MsgFormat { get; set; }
/// <summary>
/// 报文格式
/// </summary>
public string MsgFormatName { get; set; }
/// <summary>
/// 帧类型(标准帧、扩展帧)
/// </summary>
public string FrameType { get; set; }
/// <summary>
/// 帧类型(标准帧、扩展帧)
/// </summary>
public string FrameTypeName { get; set; }
/// <summary>
/// 波特率
/// </summary>
public int Bps { get; set; }
/// <summary>
/// 串口号
/// </summary>
public string Port { get; set; }
/// <summary>
/// 校验位
/// </summary>
public string ChkBit { get; set; }
/// <summary>
/// 数据位
/// </summary>
public int DataBit { get; set; }
/// <summary>
/// 停止位
/// </summary>
public int StopBit { get; set; }
/// <summary>
/// 站号
/// </summary>
public int? StationNo { get; set; }
/// <summary>
/// 排序索引
/// </summary>
public int SortIndex { get; set; }
/// <summary>
/// 数据状态
/// 1—可用0—不可用
/// </summary>
public bool IsActive { get; set; }
/// <summary>
/// 数据状态
/// </summary>
public string StrIsActive { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedTime { get; set; }
/// <summary>
/// 创建者
/// </summary>
public string CreatedBy { get; set; }
/// <summary>
/// 最后一次修改时间
/// </summary>
public DateTime? UpdatedTime { get; set; }
/// <summary>
/// 最后一次修改者
/// </summary>
public string UpdatedBy { get; set; }
}
}