using System; using System.ComponentModel; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using Core.Mes.Client.Comm.Attribute; namespace Core.StlMes.Client.Mcp.Control.Entity { /// /// 数据库表HTT_HHEAT_RESULT所对应的实体类(生成工具:代码生成工具3.0) /// 作者:lenovo-PC 时间:2018-06-05 /// [Serializable] public class HttHheatResultEntity { /// /// 实绩编号(机组+工序点代码+年月日+6位流水) /// private string resultNo = ""; /// /// 炉计划ID /// private string heatPlanNo = ""; /// /// 热处理生产批次号 /// private string zyBatchId = ""; /// /// 热处理生产批次号序号 /// private string prodIndex = ""; /// /// 热处理订单编号 /// private string proPlanId = ""; /// /// 热处理订单排产序号 /// private string gxPlanNo = ""; /// /// 产线代码 /// private string plineCode = ""; /// /// 产线描述 /// private string plineName = ""; /// /// 装炉时间 /// private string hheatEnterTime = ""; /// /// 出炉时间 /// private string hheatOutTime = ""; /// /// 出口温度 /// private decimal? hheatExitTemp = null; /// /// 节拍 /// private decimal? hheatTaktTime = null; /// /// 均热一区炉温曲线(路径) /// private string hheatCruve1 = ""; /// /// 均热二区炉温曲线(路径) /// private string hheatCruve2 = ""; /// /// 均热三区炉温曲线(路径) /// private string hheatCruve3 = ""; /// /// 加热一区炉温曲线(路径) /// private string hheatCruve4 = ""; /// /// 加热二区炉温曲线(路径) /// private string hheatCruve5 = ""; /// /// 加热三区炉温曲线(路径) /// private string hheatCruve6 = ""; /// /// 均热一区平均温度 /// private decimal? hheatAvgTemp1 = null; /// /// 均热二区平均温度 /// private decimal? hheatAvgTemp2 = null; /// /// 均热三区平均温度 /// private decimal? hheatAvgTemp3 = null; /// /// 加热一区平均温度 /// private decimal? hheatAvgTemp4 = null; /// /// 加热二区平均温度 /// private decimal? hheatAvgTemp5 = null; /// /// 加热三区平均温度 /// private decimal? hheatAvgTemp6 = null; /// /// 作业支数(有效生产数量) /// private decimal? proNum = null; /// /// 作业重量 /// private decimal? proWt = null; /// /// 废品支数 /// private decimal? failNum = null; /// /// 废品重量 /// private decimal? failWt = null; /// /// 离线支数 /// private decimal? offlineNum = null; /// /// 离线重量 /// private decimal? offlineWt = null; /// /// 返线支数 /// private decimal? reNum = null; /// /// 返线重量 /// private decimal? reWt = null; /// /// 采集方式(0-接口采集,1-人工录入) /// private string colMode = ""; /// /// 采集/录入时间 /// private string colTime = ""; /// /// 操作人 /// private string colUser = ""; /// /// 操作班次 /// private string colShift = ""; /// /// 操作班组 /// private string colGroup = ""; /// /// 操作时间 /// private string createTime = ""; /// /// 监制人 /// private string producer = ""; /// /// 监制到场时间 /// private string producerTime = ""; /// /// 修改时间 /// private string updateTime = ""; /// /// 修改人 /// private string updateName = ""; /// /// 生产(年月日) /// private string proYearMonthDay = ""; /// /// 结算日期(年月) /// private string balYearMonth = ""; /// /// 热处理次数 /// private decimal? processSeq = null; /// /// 实绩编号(机组+工序点代码+年月日+6位流水) /// [Description("实绩编号")] [Nullable(false)] [DataLength(22)] public string ResultNo { get { return resultNo; } set { resultNo = value; } } /// /// 炉计划ID /// [Description("炉计划ID")] [Nullable(true)] [DataLength(22)] public string HeatPlanNo { get { return heatPlanNo; } set { heatPlanNo = value; } } /// /// 热处理生产批次号 /// [Description("热处理生产批次号")] [Nullable(true)] [DataLength(20)] public string ZyBatchId { get { return zyBatchId; } set { zyBatchId = value; } } /// /// 热处理生产批次号序号 /// [Description("热处理生产批次号序号")] [Nullable(true)] [DataLength(20)] public string ProdIndex { get { return prodIndex; } set { prodIndex = value; } } /// /// 热处理订单编号 /// [Description("热处理订单编号")] [Nullable(true)] [DataLength(20)] public string ProPlanId { get { return proPlanId; } set { proPlanId = value; } } /// /// 热处理订单排产序号 /// [Description("热处理订单排产序号")] [Nullable(true)] [DataLength(10)] public string GxPlanNo { get { return gxPlanNo; } set { gxPlanNo = value; } } /// /// 产线代码 /// [Description("产线代码")] [Nullable(true)] [DataLength(20)] public string PlineCode { get { return plineCode; } set { plineCode = value; } } /// /// 产线描述 /// [Description("产线描述")] [Nullable(true)] [DataLength(40)] public string PlineName { get { return plineName; } set { plineName = value; } } /// /// 装炉时间 /// [Description("开始时间")] [Nullable(true)] public string HheatEnterTime { get { return hheatEnterTime; } set { hheatEnterTime = value; } } /// /// 出炉时间 /// [Description("结束时间")] [Nullable(true)] public string HheatOutTime { get { return hheatOutTime; } set { hheatOutTime = value; } } /// /// 出口温度 /// [Description("出口温度")] [Nullable(true)] [DataLength(6)] public decimal? HheatExitTemp { get { return hheatExitTemp; } set { hheatExitTemp = value; } } /// /// 节拍 /// [Description("节拍")] [Nullable(true)] [DataLength(6)] public decimal? HheatTaktTime { get { return hheatTaktTime; } set { hheatTaktTime = value; } } /// /// 均热一区炉温曲线(路径) /// [Description("均热一区炉温曲线(路径)")] [Nullable(true)] [DataLength(40)] public string HheatCruve1 { get { return hheatCruve1; } set { hheatCruve1 = value; } } /// /// 均热二区炉温曲线(路径) /// [Description("均热二区炉温曲线(路径)")] [Nullable(true)] [DataLength(40)] public string HheatCruve2 { get { return hheatCruve2; } set { hheatCruve2 = value; } } /// /// 均热三区炉温曲线(路径) /// [Description("均热三区炉温曲线(路径)")] [Nullable(true)] [DataLength(40)] public string HheatCruve3 { get { return hheatCruve3; } set { hheatCruve3 = value; } } /// /// 加热一区炉温曲线(路径) /// [Description("加热一区炉温曲线(路径)")] [Nullable(true)] [DataLength(40)] public string HheatCruve4 { get { return hheatCruve4; } set { hheatCruve4 = value; } } /// /// 加热二区炉温曲线(路径) /// [Description("加热二区炉温曲线(路径)")] [Nullable(true)] [DataLength(40)] public string HheatCruve5 { get { return hheatCruve5; } set { hheatCruve5 = value; } } /// /// 加热三区炉温曲线(路径) /// [Description("加热三区炉温曲线(路径)")] [Nullable(true)] [DataLength(40)] public string HheatCruve6 { get { return hheatCruve6; } set { hheatCruve6 = value; } } /// /// 均热一区平均温度 /// [Description("均热一区平均温度")] [Nullable(true)] [DataLength(6)] public decimal? HheatAvgTemp1 { get { return hheatAvgTemp1; } set { hheatAvgTemp1 = value; } } /// /// 均热二区平均温度 /// [Description("均热二区平均温度")] [Nullable(true)] [DataLength(6)] public decimal? HheatAvgTemp2 { get { return hheatAvgTemp2; } set { hheatAvgTemp2 = value; } } /// /// 均热三区平均温度 /// [Description("均热三区平均温度")] [Nullable(true)] [DataLength(6)] public decimal? HheatAvgTemp3 { get { return hheatAvgTemp3; } set { hheatAvgTemp3 = value; } } /// /// 加热一区平均温度 /// [Description("加热一区平均温度")] [Nullable(true)] [DataLength(6)] public decimal? HheatAvgTemp4 { get { return hheatAvgTemp4; } set { hheatAvgTemp4 = value; } } /// /// 加热二区平均温度 /// [Description("加热二区平均温度")] [Nullable(true)] [DataLength(6)] public decimal? HheatAvgTemp5 { get { return hheatAvgTemp5; } set { hheatAvgTemp5 = value; } } /// /// 加热三区平均温度 /// [Description("加热三区平均温度")] [Nullable(true)] [DataLength(6)] public decimal? HheatAvgTemp6 { get { return hheatAvgTemp6; } set { hheatAvgTemp6 = value; } } /// /// 作业支数(有效生产数量) /// [Description("作业支数")] [Nullable(true)] [DataLength(6)] public decimal? ProNum { get { return proNum; } set { proNum = value; } } /// /// 作业重量 /// [Description("作业重量")] [Nullable(true)] [DataLength(8)] public decimal? ProWt { get { return proWt; } set { proWt = value; } } /// /// 废品支数 /// [Description("废品支数")] [Nullable(true)] [DataLength(6)] public decimal? FailNum { get { return failNum; } set { failNum = value; } } /// /// 废品重量 /// [Description("废品重量")] [Nullable(true)] [DataLength(8)] public decimal? FailWt { get { return failWt; } set { failWt = value; } } /// /// 离线支数 /// [Description("离线支数")] [Nullable(true)] [DataLength(6)] public decimal? OfflineNum { get { return offlineNum; } set { offlineNum = value; } } /// /// 离线重量 /// [Description("离线重量")] [Nullable(true)] [DataLength(8)] public decimal? OfflineWt { get { return offlineWt; } set { offlineWt = value; } } /// /// 返线支数 /// [Description("返线支数")] [Nullable(true)] [DataLength(6)] public decimal? ReNum { get { return reNum; } set { reNum = value; } } /// /// 返线重量 /// [Description("返线重量")] [Nullable(true)] [DataLength(8)] public decimal? ReWt { get { return reWt; } set { reWt = value; } } /// /// 采集方式(0-接口采集,1-人工录入) /// [Description("采集方式(0-接口采集,1-人工录入)")] [Nullable(true)] [DataLength(1)] public string ColMode { get { return colMode; } set { colMode = value; } } /// /// 采集/录入时间 /// [Description("操作时间")] [Nullable(true)] public string ColTime { get { return colTime; } set { colTime = value; } } /// /// 操作人 /// [Description("操作人")] [Nullable(true)] [DataLength(20)] public string ColUser { get { return colUser; } set { colUser = value; } } /// /// 操作班次 /// [Description("操作班次")] [Nullable(true)] [DataLength(1)] public string ColShift { get { return colShift; } set { colShift = value; } } /// /// 操作班组 /// [Description("操作班组")] [Nullable(true)] [DataLength(1)] public string ColGroup { get { return colGroup; } set { colGroup = value; } } /// /// 操作时间 /// [Description("操作时间")] [Nullable(true)] public string CreateTime { get { return createTime; } set { createTime = value; } } /// /// 监制人 /// [Description("监制人")] [Nullable(true)] [DataLength(20)] public string Producer { get { return producer; } set { producer = value; } } /// /// 监制到场时间 /// [Description("到场时间")] [Nullable(true)] public string ProducerTime { get { return producerTime; } set { producerTime = value; } } /// /// 修改时间 /// [Description("修改时间")] [Nullable(true)] public string UpdateTime { get { return updateTime; } set { updateTime = value; } } /// /// 修改人 /// [Description("修改人")] [Nullable(true)] [DataLength(20)] public string UpdateName { get { return updateName; } set { updateName = value; } } /// /// 生产(年月日) /// [Description("生产(年月日)")] [Nullable(true)] [DataLength(8)] public string ProYearMonthDay { get { return proYearMonthDay; } set { proYearMonthDay = value; } } /// /// 结算日期(年月) /// [Description("结算日期(年月)")] [Nullable(true)] [DataLength(6)] public string BalYearMonth { get { return balYearMonth; } set { balYearMonth = value; } } /// /// 热处理次数 /// [Description("循环次数")] [Nullable(true)] [DataLength(22)] public decimal? ProcessSeq { get { return processSeq; } set { processSeq = value; } } /// /// 炉内总时间(分钟) /// private decimal? totalTime = null; /// /// 炉内总时间(分钟) /// [Description("保温时间(分钟)")] [Nullable(true)] [DataLength(22)] public decimal? TotalTime { get { return totalTime; } set { totalTime = value; } } private string coolingType = ""; /// /// 生产(年月日) /// [Description("冷却方式")] [Nullable(true)] [DataLength(8)] public string CoolingType { get { return coolingType; } set { coolingType = value; } } /// /// 热处理工艺制度 /// private string httTechnology = ""; /// /// 热处理工艺制度 /// [Description("热处理工艺制度")] [Nullable(true)] [DataLength(50)] public string HttTechnology { get { return httTechnology; } set { httTechnology = value; } } private string httType = ""; /// /// 生产(年月日) /// [Description("热处理方式")] [Nullable(true)] [DataLength(8)] public string HttType { get { return httType; } set { httType = value; } } public HttHheatResultEntity Clone() { using (var memStream = new MemoryStream()) { var binaryFormatter = new BinaryFormatter(null, new StreamingContext(StreamingContextStates.Clone)); binaryFormatter.Serialize(memStream, this); memStream.Seek(0, SeekOrigin.Begin); return binaryFormatter.Deserialize(memStream) as HttHheatResultEntity; } } } }