| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- using Core.Mes.Client.Comm.Attribute;
- 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;
- namespace Core.StlMes.Client.PlnSaleOrd.炼钢计划.entity
- {
- /// <summary>
- /// 数据库表CRAFT_LG2_TEMPERATURE所对应的实体类(生成工具:代码生成工具3.0)
- /// 作者:PC-20160925CXYF 时间:2017-08-21
- /// </summary>
- [Serializable]
- public class CraftLg2TemperatureEntity
- {
- /// <summary>
- /// 温度工艺ID(TEP+工艺卡号+6位流水)
- /// </summary>
- private string tepGid = "";
-
- /// <summary>
- /// 工序点(EAF,LF,VD,RH,CCM) CCM=液相线温度
- /// </summary>
- private string stationCode = "";
- /// <summary>
- /// 连浇1 温度(下限值)
- /// </summary>
- private string tepVal1Min = "";
- /// <summary>
- /// 连浇1 温度(上限值)
- /// </summary>
- private string tepVal1Max = "";
- /// <summary>
- /// 连浇2 温度(下限值)
- /// </summary>
- private string tepVal2Min = "";
- /// <summary>
- /// 连浇2 温度(上限值)
- /// </summary>
- private string tepVal2Max = "";
- /// <summary>
- /// 目标温度(对应只有一个单一值的存储,CCM=液相线温度)
- /// </summary>
- private string tepVal = "";
- /// <summary>
- /// 温度工艺ID(TEP+工艺卡号+6位流水)
- /// </summary>
- [Description("温度工艺ID")]
- [Nullable(true)]
- [DataLength(16)]
- public string TepGid
- {
- get { return tepGid; }
- set { tepGid = value; }
- }
- /// <summary>
- /// 工序点(EAF,LF,VD,RH,CCM) CCM=液相线温度
- /// </summary>
- [Description("工序点")]
- [Nullable(true)]
- [DataLength(5)]
- public string StationCode
- {
- get { return stationCode; }
- set { stationCode = value; }
- }
- /// <summary>
- /// 连浇1 温度(下限值)
- /// </summary>
- [Description("温度1下限值")]
- [Nullable(true)]
- [DataLength(8)]
- public string TepVal1Min
- {
- get { return tepVal1Min; }
- set { tepVal1Min = value; }
- }
- /// <summary>
- /// 连浇1 温度(上限值)
- /// </summary>
- [Description("温度1上限值")]
- [Nullable(true)]
- [DataLength(8)]
- public string TepVal1Max
- {
- get { return tepVal1Max; }
- set { tepVal1Max = value; }
- }
- /// <summary>
- /// 连浇2 温度(下限值)
- /// </summary>
- [Description("温度2下限值")]
- [Nullable(true)]
- [DataLength(8)]
- public string TepVal2Min
- {
- get { return tepVal2Min; }
- set { tepVal2Min = value; }
- }
- /// <summary>
- /// 连浇2 温度(上限值)
- /// </summary>
- [Description("温度2上限值")]
- [Nullable(true)]
- [DataLength(8)]
- public string TepVal2Max
- {
- get { return tepVal2Max; }
- set { tepVal2Max = value; }
- }
- /// <summary>
- /// 目标温度(对应只有一个单一值的存储,CCM=液相线温度)
- /// </summary>
- [Description("目标温度")]
- [Nullable(true)]
- [DataLength(8)]
- public string TepVal
- {
- get { return tepVal; }
- set { tepVal = value; }
- }
- /// <summary>
- /// 序号
- /// </summary>
- private string xh = "";
- [Description("序号")]
- public string Xh
- {
- get { return xh; }
- set { xh = value; }
- }
- public CraftLg2TemperatureEntity Clone()
- {
- using (MemoryStream ms = new MemoryStream(1000))
- {
- object CloneObject;
- BinaryFormatter bf = new BinaryFormatter(null, new StreamingContext(StreamingContextStates.Clone));
- bf.Serialize(ms, this);
- ms.Seek(0, SeekOrigin.Begin);
- // 反序列化至另一个对象(即创建了一个原对象的深表副本)
- CloneObject = bf.Deserialize(ms);
- // 关闭流
- ms.Close();
- return CloneObject as CraftLg2TemperatureEntity;
- }
- }
- }
- }
|