| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368 |
- 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 com.steering.mes.mcp.entity;
- using Core.Mes.Client.Comm.Attribute;
- namespace Core.StlMes.Client.Mcp.Control.Entity
- {
- /// <summary>
- /// 数据库表MCH_REMANENCE_RESULT所对应的实体类(生成工具:代码生成工具3.0)
- /// 作者:朱少波 时间:2021-04-19
- /// </summary>
- [Serializable]
- public class MchRemanenceResultEntity
- {
- /// <summary>
- /// 实绩编号(机组+工序点代码+年月日+6位流水)
- /// </summary>
- private string resultNo = "";
- /// <summary>
- /// 炉计划ID
- /// </summary>
- private string heatPlanNo = "";
- /// <summary>
- /// 批号
- /// </summary>
- private string batchNo = "";
- /// <summary>
- /// 产线代码
- /// </summary>
- private string plineCode = "";
- /// <summary>
- /// 产线描述
- /// </summary>
- private string plineName = "";
- /// <summary>
- /// 操作人
- /// </summary>
- private string proUser = "";
- /// <summary>
- /// 作业支数
- /// </summary>
- private decimal? proNum = null;
- /// <summary>
- /// 作业重量
- /// </summary>
- private decimal? proWt = null;
- /// <summary>
- /// 生产(年月日)
- /// </summary>
- private string proYearMonthDay = "";
- /// <summary>
- /// 结算日期(年月)
- /// </summary>
- private string balYearMonth = "";
- /// <summary>
- /// 操作班次
- /// </summary>
- private string proShift = "";
- /// <summary>
- /// 操作班组
- /// </summary>
- private string proGroup = "";
- /// <summary>
- /// 创建时间
- /// </summary>
- private string createTime = "";
- /// <summary>
- /// 操作时间
- /// </summary>
- private string proTime = "";
- /// <summary>
- /// 判定炉号
- /// </summary>
- private string judgeStoveNo = "";
- /// <summary>
- /// 备注
- /// </summary>
- private string memo = "";
- /// <summary>
- /// 责任人
- /// </summary>
- private string responsible = "";
- /// <summary>
- /// 报告地址
- /// </summary>
- private string reportPath = "";
- /// <summary>
- /// 检测记录
- /// </summary>
- private decimal? testRecord = null;
- /// <summary>
- /// 单点最大(GS)
- /// </summary>
- private decimal? pointMax = null;
- /// <summary>
- /// 平均最大(GS)
- /// </summary>
- private decimal? averageMax = null;
- /// <summary>
- /// 实绩编号(机组+工序点代码+年月日+6位流水)
- /// </summary>
- [Description("实绩编号")]
- [Nullable(false)]
- [DataLength(24)]
- public string ResultNo
- {
- get { return resultNo; }
- set { resultNo = value; }
- }
- /// <summary>
- /// 炉计划ID
- /// </summary>
- [Description("炉计划ID")]
- [Nullable(true)]
- [DataLength(20)]
- public string HeatPlanNo
- {
- get { return heatPlanNo; }
- set { heatPlanNo = value; }
- }
- /// <summary>
- /// 批号
- /// </summary>
- [Description("批号")]
- [Nullable(true)]
- [DataLength(20)]
- public string BatchNo
- {
- get { return batchNo; }
- set { batchNo = value; }
- }
- /// <summary>
- /// 产线代码
- /// </summary>
- [Description("产线代码")]
- [Nullable(true)]
- [DataLength(20)]
- public string PlineCode
- {
- get { return plineCode; }
- set { plineCode = value; }
- }
- /// <summary>
- /// 产线描述
- /// </summary>
- [Description("产线描述")]
- [Nullable(true)]
- [DataLength(100)]
- public string PlineName
- {
- get { return plineName; }
- set { plineName = value; }
- }
- /// <summary>
- /// 操作人
- /// </summary>
- [Description("操作人")]
- [Nullable(true)]
- [DataLength(20)]
- public string ProUser
- {
- get { return proUser; }
- set { proUser = value; }
- }
- /// <summary>
- /// 作业支数
- /// </summary>
- [Description("作业支数")]
- [Nullable(true)]
- [DataLength(6)]
- public decimal? ProNum
- {
- get { return proNum; }
- set { proNum = value; }
- }
- /// <summary>
- /// 作业重量
- /// </summary>
- [Description("作业重量")]
- [Nullable(true)]
- [DataLength(8)]
- public decimal? ProWt
- {
- get { return proWt; }
- set { proWt = value; }
- }
- /// <summary>
- /// 生产(年月日)
- /// </summary>
- [Description("生产(年月日)")]
- [Nullable(true)]
- [DataLength(8)]
- public string ProYearMonthDay
- {
- get { return proYearMonthDay; }
- set { proYearMonthDay = value; }
- }
- /// <summary>
- /// 结算日期(年月)
- /// </summary>
- [Description("结算日期(年月)")]
- [Nullable(true)]
- [DataLength(6)]
- public string BalYearMonth
- {
- get { return balYearMonth; }
- set { balYearMonth = value; }
- }
- /// <summary>
- /// 操作班次
- /// </summary>
- [Description("操作班次")]
- [Nullable(true)]
- [DataLength(1)]
- public string ProShift
- {
- get { return proShift; }
- set { proShift = value; }
- }
- /// <summary>
- /// 操作班组
- /// </summary>
- [Description("操作班组")]
- [Nullable(true)]
- [DataLength(1)]
- public string ProGroup
- {
- get { return proGroup; }
- set { proGroup = value; }
- }
- /// <summary>
- /// 创建时间
- /// </summary>
- [Description("创建时间")]
- [Nullable(true)]
- public string CreateTime
- {
- get { return createTime; }
- set { createTime = value; }
- }
- /// <summary>
- /// 操作时间
- /// </summary>
- [Description("操作时间")]
- [Nullable(true)]
- public string ProTime
- {
- get { return proTime; }
- set { proTime = value; }
- }
- /// <summary>
- /// 判定炉号
- /// </summary>
- [Description("判定炉号")]
- [Nullable(true)]
- [DataLength(20)]
- public string JudgeStoveNo
- {
- get { return judgeStoveNo; }
- set { judgeStoveNo = value; }
- }
- /// <summary>
- /// 备注
- /// </summary>
- [Description("备注")]
- [Nullable(true)]
- [DataLength(400)]
- public string Memo
- {
- get { return memo; }
- set { memo = value; }
- }
- /// <summary>
- /// 责任人
- /// </summary>
- [Description("责任人")]
- [Nullable(true)]
- [DataLength(20)]
- public string Responsible
- {
- get { return responsible; }
- set { responsible = value; }
- }
- /// <summary>
- /// 报告地址
- /// </summary>
- [Description("报告地址")]
- [Nullable(true)]
- [DataLength(200)]
- public string ReportPath
- {
- get { return reportPath; }
- set { reportPath = value; }
- }
- /// <summary>
- /// 检测记录
- /// </summary>
- [Description("检测记录")]
- [Nullable(true)]
- [DataLength(6)]
- public decimal? TestRecord
- {
- get { return testRecord; }
- set { testRecord = value; }
- }
- /// <summary>
- /// 单点最大(GS)
- /// </summary>
- [Description("单点最大(GS)")]
- [Nullable(true)]
- [DataLength(22)]
- public decimal? PointMax
- {
- get { return pointMax; }
- set { pointMax = value; }
- }
- /// <summary>
- /// 平均最大(GS)
- /// </summary>
- [Description("平均最大(GS)")]
- [Nullable(true)]
- [DataLength(22)]
- public decimal? AverageMax
- {
- get { return averageMax; }
- set { averageMax = value; }
- }
- public MchRemanenceResultEntity 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 MchRemanenceResultEntity;
- }
- }
- }
- }
|