using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using Core.Mes.Client.Comm.Attribute; namespace Core.StlMes.Client.ZGMil.Entity { class MatZcMEntity { private double? spz; [Description("送判支")] public double? Spz { get { return spz; } set { spz = value; } } private String isOk; [Description("成品是否可送判")] public String IsOk { get { return isOk; } set { isOk = value; } } private String inspectionFlag; [Description("抽检状态")] public String InspectionFlag { get { return inspectionFlag; } set { inspectionFlag = value; } } private double? bjz; [Description("报检支")] public double? Bjz { get { return bjz; } set { bjz = value; } } private double? yjz; [Description("已检支")] public double? Yjz { get { return yjz; } set { yjz = value; } } private double? xcjz; [Description("需重检支")] public double? Xcjz { get { return xcjz; } set { xcjz = value; } } private double? ycjz; [Description("重检支")] public double? Ycjz { get { return ycjz; } set { ycjz = value; } } private String proPlanIdNext; [Description("下工序订单编号")] public String ProPlanIdNext { get { return proPlanIdNext; } set { proPlanIdNext = value; } } private String gxPlanNoNext; [Description("下工序排产序号")] public String GxPlanNoNext { get { return gxPlanNoNext; } set { gxPlanNoNext = value; } } private String modelCode; [Description("扣型代码")] public String ModelCode { get { return modelCode; } set { modelCode = value; } } private String modelDesc; [Description("扣型")] public String ModelDesc { get { return modelDesc; } set { modelDesc = value; } } private String stdStyle; [Description("标准类别代码")] public String StdStyle { get { return stdStyle; } set { stdStyle = value; } } private String stdStyleDesc; [Description("标准类别")] public String StdStyleDesc { get { return stdStyleDesc; } set { stdStyleDesc = value; } } private String belongCode; [Description("所属单位代码")] public String BelongCode { get { return belongCode; } set { belongCode = value; } } private String belongName; [Description("所属单位")] public String BelongName { get { return belongName; } set { belongName = value; } } private String judgeStoveNo; [Description("炉号")] public String JudgeStoveNo { get { return judgeStoveNo; } set { judgeStoveNo = value; } } private String lotNo; [Description("生产批号")] public String LotNo { get { return lotNo; } set { lotNo = value; } } private String judgeNo; [Description("轧管炉号")] public String JudgeNo { get { return judgeNo; } set { judgeNo = value; } } private String batchNo; [Description("批号")] public String BatchNo { get { return batchNo; } set { batchNo = value; } } private String batchGroudNo; [Description("组号")] public String BatchGroudNo { get { return batchGroudNo; } set { batchGroudNo = value; } } private String productFlag; [Description("材料类别")] public String ProductFlag { get { return productFlag; } set { productFlag = value; } } private String matStatus; [Description("材料状态")] public String MatStatus { get { return matStatus; } set { matStatus = value; } } private String specCode; [Description("规格代码")] public String SpecCode { get { return specCode; } set { specCode = value; } } private String specName; [Description("规格")] public String SpecName { get { return specName; } set { specName = value; } } private String actDimater; [Description("外径")] public String ActDimater { get { return actDimater; } set { actDimater = value; } } private String actHeight; [Description("壁厚")] public String ActHeight { get { return actHeight; } set { actHeight = value; } } private String actLenMin; [Description("长度下限")] public String ActLenMin { get { return actLenMin; } set { actLenMin = value; } } private String actLenMax; [Description("长度上限")] public String ActLenMax { get { return actLenMax; } set { actLenMax = value; } } private String produccode; [Description("品名代码")] public String Produccode { get { return produccode; } set { produccode = value; } } private String producname; [Description("品名")] public String Producname { get { return producname; } set { producname = value; } } private String materialNo; [Description("物料编码")] public String MaterialNo { get { return materialNo; } set { materialNo = value; } } private String materialName; [Description("物料")] public String MaterialName { get { return materialName; } set { materialName = value; } } private String steelcode; [Description("钢级牌号代码")] public String Steelcode { get { return steelcode; } set { steelcode = value; } } private String steelname; [Description("钢级")] public String Steelname { get { return steelname; } set { steelname = value; } } private String stdCode; [Description("标准代码")] public String StdCode { get { return stdCode; } set { stdCode = value; } } private String stdName; [Description("标准名称")] public String StdName { get { return stdName; } set { stdName = value; } } private String orderNo; [Description("合同号")] public String OrderNo { get { return orderNo; } set { orderNo = value; } } private String orderSeq; [Description("合同行")] public String OrderSeq { get { return orderSeq; } set { orderSeq = value; } } private String orderSeqNo; [Description("交货行")] public String OrderSeqNo { get { return orderSeqNo; } set { orderSeqNo = value; } } private String ordPk; [Description("合同主键")] public String OrdPk { get { return ordPk; } set { ordPk = value; } } private String ordLnPk; [Description("合同行主键")] public String OrdLnPk { get { return ordLnPk; } set { ordLnPk = value; } } private String ordLnDlyPk; [Description("交货行主键")] public String OrdLnDlyPk { get { return ordLnDlyPk; } set { ordLnDlyPk = value; } } private String proOrderNo; [Description("生产合同号")] public String ProOrderNo { get { return proOrderNo; } set { proOrderNo = value; } } private String proOrderId; [Description("生产订单号")] public String ProOrderId { get { return proOrderId; } set { proOrderId = value; } } private String instockTime; [Description("入库时间")] public String InstockTime { get { return instockTime; } set { instockTime = value; } } private String locationNo; [Description("料位号")] public String LocationNo { get { return locationNo; } set { locationNo = value; } } private String storageNo; [Description("仓库号编码")] public String StorageNo { get { return storageNo; } set { storageNo = value; } } private String storageName; [Description("仓库名称")] public String StorageName { get { return storageName; } set { storageName = value; } } private String outstockDoc; [Description("出库单编号")] public String OutstockDoc { get { return outstockDoc; } set { outstockDoc = value; } } private double? actLen; [Description("长度")] public double? ActLen { get { return actLen; } set { actLen = value; } } private double? actCount; [Description("支数")] public double? ActCount { get { return actCount; } set { actCount = value; } } private double? lkactCount; [Description("利库支数")] public double? LkactCount { get { return lkactCount; } set { lkactCount = value; } } private double? tdactCount; [Description("脱单支数")] public double? TdactCount { get { return tdactCount; } set { tdactCount = value; } } private double? gpactCount; [Description("改判支数")] public double? GpactCount { get { return gpactCount; } set { gpactCount = value; } } private double? actWeight; [Description("重量(t)")] public double? ActWeight { get { return actWeight; } set { actWeight = value; } } private double? actTheoryWeight; [Description("理重(t)")] public double? ActTheoryWeight { get { return actTheoryWeight; } set { actTheoryWeight = value; } } private double? ponderGrossWt; [Description("过磅重量(t)")] public double? PonderGrossWt { get { return ponderGrossWt; } set { ponderGrossWt = value; } } private double? ponderGrossCount; [Description("过磅支数")] public double? PonderGrossCount { get { return ponderGrossCount; } set { ponderGrossCount = value; } } private String memo; [Description("备注")] public String Memo { get { return memo; } set { memo = value; } } private String pipmemo; [Description("备注")] public String Pipmemo { get { return pipmemo; } set { pipmemo = value; } } private String judgeResultCode; [Description("综合判定结果")] public String JudgeResultCode { get { return judgeResultCode; } set { judgeResultCode = value; } } private String judgeResult; [Description("综合判定结果")] public String JudgeResult { get { return judgeResult; } set { judgeResult = value; } } private String judgeStdName; [Description("判定标准")] public String JudgeStdName { get { return judgeStdName; } set { judgeStdName = value; } } /// /// 质量封锁标志(0未封锁、2质量封锁) /// private object lockFlag; /// /// 质量封锁标志(0未封锁、2质量封锁) /// [Description("质量封锁标志")] public object LockFlag { get { return lockFlag; } set { if (value == null) { lockFlag = DBNull.Value; } else { lockFlag = value; } } } /// /// 管理封锁标志(0未封锁、1管理封锁) /// private object mngLockFlag; [Description("管理封锁标志")] public object MngLockFlag { get { return mngLockFlag; } set { if (value == null) { mngLockFlag = DBNull.Value; } else { mngLockFlag = value; } } } private object proNo; [Description("操作单号")] public object ProNo { get { return proNo; } set { if (value == null) { proNo = DBNull.Value; } else { proNo = value; } } } private object lockLiku; [Description("审核状态")] public object LockLiku { get { return lockLiku; } set { if (value == null) { lockLiku = DBNull.Value; } else { lockLiku = value; } } } /// /// 生产产线代码 /// private object plineCode; [Description("产线代码")] public object PlineCode { get { return plineCode; } set { if (value == null) { plineCode = DBNull.Value; } else { plineCode = value; } } } /// /// 生产产线名称 /// private object plineName; [Description("产线")] public object PlineName { get { return plineName; } set { if (value == null) { plineName = DBNull.Value; } else { plineName = value; } } } private object jugdeApplyCode; [Description("申请单号")] public object JugdeApplyCode { get { return jugdeApplyCode; } set { if (value == null) { jugdeApplyCode = DBNull.Value; } else { jugdeApplyCode = value; } } } private object heatPlanNo; [Description("炉次计划号")] public object HeatPlanNo { get { return heatPlanNo; } set { if (value == null) { heatPlanNo = DBNull.Value; } else { heatPlanNo = value; } } } private object qcmStaus; [Description("入库状态")] public object QcmStaus { get { return qcmStaus; } set { if (value == null) { qcmStaus = DBNull.Value; } else { qcmStaus = value; } } } private object faceResultCode; [Description("表检结果")] public object FaceResultCode { get { return faceResultCode; } set { if (value == null) { faceResultCode = DBNull.Value; } else { faceResultCode = value; } } } private object detectResultCode; [Description("探伤结果")] public object DetectResultCode { get { return detectResultCode; } set { if (value == null) { detectResultCode = DBNull.Value; } else { detectResultCode = value; } } } /// /// [轧管工序]成分判定结果代码 /// private object chemResultCode; [Description("成分结果")] public object ChemResultCode { get { return chemResultCode; } set { if (value == null) { chemResultCode = DBNull.Value; } else { chemResultCode = value; } } } /// /// [轧管工序]性能判定结果代码 /// private object phyResultCode; [Description("性能结果")] public object PhyResultCode { get { return phyResultCode; } set { if (value == null) { phyResultCode = DBNull.Value; } else { phyResultCode = value; } } } private object flagStoveNoZg; [Description("标识炉号")] public object FlagStoveNoZg { get { return flagStoveNoZg; } set { if (value == null) { flagStoveNoZg = DBNull.Value; } else { flagStoveNoZg = value; } } } private object target; [Description("判定字头")] public object Target { get { return target; } set { if (value == null) { target = DBNull.Value; } else { target = value; } } } private object packFlag; [Description("打捆标识")] public object PackFlag { get { return packFlag; } set { if (value == null) { packFlag = DBNull.Value; } else { packFlag = value; } } } private object applyFlag; [Description("送判状态")] public object ApplyFlag { get { return applyFlag; } set { if (value == null) { applyFlag = DBNull.Value; } else { applyFlag = value; } } } private object backJugdeMemo; [Description("退判原因")] public object BackJugdeMemo { get { return backJugdeMemo; } set { if (value == null) { backJugdeMemo = DBNull.Value; } else { backJugdeMemo = value; } } } private object gxPlanNo; [Description("轧管排产序号")] public object GxPlanNo { get { return gxPlanNo; } set { if (value == null) { gxPlanNo = DBNull.Value; } else { gxPlanNo = value; } } } private object detectResultPath; [Description("探伤报告")] public object DetectResultPath { get { return detectResultPath; } set { if (value == null) { detectResultPath = DBNull.Value; } else { detectResultPath = value; } } } private object faceResultPath; [Description("表检报告")] public object FaceResultPath { get { return faceResultPath; } set { if (value == null) { faceResultPath = DBNull.Value; } else { faceResultPath = value; } } } /// /// 加工几何尺寸结果 /// private string mchDimensionsResult = ""; /// /// 加工表面质量结果 /// private string mchVisualResult = ""; /// /// 加工几何尺寸结果 /// [Description("几何尺寸结果")] [Nullable(true)] [DataLength(10)] public string MchDimensionsResult { get { return mchDimensionsResult; } set { mchDimensionsResult = value; } } /// /// 加工表面质量结果 /// [Description("表面质量结果")] [Nullable(true)] [DataLength(10)] public string MchVisualResult { get { return mchVisualResult; } set { mchVisualResult = value; } } public MatZcMEntity() { proPlanIdNext = ""; gxPlanNoNext = ""; detectResultPath = ""; faceResultPath = ""; gxPlanNo = ""; applyFlag = ""; backJugdeMemo = ""; packFlag = ""; target = ""; phyResultCode = ""; chemResultCode = ""; flagStoveNoZg = ""; qcmStaus = ""; heatPlanNo = ""; jugdeApplyCode = ""; plineCode = ""; plineName = ""; proNo = ""; lockLiku = ""; mngLockFlag = ""; lockFlag = ""; stdStyle = ""; stdStyleDesc = ""; modelCode = ""; modelDesc = ""; belongCode = ""; belongName = ""; judgeStoveNo = ""; batchNo = ""; batchGroudNo = ""; productFlag = ""; matStatus = ""; specCode = ""; specName = ""; actDimater = ""; actHeight = ""; actLenMin = ""; actLenMax = ""; produccode = ""; producname = ""; materialNo = ""; materialName = ""; steelcode = ""; steelname = ""; stdCode = ""; stdName = ""; orderNo = ""; orderSeq = ""; orderSeqNo = ""; ordPk = ""; ordLnPk = ""; ordLnDlyPk = ""; proOrderNo = ""; proOrderId = ""; instockTime = ""; storageNo = ""; actLen = 0; actCount = 0; lkactCount = 0; tdactCount = 0; actWeight = 0; ponderGrossWt = 0; actTheoryWeight = 0; judgeStdName = ""; locationNo = ""; judgeNo = ""; lotNo = ""; } /// /// 订货计量单位(支、米、吨) /// private string orderUnit = ""; /// /// 累计送判米 /// private decimal? actLen1 = null; /// /// 累计送判吨 /// private decimal? actWeight1 = null; /// /// 累计送判吨(长尺) /// private decimal? actWeightL = null; /// /// 累计送判吨(短尺) /// private decimal? actWeightS = null; /// /// 累计送判米(按计划入) /// private decimal? actLen2 = null; /// /// 累计送判吨(按计划入) /// private decimal? actWeight2 = null; /// /// 缴库量下限 /// private decimal? paydownWtMin = null; /// /// 缴库量上限 /// private decimal? paydownWtMax = null; /// /// 估算量(支、吨) /// private decimal? orderweight = null; /// /// 短尺缴库量上限 /// private decimal? orderWtMaxShort = null; /// /// 长尺缴库量上限 /// private decimal? orderWtMaxLong = null; /// /// 入库区分 /// private string inMold = ""; /// /// 预计可送判支 /// private decimal? kspz = null; /// /// 订货计量单位(支、米、吨) /// [Description("订货计量单位(支、米、吨)")] [Nullable(true)] [DataLength(20)] public string OrderUnit { get { return orderUnit; } set { orderUnit = value; } } /// /// 累计送判米 /// [Description("累计送判米")] [Nullable(true)] [DataLength(15)] public decimal? ActLen1 { get { return actLen1; } set { actLen1 = value; } } /// /// 累计送判吨 /// [Description("累计送判吨")] [Nullable(true)] [DataLength(12)] public decimal? ActWeight1 { get { return actWeight1; } set { actWeight1 = value; } } /// /// 累计送判吨(长尺) /// [Description("累计送判吨(长尺)")] [Nullable(true)] [DataLength(12)] public decimal? ActWeightL { get { return actWeightL; } set { actWeightL = value; } } /// /// 累计送判吨(短尺) /// [Description("累计送判吨(短尺)")] [Nullable(true)] [DataLength(12)] public decimal? ActWeightS { get { return actWeightS; } set { actWeightS = value; } } /// /// 累计送判米(按计划入) /// [Description("累计送判米(按计划入)")] [Nullable(true)] [DataLength(15)] public decimal? ActLen2 { get { return actLen2; } set { actLen2 = value; } } /// /// 累计送判吨(按计划入) /// [Description("累计送判吨(按计划入)")] [Nullable(true)] [DataLength(12)] public decimal? ActWeight2 { get { return actWeight2; } set { actWeight2 = value; } } /// /// 缴库量下限 /// [Description("缴库量下限")] [Nullable(true)] [DataLength(10)] public decimal? PaydownWtMin { get { return paydownWtMin; } set { paydownWtMin = value; } } /// /// 缴库量上限 /// [Description("缴库量上限")] [Nullable(true)] [DataLength(10)] public decimal? PaydownWtMax { get { return paydownWtMax; } set { paydownWtMax = value; } } /// /// 估算量(支、吨) /// [Description("估算量(支、吨)")] [Nullable(true)] [DataLength(16)] public decimal? Orderweight { get { return orderweight; } set { orderweight = value; } } /// /// 短尺缴库量上限 /// [Description("短尺缴库量上限")] [Nullable(true)] [DataLength(10)] public decimal? OrderWtMaxShort { get { return orderWtMaxShort; } set { orderWtMaxShort = value; } } /// /// 长尺缴库量上限 /// [Description("长尺缴库量上限")] [Nullable(true)] [DataLength(10)] public decimal? OrderWtMaxLong { get { return orderWtMaxLong; } set { orderWtMaxLong = value; } } /// /// 入库区分 /// [Description("入库区分")] [Nullable(true)] [DataLength(20)] public string InMold { get { return inMold; } set { inMold = value; } } /// /// 预计可送判支 /// [Description("预计可送判支")] [Nullable(true)] [DataLength(20)] public decimal? Kspz { get { return kspz; } set { kspz = value; } } /// /// 拆分支数 /// private decimal? cfz = null; /// /// 拆分支 /// [Description("拆分支")] [Nullable(true)] [DataLength(20)] public decimal? Cfz { get { return cfz; } set { cfz = value; } } /// /// 长度类型 /// private string lengthType = ""; /// /// 长度类型 /// [Description("长度类型")] [Nullable(true)] [DataLength(10)] public string LengthType { get { return lengthType; } set { if (value == "1") lengthType = "长尺"; else if (value == "2") lengthType = "短尺"; else if (value == "0") lengthType = "正尺"; else lengthType = value; } } } }