using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using System.Text; using Newtonsoft.Json; namespace Core.StlMes.Client.Mcp.Control.Entity { [Serializable] /// /// 数据库表HTT_HLSTRAIGHTEN_RESULT所对应的实体类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/) /// 作者:tgcx-test 时间:2018-06-15 /// public class HttHlstraightenResultEntity { /// /// 实绩编号(机组+工序点代码+年月日+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 = ""; /// /// 1辊压下量 /// private decimal? rollNum1 = null; /// /// 2辊压下量 /// private decimal? rollNum2 = null; /// /// 3辊压下量 /// private decimal? rollNum3 = null; /// /// 弯曲度 /// private decimal? bendRate = null; /// /// 矫直温度 /// private decimal? lstraightenTemp = 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 updateTime = ""; /// /// 修改人 /// private string updateName = ""; /// /// 生产(年月日) /// private string proYearMonthDay = ""; /// /// 结算日期(年月) /// private string balYearMonth = ""; /// /// 热处理次数 /// private decimal? processSeq = null; /// /// 挠度 /// private string deflection = ""; /// /// 角度 /// private string angle = ""; /// /// 结束时间 /// private string endTime = ""; /// /// 矫直前温度 /// private string preLstraightenTemp = null; /// /// 矫直后温度 /// private string afterLstraightenTemp = null; /// /// 实绩编号(机组+工序点代码+年月日+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("zyBatchId")] public string ZyBatchId { get { return zyBatchId; } set { zyBatchId = value; } } /// /// 热处理生产批次号序号 /// [Description("热处理生产批次号序号")] [JsonProperty("prodIndex")] public string ProdIndex { get { return prodIndex; } set { prodIndex = value; } } /// /// 热处理订单编号 /// [Description("热处理订单编号")] [JsonProperty("proPlanId")] public string ProPlanId { get { return proPlanId; } set { proPlanId = value; } } /// /// 热处理订单排产序号 /// [Description("热处理订单排产序号")] [JsonProperty("gxPlanNo")] public string GxPlanNo { get { return gxPlanNo; } set { gxPlanNo = 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; } } /// /// 1辊压下量 /// [Description("1辊压下量")] [JsonProperty("rollNum1")] public decimal? RollNum1 { get { return rollNum1; } set { rollNum1 = value; } } /// /// 2辊压下量 /// [Description("2辊压下量")] [JsonProperty("rollNum2")] public decimal? RollNum2 { get { return rollNum2; } set { rollNum2 = value; } } /// /// 3辊压下量 /// [Description("3辊压下量")] [JsonProperty("rollNum3")] public decimal? RollNum3 { get { return rollNum3; } set { rollNum3 = value; } } /// /// 弯曲度 /// [Description("弯曲度")] [JsonProperty("bendRate")] public decimal? BendRate { get { return bendRate; } set { bendRate = value; } } /// /// 矫直温度 /// [Description("矫直温度")] [JsonProperty("lstraightenTemp")] public decimal? LstraightenTemp { get { return lstraightenTemp; } set { lstraightenTemp = 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("offlineNum")] public decimal? OfflineNum { get { return offlineNum; } set { offlineNum = value; } } /// /// 下线重量 /// [Description("下线重量")] [JsonProperty("offlineWt")] public decimal? OfflineWt { get { return offlineWt; } set { offlineWt = value; } } /// /// 返线支数 /// [Description("返线支数")] [JsonProperty("reNum")] public decimal? ReNum { get { return reNum; } set { reNum = value; } } /// /// 返线重量 /// [Description("返线重量")] [JsonProperty("reWt")] public decimal? ReWt { get { return reWt; } set { reWt = value; } } /// /// 采集方式(0-接口采集,1-人工录入) /// [Description("采集方式")] [JsonProperty("colMode")] public string ColMode { get { return colMode; } set { colMode = value; } } /// /// 开始时间 /// [Description("开始时间")] [JsonProperty("colTime")] public string ColTime { get { return colTime; } set { colTime = value; } } /// /// 操作人 /// [Description("操作人")] [JsonProperty("colUser")] public string ColUser { get { return colUser; } set { colUser = value; } } /// /// 操作班次 /// [Description("操作班次")] [JsonProperty("colShift")] public string ColShift { get { return colShift; } set { colShift = value; } } /// /// 操作班组 /// [Description("操作班组")] [JsonProperty("colGroup")] public string ColGroup { get { return colGroup; } set { colGroup = value; } } /// /// 操作时间 /// [Description("操作时间")] [JsonProperty("createTime")] public string CreateTime { get { return createTime; } set { createTime = value; } } /// /// 修改时间 /// [Description("修改时间")] [JsonProperty("updateTime")] public string UpdateTime { get { return updateTime; } set { updateTime = value; } } /// /// 修改人 /// [Description("修改人")] [JsonProperty("updateName")] public string UpdateName { get { return updateName; } set { updateName = 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("processSeq")] public decimal? ProcessSeq { get { return processSeq; } set { processSeq = value; } } /// /// 挠度 /// [Description("挠度")] [JsonProperty("deflection")] public string Deflection { get { return deflection; } set { deflection = value; } } /// /// 角度 /// [Description("角度")] [JsonProperty("angle")] public string Angle { get { return angle; } set { angle = value; } } /// /// 结束时间 /// [Description("结束时间")] [JsonProperty("endTime")] public string EndTime { get { return endTime; } set { endTime = value; } } /// /// 矫直前温度 /// [Description("矫直前温度")] [JsonProperty("preLstraightenTemp")] public string PreLstraightenTemp { get { return preLstraightenTemp; } set { preLstraightenTemp = value; } } /// /// 矫直后温度 /// [Description("矫直后温度")] [JsonProperty("afterLstraightenTemp")] public string AfterLstraightenTemp { get { return afterLstraightenTemp; } set { afterLstraightenTemp = value; } } public HttHlstraightenResultEntity 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 HttHlstraightenResultEntity; } } } }