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