| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- 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 Core.Mes.Client.Comm.Attribute;
- using Newtonsoft.Json;
- namespace Core.StlMes.Client.Mcp.Control.Entity
- {
- [Serializable]
- /// <summary>
- /// 数据库表MCH_TWISTINGLY_RESULT_D所对应的实体类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/)
- /// 作者:tgcx-test 时间:2018-11-19
- /// </summary>
- public class MchTwistinglyResultDEntity
- {
- [Description("选择")]
- public bool Chk { get; set; }
- /// <summary>
- /// 实绩编号
- /// </summary>
- private string resultNo = "";
- /// <summary>
- /// 序号
- /// </summary>
- private decimal? seq = null;
- /// <summary>
- /// 接箍炉号
- /// </summary>
- private string couplingStoveNo = "";
- /// <summary>
- /// 接箍批号
- /// </summary>
- private string lotNo = "";
- /// <summary>
- /// 接箍个数
- /// </summary>
- private decimal? couplingNum = null;
- /// <summary>
- /// 炉计划ID
- /// </summary>
- private string heatPlanNo = "";
- /// <summary>
- /// 产线代码
- /// </summary>
- private string plineCode = "";
- /// <summary>
- /// 产线描述
- /// </summary>
- private string plineName = "";
- /// <summary>
- /// 批号
- /// </summary>
- private string batchNo = "";
- /// <summary>
- /// 判定炉号
- /// </summary>
- private string judgeStoveNo = "";
- /// <summary>
- /// 交易单号
- /// </summary>
- [Description("接箍领用出库单号")]
- [Nullable(true)]
- [DataLength(40)]
- public string DealOrde
- {
- get { return dealOrde; }
- set { dealOrde = value; }
- }
- /// <summary>
- /// 工单号
- /// </summary>
- [Description("工单号")]
- [Nullable(true)]
- [DataLength(40)]
- public string WoId
- {
- get { return woId; }
- set { woId = value; }
- }
- /// <summary>
- /// 实绩编号
- /// </summary>
- [Description("实绩编号")]
- [JsonProperty("resultNo")]
- public string ResultNo
- {
- get { return resultNo; }
- set { resultNo = value; }
- }
- /// <summary>
- /// 序号
- /// </summary>
- [Description("序号")]
- [JsonProperty("seq")]
- public decimal? Seq
- {
- get { return seq; }
- set { seq = value; }
- }
- /// <summary>
- /// 接箍炉号
- /// </summary>
- [Description("接箍炉号")]
- [JsonProperty("couplingStoveNo")]
- public string CouplingStoveNo
- {
- get { return couplingStoveNo; }
- set { couplingStoveNo = value; }
- }
- /// <summary>
- /// 接箍批号
- /// </summary>
- [Description("接箍批号")]
- [JsonProperty("lotNo")]
- public string LotNo
- {
- get { return lotNo; }
- set { lotNo = value; }
- }
- /// <summary>
- /// 接箍个数
- /// </summary>
- [Description("接箍个数")]
- [JsonProperty("couplingNum")]
- public decimal? CouplingNum
- {
- get { return couplingNum; }
- set { couplingNum = value; }
- }
- /// <summary>
- /// 炉计划ID
- /// </summary>
- [Description("炉计划ID")]
- [JsonProperty("heatPlanNo")]
- public string HeatPlanNo
- {
- get { return heatPlanNo; }
- set { heatPlanNo = value; }
- }
- /// <summary>
- /// 产线代码
- /// </summary>
- [Description("产线代码")]
- [JsonProperty("plineCode")]
- public string PlineCode
- {
- get { return plineCode; }
- set { plineCode = value; }
- }
- /// <summary>
- /// 产线描述
- /// </summary>
- [Description("产线描述")]
- [JsonProperty("plineName")]
- public string PlineName
- {
- get { return plineName; }
- set { plineName = value; }
- }
- /// <summary>
- /// 批号
- /// </summary>
- [Description("批号")]
- [JsonProperty("batchNo")]
- public string BatchNo
- {
- get { return batchNo; }
- set { batchNo = value; }
- }
- /// <summary>
- /// 判定炉号
- /// </summary>
- [Description("判定炉号")]
- [JsonProperty("judgeStoveNo")]
- public string JudgeStoveNo
- {
- get { return judgeStoveNo; }
- set { judgeStoveNo = value; }
- }
- /// <summary>
- /// 接箍重量
- /// </summary>
- private decimal? couplingWt = null;
- /// <summary>
- /// 交易单号
- /// </summary>
- private string dealOrde = "";
- /// <summary>
- /// 工单号
- /// </summary>
- private string woId = "";
- /// <summary>
- /// 接箍废品个数
- /// </summary>
- private decimal? couplingFailNum = null;
- /// <summary>
- /// 接箍废品重量
- /// </summary>
- private decimal? couplingFailWt = null;
- /// <summary>
- /// 接箍重量
- /// </summary>
- [Description("接箍重量")]
- [Nullable(true)]
- [DataLength(8)]
- public decimal? CouplingWt
- {
- get { return couplingWt; }
- set { couplingWt = value; }
- }
- /// <summary>
- /// 接箍废品个数
- /// </summary>
- [Description("接箍废品个数")]
- [Nullable(true)]
- [DataLength(6)]
- public decimal? CouplingFailNum
- {
- get { return couplingFailNum; }
- set { couplingFailNum = value; }
- }
- /// <summary>
- /// 接箍废品重量
- /// </summary>
- [Description("接箍废品重量")]
- [Nullable(true)]
- [DataLength(6)]
- public decimal? CouplingFailWt
- {
- get { return couplingFailWt; }
- set { couplingFailWt = value; }
- }
- public MchTwistinglyResultDEntity 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 MchTwistinglyResultDEntity;
- }
- }
- }
- }
|