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 com.steering.mes.mcp.entity
{
///
/// 数据库表HTT_LHEAT_RESULT所对应的实体类(生成工具:代码生成工具3.0)
/// 作者:lenovo-PC 时间:2018-06-05
///
[Serializable]
public class HttLheatResultEntity
{
///
/// 实绩编号(机组+工序点代码+年月日+6位流水)
///
private string resultNo = "";
///
/// 炉计划ID
///
private string heatPlanNo = "";
///
/// 热处理生产批次号
///
private string zyBatchId = "";
///
/// 热处理生产批次号序号
///
private string prodIndex = "";
///
/// 热处理订单编号
///
private string proPlanId = "";
///
/// 热处理订单排产序号
///
private string gxPlanNo = "";
///
/// 产线代码
///
private string plineCode = "";
///
/// 产线描述
///
private string plineName = "";
///
/// 装炉时间
///
private string lheatEnterTime = "";
///
/// 出炉时间
///
private string lheatOutTime = "";
///
/// 出口温度
///
private decimal? lheatExitTemp = null;
///
/// 节拍
///
private decimal? lheatTaktTime = null;
///
/// 均热一区炉温曲线(路径)
///
private string lheatCruve1 = "";
///
/// 均热二区炉温曲线(路径)
///
private string lheatCruve2 = "";
///
/// 均热三区炉温曲线(路径)
///
private string lheatCruve3 = "";
///
/// 加热一区炉温曲线(路径)
///
private string lheatCruve4 = "";
///
/// 加热二区炉温曲线(路径)
///
private string lheatCruve5 = "";
///
/// 加热三区炉温曲线(路径)
///
private string lheatCruve6 = "";
///
/// 加热四区炉温曲线(路径)
///
private string lheatCruve7 = "";
///
/// 加热五区炉温曲线(路径)
///
private string lheatCruve8 = "";
///
/// 加热六区炉温曲线(路径)
///
private string lheatCruve9 = "";
///
/// 均热一区平均温度
///
private decimal? lheatAvgTemp1 = null;
///
/// 均热二区平均温度
///
private decimal? lheatAvgTemp2 = null;
///
/// 均热三区平均温度
///
private decimal? lheatAvgTemp3 = null;
///
/// 加热一区平均温度
///
private decimal? lheatAvgTemp4 = null;
///
/// 加热二区平均温度
///
private decimal? lheatAvgTemp5 = null;
///
/// 加热三区平均温度
///
private decimal? lheatAvgTemp6 = null;
///
/// 加热四区平均温度
///
private decimal? lheatAvgTemp7 = null;
///
/// 加热五区平均温度
///
private decimal? lheatAvgTemp8 = null;
///
/// 加热六区平均温度
///
private decimal? lheatAvgTemp9 = null;
///
/// 作业支数(有效生产数量)
///
private decimal? proNum = null;
///
/// 作业重量
///
private decimal? proWt = null;
///
/// 废品支数
///
private decimal? failNum = null;
///
/// 废品重量
///
private decimal? failWt = null;
///
/// 离线支数
///
private decimal? offlineNum = null;
///
/// 离线重量
///
private decimal? offlineWt = null;
///
/// 返线支数
///
private decimal? reNum = null;
///
/// 返线重量
///
private decimal? reWt = null;
///
/// 监制人
///
private string producer = "";
///
/// 到场时间
///
private string producerTime = "";
///
/// 采集方式(0-接口采集,1-人工录入)
///
private string colMode = "";
///
/// 采集/录入时间
///
private string colTime = "";
///
/// 操作人
///
private string colUser = "";
///
/// 操作班次
///
private string colShift = "";
///
/// 操作班组
///
private string colGroup = "";
///
/// 操作时间
///
private string createTime = "";
///
/// 修改时间
///
private string updateTime = "";
///
/// 修改人
///
private string updateName = "";
///
/// 生产(年月日)
///
private string proYearMonthDay = "";
///
/// 结算日期(年月)
///
private string balYearMonth = "";
///
/// 热处理次数
///
private decimal? processSeq = null;
///
/// 实绩编号(机组+工序点代码+年月日+6位流水)
///
[Description("实绩编号")]
[Nullable(false)]
[DataLength(24)]
public string ResultNo
{
get { return resultNo; }
set { resultNo = value; }
}
///
/// 炉计划ID
///
[Description("炉计划ID")]
[Nullable(true)]
[DataLength(20)]
public string HeatPlanNo
{
get { return heatPlanNo; }
set { heatPlanNo = value; }
}
///
/// 热处理生产批次号
///
[Description("热处理生产批次号")]
[Nullable(true)]
[DataLength(20)]
public string ZyBatchId
{
get { return zyBatchId; }
set { zyBatchId = value; }
}
///
/// 热处理生产批次号序号
///
[Description("热处理生产批次号序号")]
[Nullable(true)]
[DataLength(20)]
public string ProdIndex
{
get { return prodIndex; }
set { prodIndex = value; }
}
///
/// 热处理订单编号
///
[Description("热处理订单编号")]
[Nullable(true)]
[DataLength(20)]
public string ProPlanId
{
get { return proPlanId; }
set { proPlanId = value; }
}
///
/// 热处理订单排产序号
///
[Description("热处理订单排产序号")]
[Nullable(true)]
[DataLength(10)]
public string GxPlanNo
{
get { return gxPlanNo; }
set { gxPlanNo = value; }
}
///
/// 产线代码
///
[Description("产线代码")]
[Nullable(true)]
[DataLength(20)]
public string PlineCode
{
get { return plineCode; }
set { plineCode = value; }
}
///
/// 产线描述
///
[Description("产线描述")]
[Nullable(true)]
[DataLength(40)]
public string PlineName
{
get { return plineName; }
set { plineName = value; }
}
///
/// 装炉时间
///
[Description("开始时间")]
[Nullable(true)]
public string LheatEnterTime
{
get { return lheatEnterTime; }
set { lheatEnterTime = value; }
}
///
/// 出炉时间
///
[Description("结束时间")]
[Nullable(true)]
public string LheatOutTime
{
get { return lheatOutTime; }
set { lheatOutTime = value; }
}
///
/// 出口温度
///
[Description("出口温度")]
[Nullable(true)]
[DataLength(6)]
public decimal? LheatExitTemp
{
get { return lheatExitTemp; }
set { lheatExitTemp = value; }
}
///
/// 节拍
///
[Description("节拍")]
[Nullable(true)]
[DataLength(6)]
public decimal? LheatTaktTime
{
get { return lheatTaktTime; }
set { lheatTaktTime = value; }
}
///
/// 均热一区炉温曲线(路径)
///
[Description("均热一区炉温曲线(路径)")]
[Nullable(true)]
[DataLength(40)]
public string LheatCruve1
{
get { return lheatCruve1; }
set { lheatCruve1 = value; }
}
///
/// 均热二区炉温曲线(路径)
///
[Description("均热二区炉温曲线(路径)")]
[Nullable(true)]
[DataLength(40)]
public string LheatCruve2
{
get { return lheatCruve2; }
set { lheatCruve2 = value; }
}
///
/// 均热三区炉温曲线(路径)
///
[Description("均热三区炉温曲线(路径)")]
[Nullable(true)]
[DataLength(40)]
public string LheatCruve3
{
get { return lheatCruve3; }
set { lheatCruve3 = value; }
}
///
/// 加热一区炉温曲线(路径)
///
[Description("加热一区炉温曲线(路径)")]
[Nullable(true)]
[DataLength(40)]
public string LheatCruve4
{
get { return lheatCruve4; }
set { lheatCruve4 = value; }
}
///
/// 加热二区炉温曲线(路径)
///
[Description("加热二区炉温曲线(路径)")]
[Nullable(true)]
[DataLength(40)]
public string LheatCruve5
{
get { return lheatCruve5; }
set { lheatCruve5 = value; }
}
///
/// 加热三区炉温曲线(路径)
///
[Description("加热三区炉温曲线(路径)")]
[Nullable(true)]
[DataLength(40)]
public string LheatCruve6
{
get { return lheatCruve6; }
set { lheatCruve6 = value; }
}
///
/// 加热四区炉温曲线(路径)
///
[Description("加热四区炉温曲线(路径)")]
[Nullable(true)]
[DataLength(40)]
public string LheatCruve7
{
get { return lheatCruve7; }
set { lheatCruve7 = value; }
}
///
/// 加热五区炉温曲线(路径)
///
[Description("加热五区炉温曲线(路径)")]
[Nullable(true)]
[DataLength(40)]
public string LheatCruve8
{
get { return lheatCruve8; }
set { lheatCruve8 = value; }
}
///
/// 加热六区炉温曲线(路径)
///
[Description("加热六区炉温曲线(路径)")]
[Nullable(true)]
[DataLength(40)]
public string LheatCruve9
{
get { return lheatCruve9; }
set { lheatCruve9 = value; }
}
///
/// 均热一区平均温度
///
[Description("均热一区平均温度")]
[Nullable(true)]
[DataLength(6)]
public decimal? LheatAvgTemp1
{
get { return lheatAvgTemp1; }
set { lheatAvgTemp1 = value; }
}
///
/// 均热二区平均温度
///
[Description("均热二区平均温度")]
[Nullable(true)]
[DataLength(6)]
public decimal? LheatAvgTemp2
{
get { return lheatAvgTemp2; }
set { lheatAvgTemp2 = value; }
}
///
/// 均热三区平均温度
///
[Description("均热三区平均温度")]
[Nullable(true)]
[DataLength(6)]
public decimal? LheatAvgTemp3
{
get { return lheatAvgTemp3; }
set { lheatAvgTemp3 = value; }
}
///
/// 加热一区平均温度
///
[Description("加热一区平均温度")]
[Nullable(true)]
[DataLength(6)]
public decimal? LheatAvgTemp4
{
get { return lheatAvgTemp4; }
set { lheatAvgTemp4 = value; }
}
///
/// 加热二区平均温度
///
[Description("加热二区平均温度")]
[Nullable(true)]
[DataLength(6)]
public decimal? LheatAvgTemp5
{
get { return lheatAvgTemp5; }
set { lheatAvgTemp5 = value; }
}
///
/// 加热三区平均温度
///
[Description("加热三区平均温度")]
[Nullable(true)]
[DataLength(6)]
public decimal? LheatAvgTemp6
{
get { return lheatAvgTemp6; }
set { lheatAvgTemp6 = value; }
}
///
/// 加热四区平均温度
///
[Description("加热四区平均温度")]
[Nullable(true)]
[DataLength(6)]
public decimal? LheatAvgTemp7
{
get { return lheatAvgTemp7; }
set { lheatAvgTemp7 = value; }
}
///
/// 加热五区平均温度
///
[Description("加热五区平均温度")]
[Nullable(true)]
[DataLength(6)]
public decimal? LheatAvgTemp8
{
get { return lheatAvgTemp8; }
set { lheatAvgTemp8 = value; }
}
///
/// 加热六区平均温度
///
[Description("加热六区平均温度")]
[Nullable(true)]
[DataLength(6)]
public decimal? LheatAvgTemp9
{
get { return lheatAvgTemp9; }
set { lheatAvgTemp9 = value; }
}
///
/// 作业支数(有效生产数量)
///
[Description("作业支数")]
[Nullable(true)]
[DataLength(6)]
public decimal? ProNum
{
get { return proNum; }
set { proNum = value; }
}
///
/// 作业重量
///
[Description("作业重量")]
[Nullable(true)]
[DataLength(8)]
public decimal? ProWt
{
get { return proWt; }
set { proWt = value; }
}
///
/// 废品支数
///
[Description("废品支数")]
[Nullable(true)]
[DataLength(6)]
public decimal? FailNum
{
get { return failNum; }
set { failNum = value; }
}
///
/// 废品重量
///
[Description("废品重量")]
[Nullable(true)]
[DataLength(8)]
public decimal? FailWt
{
get { return failWt; }
set { failWt = value; }
}
///
/// 离线支数
///
[Description("离线支数")]
[Nullable(true)]
[DataLength(6)]
public decimal? OfflineNum
{
get { return offlineNum; }
set { offlineNum = value; }
}
///
/// 离线重量
///
[Description("离线重量")]
[Nullable(true)]
[DataLength(8)]
public decimal? OfflineWt
{
get { return offlineWt; }
set { offlineWt = value; }
}
///
/// 返线支数
///
[Description("返线支数")]
[Nullable(true)]
[DataLength(6)]
public decimal? ReNum
{
get { return reNum; }
set { reNum = value; }
}
///
/// 返线重量
///
[Description("返线重量")]
[Nullable(true)]
[DataLength(8)]
public decimal? ReWt
{
get { return reWt; }
set { reWt = value; }
}
///
/// 监制人
///
[Description("监制人")]
[Nullable(true)]
[DataLength(20)]
public string Producer
{
get { return producer; }
set { producer = value; }
}
///
/// 到场时间
///
[Description("到场时间")]
[Nullable(true)]
public string ProducerTime
{
get { return producerTime; }
set { producerTime = value; }
}
///
/// 采集方式(0-接口采集,1-人工录入)
///
[Description("采集方式(0-接口采集,1-人工录入)")]
[Nullable(true)]
[DataLength(1)]
public string ColMode
{
get { return colMode; }
set { colMode = value; }
}
///
/// 采集/录入时间
///
[Description("操作时间")]
[Nullable(true)]
public string ColTime
{
get { return colTime; }
set { colTime = value; }
}
///
/// 操作人
///
[Description("操作人")]
[Nullable(true)]
[DataLength(20)]
public string ColUser
{
get { return colUser; }
set { colUser = value; }
}
///
/// 操作班次
///
[Description("操作班次")]
[Nullable(true)]
[DataLength(1)]
public string ColShift
{
get { return colShift; }
set { colShift = value; }
}
///
/// 操作班组
///
[Description("操作班组")]
[Nullable(true)]
[DataLength(1)]
public string ColGroup
{
get { return colGroup; }
set { colGroup = value; }
}
///
/// 操作时间
///
[Description("操作时间")]
[Nullable(true)]
public string CreateTime
{
get { return createTime; }
set { createTime = value; }
}
///
/// 修改时间
///
[Description("修改时间")]
[Nullable(true)]
public string UpdateTime
{
get { return updateTime; }
set { updateTime = value; }
}
///
/// 修改人
///
[Description("修改人")]
[Nullable(true)]
[DataLength(20)]
public string UpdateName
{
get { return updateName; }
set { updateName = value; }
}
///
/// 生产(年月日)
///
[Description("生产(年月日)")]
[Nullable(true)]
[DataLength(8)]
public string ProYearMonthDay
{
get { return proYearMonthDay; }
set { proYearMonthDay = value; }
}
///
/// 结算日期(年月)
///
[Description("结算日期(年月)")]
[Nullable(true)]
[DataLength(6)]
public string BalYearMonth
{
get { return balYearMonth; }
set { balYearMonth = value; }
}
///
/// 热处理次数
///
[Description("循环次数")]
[Nullable(true)]
[DataLength(22)]
public decimal? ProcessSeq
{
get { return processSeq; }
set { processSeq = value; }
}
///
/// 炉内总时间(分钟)
///
private decimal? totalTime = null;
///
/// 最低回火温度
///
private decimal? lowTemp = null;
///
/// 炉内总时间(分钟)
///
[Description("保温时间(分钟)")]
[Nullable(true)]
[DataLength(22)]
public decimal? TotalTime
{
get { return totalTime; }
set { totalTime = value; }
}
///
/// 最低回火温度
///
[Description("最低回火温度")]
[Nullable(true)]
[DataLength(22)]
public decimal? LowTemp
{
get { return lowTemp; }
set { lowTemp = value; }
}
private string coolingType = "";
///
/// 生产(年月日)
///
[Description("冷却方式")]
[Nullable(true)]
[DataLength(8)]
public string CoolingType
{
get { return coolingType; }
set { coolingType = value; }
}
///
/// 热处理工艺制度
///
private string httTechnology = "";
///
/// 热处理工艺制度
///
[Description("热处理工艺制度")]
[Nullable(true)]
[DataLength(50)]
public string HttTechnology
{
get { return httTechnology; }
set { httTechnology = value; }
}
private string httType = "";
///
/// 生产(年月日)
///
[Description("热处理方式")]
[Nullable(true)]
[DataLength(8)]
public string HttType
{
get { return httType; }
set { httType = value; }
}
public HttLheatResultEntity 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 HttLheatResultEntity;
}
}
}
}