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