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_TWISTINGLY_RESULT所对应的实体类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/) /// 作者:tgcx-test 时间:2018-10-15 /// [Serializable] public class MchTwistinglyResultEntity { /// /// 结算日期(年月) /// private string balYearMonth = ""; /// /// 批号 /// private string batchNo = ""; /// /// 接箍炉号 /// private string couplingHeatNo = ""; /// /// 接箍批号 /// private string couplingLotNo = ""; /// /// 接箍个数 /// private decimal? couplingNum; /// /// 接箍个数 /// private decimal? couplingWt; /// /// 创建时间 /// private string createTime = ""; /// /// 废品支数 /// private decimal? failNum; /// /// 废品重量 /// private decimal? failWt; /// /// 炉计划ID /// private string heatPlanNo = ""; /// /// 是否热处理监制 /// private string ifMonitorRcl = ""; /// /// 判定炉号 /// private string judgeStoveNo = ""; /// /// J值最大值 /// private decimal? jvalueMax; /// /// J值最小值 /// private decimal? jvalueMin; /// /// 分切数 /// private decimal? outnumCut; /// /// 公/母端 0-母端 1-公端 /// private string pipeEndMf = ""; /// /// 产线代码 /// 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 = ""; /// /// 实绩编号(机组+工序点代码+年月日+6位流水) /// private string resultNo = ""; /// /// 丝扣油批号 /// private string screwoilBachno = ""; /// /// 丝扣油用量 /// private decimal? screwoilNum; /// /// 丝扣油型号 /// private string screwoilType = ""; /// /// 转速曲线(路径) /// private string speedCurve = ""; /// /// 扭矩曲线(路径) /// private string torquesCurve = ""; /// /// 最大扭矩(控制范围) /// private decimal? torquesMax; /// /// 最小扭矩(控制范围) /// private decimal? torquesMin; /// /// 最佳扭矩(控制范围) /// private decimal? torquesOpt; /// /// 最大扭矩(台扇扭矩设定范围) /// private decimal? torquesSetMax; /// /// 最小扭矩(台扇扭矩设定范围) /// private decimal? torquesSetMin; /// /// 对顶合格 /// private string topqualified = ""; /// /// 最大拐点扭矩(控制范围) /// private decimal? turningTorquesMax = null; /// /// 最小拐点扭矩(控制范围) /// private decimal? turningTorquesMin = null; /// /// 合格支数 /// private decimal? qualifiedNum = null; /// /// 合格重量 /// private decimal? qualifiedWt = null; /// /// 返修支数 /// private decimal? reProNum = null; /// /// 返修重量 /// private decimal? reProWt = null; /// /// 备注 /// private string memo = ""; /// /// 责任人 /// private string responsible = ""; /// /// 扭矩单位 /// private string torquesUnit = ""; /// /// 最终合格支数 /// private decimal? finalQualifiedNum = null; /// /// 最终合格重量 /// private decimal? finalQualifiedWt = 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("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; } } /// /// 公/母端 0-母端 1-公端 /// [Description("公/母端")] [JsonProperty("pipeEndMf")] public string PipeEndMf { get { return pipeEndMf; } set { pipeEndMf = value; } } /// /// 接箍炉号 /// [Description("接箍炉号")] [JsonProperty("couplingHeatNo")] public string CouplingHeatNo { get { return couplingHeatNo; } set { couplingHeatNo = value; } } /// /// 接箍批号 /// [Description("接箍批号")] [JsonProperty("couplingLotNo")] public string CouplingLotNo { get { return couplingLotNo; } set { couplingLotNo = value; } } /// /// 接箍个数 /// [Description("接箍个数")] [JsonProperty("couplingNum")] public decimal? CouplingNum { get { return couplingNum; } set { couplingNum = value; } } /// /// 接箍个数 /// [Description("接箍重量")] [JsonProperty("couplingWt")] public decimal? CouplingWt { get { return couplingWt; } set { couplingWt = value; } } /// /// J值最小值 /// [Description("J值最小值")] [JsonProperty("jvalueMin")] public decimal? JvalueMin { get { return jvalueMin; } set { jvalueMin = value; } } /// /// J值最大值 /// [Description("J值最大值")] [JsonProperty("jValueMax")] public decimal? JvalueMax { get { return jvalueMax; } set { jvalueMax = value; } } /// /// 最小扭矩(台扇扭矩设定范围) /// [Description("最小扭矩(台扇扭矩设定范围)")] [JsonProperty("torquesSetMin")] public decimal? TorquesSetMin { get { return torquesSetMin; } set { torquesSetMin = value; } } /// /// 最大扭矩(台扇扭矩设定范围) /// [Description("最大扭矩(台扇扭矩设定范围)")] [JsonProperty("torquesSetMax")] public decimal? TorquesSetMax { get { return torquesSetMax; } set { torquesSetMax = value; } } /// /// 最小扭矩(控制范围) /// [Description("最小扭矩")] [JsonProperty("torquesMin")] public decimal? TorquesMin { get { return torquesMin; } set { torquesMin = value; } } /// /// 最佳扭矩(控制范围) /// [Description("最佳扭矩")] [JsonProperty("torquesOpt")] public decimal? TorquesOpt { get { return torquesOpt; } set { torquesOpt = value; } } /// /// 最大扭矩(控制范围) /// [Description("最大扭矩")] [JsonProperty("torquesMax")] public decimal? TorquesMax { get { return torquesMax; } set { torquesMax = value; } } /// /// 扭矩曲线(路径) /// [Description("扭矩曲线(路径)")] [JsonProperty("torquesCurve")] public string TorquesCurve { get { return torquesCurve; } set { torquesCurve = value; } } /// /// 转速曲线(路径) /// [Description("转速曲线(路径)")] [JsonProperty("speedCurve")] public string SpeedCurve { get { return speedCurve; } set { speedCurve = value; } } /// /// 丝扣油型号 /// [Description("丝扣油型号")] [JsonProperty("screwoilType")] public string ScrewoilType { get { return screwoilType; } set { screwoilType = value; } } /// /// 丝扣油批号 /// [Description("丝扣油批号")] [JsonProperty("screwoilBachno")] public string ScrewoilBachno { get { return screwoilBachno; } set { screwoilBachno = value; } } /// /// 丝扣油用量 /// [Description("丝扣油用量")] [JsonProperty("screwoilNum")] public decimal? ScrewoilNum { get { return screwoilNum; } set { screwoilNum = 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("topqualified")] public string Topqualified { get { return topqualified; } set { topqualified = value; } } /// /// 最大拐点扭矩(控制范围) /// [Description("最大拐点扭矩")] [JsonProperty("turningTorquesMax")] public decimal? TurningTorquesMax { get { return turningTorquesMax; } set { turningTorquesMax = value; } } /// /// 最小拐点扭矩(控制范围) /// [Description("最小拐点扭矩")] [JsonProperty("turningTorquesMin")] public decimal? TurningTorquesMin { get { return turningTorquesMin; } set { turningTorquesMin = value; } } /// /// 合格支数 /// [Description("合格支数")] [JsonProperty("qualifiedNum")] public decimal? QualifiedNum { get { return qualifiedNum; } set { qualifiedNum = value; } } /// /// 合格重量 /// [Description("合格重量")] [JsonProperty("qualifiedWt")] public decimal? QualifiedWt { get { return qualifiedWt; } set { qualifiedWt = value; } } /// /// 返修支数 /// [Description("返修支数")] [JsonProperty("reProNum")] public decimal? ReProNum { get { return reProNum; } set { reProNum = value; } } /// /// 返修重量 /// [Description("返修重量")] [JsonProperty("reProWt")] public decimal? ReProWt { get { return reProWt; } set { reProWt = value; } } /// /// 备注 /// [Description("备注")] [JsonProperty("memo")] public string Memo { get { return memo; } set { memo = value; } } /// /// 责任人 /// [Description("责任人")] [JsonProperty("responsible")] public string Responsible { get { return responsible; } set { responsible = value; } } /// /// 扭矩单位 /// [Description("单位")] [JsonProperty("torquesUnit")] public string TorquesUnit { get { return torquesUnit; } set { torquesUnit = value; } } /// /// 最终合格支数 /// [Description("最终合格支数")] [JsonProperty("finalQualifiedNum")] public decimal? FinalQualifiedNum { get { return finalQualifiedNum; } set { finalQualifiedNum = value; } } /// /// 最终合格重量 /// [Description("最终合格重量")] [JsonProperty("finalQualifiedWt")] public decimal? FinalQualifiedWt { get { return finalQualifiedWt; } set { finalQualifiedWt = value; } } /// /// 报告地址 /// private string reportPath = ""; /// /// 报告地址 /// [Description("报告地址")] [JsonProperty("reportPath")] public string ReportPath { get { return reportPath; } set { reportPath = value; } } [Description("合同号")] public string OrderNo { get; set; } public MchTwistinglyResultEntity 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 MchTwistinglyResultEntity; } } } }