using System.ComponentModel; using Core.Mes.Client.Comm.Attribute; namespace Core.StlMes.Client.LgResMgt.Mcms.entity { /// /// 数据库表CMM_BASE_PROTOCOL_C所对应的实体类(生成工具:代码生成工具3.0) /// 作者:朱少波 时间:2020-11-19 /// public class CmmBaseProtocolCEntity { /// /// 磅房设备通信协议ID /// private string protocolId = ""; /// /// 序号 /// private decimal? protocolSeq = null; /// /// 1- 固定值 2-参数值 3- 数据域 /// private string dataType = ""; /// /// 长度 /// private decimal? dataLen = null; /// /// 值类型 1-固定值 2-ascill 3-hex数值 /// private string valueType = ""; /// /// 值 /// private string dataValue = ""; /// /// 磅房设备通信协议ID /// [Description("磅房设备通信协议ID")] [Nullable(false)] [DataLength(50)] public string ProtocolId { get { return protocolId; } set { protocolId = value; } } /// /// 序号 /// [Description("序号")] [Nullable(true)] [DataLength(22)] public decimal? ProtocolSeq { get { return protocolSeq; } set { protocolSeq = value; } } /// /// 1- 固定值 2-参数值 3- 数据域 /// [Description("1- 固定值 2-参数值 3- 数据域")] [Nullable(true)] [DataLength(2)] public string DataType { get { return dataType; } set { dataType = value; } } /// /// 长度 /// [Description("长度")] [Nullable(true)] [DataLength(2)] public decimal? DataLen { get { return dataLen; } set { dataLen = value; } } /// /// 值类型 1-固定值 2-ascill 3-hex数值 /// [Description("值类型 1-固定值 2-ascill 3-hex数值")] [Nullable(true)] [DataLength(2)] public string ValueType { get { return valueType; } set { valueType = value; } } /// /// 值 /// [Description("值")] [Nullable(true)] [DataLength(100)] public string DataValue { get { return dataValue; } set { dataValue = value; } } } }