using System; using System.ComponentModel; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using Newtonsoft.Json; namespace com.steering.mes.mcp.entity { /// /// 数据库表MCH_MEASURE_RESULT所对应的实体类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/) /// 作者:tgcx-test 时间:2018-10-15 /// [Serializable] public class MchMeasureResultEntity { /// /// 防撞环数量 /// private decimal? arCount; /// /// 结算日期(年月) /// private string balYearMonth = ""; /// /// 批号 /// private string batchNo = ""; /// /// 色环条数 /// private decimal? ccCount; /// /// 创建时间 /// private string createTime = ""; /// /// 废品支数 /// private decimal? failNum; /// /// 废品重量 /// private decimal? failWt; /// /// 炉计划ID /// private string heatPlanNo = ""; /// /// 是否监制 /// private string ifMonitorRcl = ""; /// /// 是否涂漆 /// private string isPaint = ""; /// /// 判定炉号 /// private string judgeStoveNo = ""; /// /// 分切数 /// private decimal? outnumCut; /// /// 油漆批号 /// private string paintLot = ""; /// /// 油漆型号 /// private string paintType = ""; /// /// 产线代码 /// private string plineCode = ""; /// /// 产线描述 /// private string plineName = ""; /// /// 监制编号 /// private string prdcrNo = ""; /// /// 监制人 /// private string producer = ""; /// /// 监制到场时间 /// private string producerTime = ""; /// /// 操作班组 /// private string proGroup = ""; /// /// 作业支数(有效生产数量) /// private decimal? proNum; /// /// 操作班次 /// private string proShift = ""; /// /// 操作时间 /// private string proTime = ""; /// /// 操作人 /// private string proUser = ""; /// /// 作业重量 /// private decimal? proWt; /// /// 生产(年月日) /// private string proYearMonthDay = ""; /// /// 保护环厂家 /// private string prProvider = ""; /// /// 保护环类型 /// private string prType = ""; /// /// 实绩编号(机组+工序点代码+年月日+6位流水) /// private string resultNo = ""; /// /// 是否特殊通径 /// private string specialDrift = ""; /// /// 螺纹脂批号 拧接端 /// private string tcLotCoup = ""; /// /// 螺纹脂批号 内保护环端 /// private string tcLotIn = ""; /// /// 螺纹脂批号 外保护环端 /// private string tcLotOut = ""; /// /// 螺纹脂厂家型号 拧接端 /// private string tcProviderCoup = ""; /// /// 螺纹脂厂家型号 内保护环端 /// private string tcProviderIn = ""; /// /// 螺纹脂厂家型号 外保护环端 /// private string tcProviderOut = ""; /// /// 是否使用防撞环 /// private string useAr = ""; /// /// 是否使用保护帽 /// private string usePc = ""; /// /// 实绩编号(机组+工序点代码+年月日+6位流水) /// [Description("实绩编号")] [JsonProperty("resultNo")] public string ResultNo { get { return resultNo; } set { resultNo = value; } } /// /// 炉计划ID /// [Description("炉计划ID")] [JsonProperty("heatPlanNo")] public string HeatPlanNo { get { return heatPlanNo; } set { heatPlanNo = value; } } /// /// 批号 /// [Description("批号")] [JsonProperty("batchNo")] public string BatchNo { get { return batchNo; } set { batchNo = value; } } /// /// 产线代码 /// [Description("产线代码")] [JsonProperty("plineCode")] public string PlineCode { get { return plineCode; } set { plineCode = value; } } /// /// 产线描述 /// [Description("产线描述")] [JsonProperty("plineName")] public string PlineName { get { return plineName; } set { plineName = value; } } /// /// 是否监制 /// [Description("是否监制")] [JsonProperty("ifMonitorRcl")] public string IfMonitorRcl { get { return ifMonitorRcl; } set { ifMonitorRcl = value; } } /// /// 监制编号 /// [Description("监制编号")] [JsonProperty("prdcrNo")] public string PrdcrNo { get { return prdcrNo; } set { prdcrNo = value; } } /// /// 监制人 /// [Description("监制人")] [JsonProperty("producer")] public string Producer { get { return producer; } set { producer = value; } } /// /// 监制到场时间 /// [Description("监制到场时间")] [JsonProperty("producerTime")] public string ProducerTime { get { return producerTime; } set { producerTime = value; } } /// /// 分切数 /// [Description("分切数")] [JsonProperty("outnumCut")] public decimal? OutnumCut { get { return outnumCut; } set { outnumCut = value; } } /// /// 作业支数(有效生产数量) /// [Description("作业支数")] [JsonProperty("proNum")] public decimal? ProNum { get { return proNum; } set { proNum = value; } } /// /// 作业重量 /// [Description("作业重量")] [JsonProperty("proWt")] public decimal? ProWt { get { return proWt; } set { proWt = value; } } /// /// 废品支数 /// [Description("废品支数")] [JsonProperty("failNum")] public decimal? FailNum { get { return failNum; } set { failNum = value; } } /// /// 废品重量 /// [Description("废品重量")] [JsonProperty("failWt")] public decimal? FailWt { get { return failWt; } set { failWt = value; } } /// /// 生产(年月日) /// [Description("生产(年月日)")] [JsonProperty("proYearMonthDay")] public string ProYearMonthDay { get { return proYearMonthDay; } set { proYearMonthDay = value; } } /// /// 结算日期(年月) /// [Description("结算日期(年月)")] [JsonProperty("balYearMonth")] public string BalYearMonth { get { return balYearMonth; } set { balYearMonth = value; } } /// /// 操作班次 /// [Description("班次")] [JsonProperty("proShift")] public string ProShift { get { return proShift; } set { proShift = value; } } /// /// 操作班组 /// [Description("班组")] [JsonProperty("proGroup")] public string ProGroup { get { return proGroup; } set { proGroup = value; } } /// /// 创建时间 /// [Description("创建时间")] [JsonProperty("createTime")] public string CreateTime { get { return createTime; } set { createTime = value; } } /// /// 操作人 /// [Description("操作人")] [JsonProperty("proUser")] public string ProUser { get { return proUser; } set { proUser = value; } } /// /// 操作时间 /// [Description("开始时间")] [JsonProperty("proTime")] public string ProTime { get { return proTime; } set { proTime = value; } } /// /// 判定炉号 /// [Description("判定炉号")] [JsonProperty("judgeStoveNo")] public string JudgeStoveNo { get { return judgeStoveNo; } set { judgeStoveNo = value; } } /// /// 螺纹脂厂家型号 拧接端 /// [Description("螺纹脂厂家型号 拧接端")] [JsonProperty("tcProviderCoup")] public string TcProviderCoup { get { return tcProviderCoup; } set { tcProviderCoup = value; } } /// /// 螺纹脂批号 拧接端 /// [Description("螺纹脂批号 拧接端")] [JsonProperty("tcLotCoup")] public string TcLotCoup { get { return tcLotCoup; } set { tcLotCoup = value; } } /// /// 螺纹脂厂家型号 内保护环端 /// [Description("螺纹脂厂家型号 内保护环端")] [JsonProperty("tcProviderIn")] public string TcProviderIn { get { return tcProviderIn; } set { tcProviderIn = value; } } /// /// 螺纹脂批号 内保护环端 /// [Description("螺纹脂批号 内保护环端")] [JsonProperty("tcLotIn")] public string TcLotIn { get { return tcLotIn; } set { tcLotIn = value; } } /// /// 螺纹脂厂家型号 外保护环端 /// [Description("螺纹脂厂家型号 外保护环端")] [JsonProperty("tcProviderOut")] public string TcProviderOut { get { return tcProviderOut; } set { tcProviderOut = value; } } /// /// 螺纹脂批号 外保护环端 /// [Description("螺纹脂批号 外保护环端")] [JsonProperty("tcLotOut")] public string TcLotOut { get { return tcLotOut; } set { tcLotOut = value; } } /// /// 保护环厂家 /// [Description("保护环厂家")] [JsonProperty("prProvider")] public string PrProvider { get { return prProvider; } set { prProvider = value; } } /// /// 保护环类型 /// [Description("保护环类型")] [JsonProperty("prType")] public string PrType { get { return prType; } set { prType = value; } } /// /// 是否使用保护帽 /// [Description("是否使用保护帽")] [JsonProperty("usePc")] public string UsePc { get { return usePc; } set { usePc = value; } } /// /// 是否使用防撞环 /// [Description("是否使用防撞环")] [JsonProperty("useAr")] public string UseAr { get { return useAr; } set { useAr = value; } } /// /// 防撞环数量 /// [Description("防撞环数量")] [JsonProperty("arCount")] public decimal? ArCount { get { return arCount; } set { arCount = value; } } /// /// 是否特殊通径 /// [Description("是否特殊通径")] [JsonProperty("specialDrift")] public string SpecialDrift { get { return specialDrift; } set { specialDrift = value; } } /// /// 色环条数 /// [Description("色环条数")] [JsonProperty("ccCount")] public decimal? CcCount { get { return ccCount; } set { ccCount = value; } } /// /// 是否涂漆 /// [Description("是否涂漆")] [JsonProperty("isPaint")] public string IsPaint { get { return isPaint; } set { isPaint = value; } } /// /// 油漆型号 /// [Description("油漆型号")] [JsonProperty("paintType")] public string PaintType { get { return paintType; } set { paintType = value; } } /// /// 油漆批号 /// [Description("油漆批号")] [JsonProperty("paintLot")] public string PaintLot { get { return paintLot; } set { paintLot = value; } } private string flag = "0"; /// /// /// [Description("类型")] [JsonProperty("paintLot")] public string Flag { get { return flag; } set { flag = value; } } /// /// 结束时间 /// private string proEndTime = ""; /// /// 结束时间 /// [Description("结束时间")] [JsonProperty("paintLot")] public string ProEndTime { get { return proEndTime; } set { proEndTime = value; } } [Description("合同号")] public string OrderNo { get; set; } /// /// 备注 /// private string memo = ""; /// /// 备注 /// [Description("备注")] [JsonProperty("memo")] public string Memo { get { return memo; } set { memo = value; } } public MchMeasureResultEntity 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 MchMeasureResultEntity; } } } }