using System.ComponentModel;
using Core.Mes.Client.Comm.Attribute;
namespace Core.StlMes.Client.PlnSaleOrd.炼钢计划.entity
{
///
/// 数据库表PLN_STEELFORFURNACE所对应的实体类(生成工具:代码生成工具3.0)
/// 作者:zhou 时间:2017-08-08
///
public class PlnSteelforfurnaceNewEntity
{
///
/// 虚拟炉次号(ID)
///
private string furnaceno = "";
///
/// 炉次顺序号(不同电炉产线顺序独立连续)
///
private long? furnacenoSeq;
///
/// 浇次号
///
private string castNo = "";
///
/// 浇次顺序号(不同铸机顺序独立连续)
///
private long? castSeq;
///
/// 浇次内炉顺序号(单一浇)
///
private long? castStoveSeq;
///
/// 冶炼炉号(电炉号)
///
private string stoveNo = "";
///
/// 冶炼类型:00=正常,10=重炼,20=补炉,30=转交
///
private string bofType = "";
///
/// 生产状态(00=编制中,10=已下发,20=生产中,30=已生产,40=关闭)
///
private string status = "";
///
/// 工序点执行状态( 00= 初始状态 10=转炉/电炉执行 20=LF精炼执行 30= RH炉执行 40= VD炉执行 50=连铸执行 )
///
private string heatState = "";
///
/// 铸造类型(1连铸2模铸)
///
private string castingtype = "";
///
/// 电炉产线编码
///
private string efPlineCode = "";
///
/// 电炉产线描述
///
private string efPlineName = "";
///
/// 炉龄(对应电炉产线已排产到第几炉)
///
private decimal? efAge = null;
///
/// 铸造产线编码
///
private string plineCode = "";
///
/// 铸造产线描述
///
private string plineName = "";
///
/// 连铸机号
///
private string ccmid = "";
///
/// 投入物料编码
///
private string wlidIn = "";
///
/// 投入物料描述
///
private string wldescIn = "";
///
/// 产出物料编码
///
private string materialNo = "";
///
/// 产出物料描述
///
private string materialName = "";
///
/// 钢种代码
///
private string gradecode = "";
///
/// 钢种名称
///
private string gradename = "";
///
/// 成分标准索引号(内控)
///
private string cic = "";
///
/// 计划开始时刻
///
private string plnStarttime = "";
///
/// 计划结束时刻
///
private string plnEndtime = "";
///
/// 目标出钢量
///
private decimal? aimSteelQty = null;
///
/// 支数
///
private decimal? quantity = null;
///
/// 重量
///
private decimal? weight = null;
///
/// 支数
///
private decimal? quantitysum = null;
///
/// 重量
///
private decimal? weightsum = null;
///
/// 原虚拟炉次号(补炉重炼)
///
private string oldFurnaceno = "";
///
/// 原冶炼炉号(原电炉号)
///
private string oldStoveNo = "";
///
/// 计划作业路线
///
private string planRoute = "";
///
/// 实绩作业路线
///
private string factRoute = "";
///
/// 开始时刻
///
private string starttime = "";
///
/// 结束时刻
///
private string endtime = "";
///
/// 冶炼开始时刻
///
private string bofStarttime = "";
///
/// 冶炼结束时刻
///
private string bofEndtime = "";
///
/// CAS开始时刻(备用)
///
private string casStarttime = "";
///
/// CAS结束时刻(备用)
///
private string casEndtime = "";
///
/// VD开始时刻
///
private string vdStarttime = "";
///
/// VD结束时刻
///
private string vdEndtime = "";
///
/// RH开始时刻
///
private string rhStarttime = "";
///
/// RH结束时刻
///
private string rhEndtime = "";
///
/// LF开始时刻
///
private string lfsStarttime = "";
///
/// LF结束时刻
///
private string lfsEndtime = "";
///
/// 浇铸(模铸)开始时刻
///
private string ccmStarttime = "";
///
/// 浇铸(模铸)结束时刻
///
private string ccmEndtime = "";
///
/// 是否有余材
///
private string surplusflag = "";
///
/// 是否炼钢监制
///
private string ifMonitorLg = "";
///
/// 监制编号
///
private string prdcrNo = "";
///
/// 成分判定记录ID(炼钢成分判定完成后回写)
///
private string chemJudgeId = "";
///
/// 炉计划备注(用于传送信息到炼钢)
///
private string planremark = "";
///
/// 备注
///
private string remark = "";
///
/// 制定人
///
private string makeman = "";
///
/// 制定时间
///
private string maketime = "";
///
/// 下发人
///
private string downman = "";
///
/// 下发时间
///
private string downtime = "";
///
/// 关闭计划人
///
private string closeman = "";
///
/// 关闭计划时间
///
private string closetime = "";
///
/// 监制提前信息
///
private string prdcrDayManPhone = "";
///
/// 虚拟炉次号(ID)
///
[Description("虚拟炉次号")]
[Nullable(false)]
[DataLength(20)]
public string Furnaceno
{
get { return furnaceno; }
set { furnaceno = value; }
}
///
/// 炉次顺序号(不同电炉产线顺序独立连续)
///
[Description("炉次顺序号")]
[Nullable(true)]
[DataLength(20)]
public long? FurnacenoSeq
{
get { return furnacenoSeq; }
set { furnacenoSeq = value; }
}
///
/// 浇次号
///
[Description("浇次号")]
[Nullable(true)]
[DataLength(20)]
public string CastNo
{
get { return castNo; }
set { castNo = value; }
}
///
/// 浇次顺序号(不同铸机顺序独立连续)
///
[Description("浇次顺序号")]
[Nullable(true)]
[DataLength(20)]
public long? CastSeq
{
get { return castSeq; }
set { castSeq = value; }
}
///
/// 浇次内炉顺序号(单一浇)
///
[Description("浇次内炉顺序号")]
[Nullable(true)]
[DataLength(20)]
public long? CastStoveSeq
{
get { return castStoveSeq; }
set { castStoveSeq = value; }
}
///
/// 冶炼炉号(电炉号)
///
[Description("冶炼炉号")]
[Nullable(true)]
[DataLength(20)]
public string StoveNo
{
get { return stoveNo; }
set { stoveNo = value; }
}
///
/// 冶炼类型:00=正常,10=重炼,20=补炉,30=转交
///
[Description("冶炼类型")]
[Nullable(true)]
[DataLength(2)]
public string BofType
{
get { return bofType; }
set { bofType = value; }
}
///
/// 生产状态(00=编制中,10=已下发,20=生产中,30=已生产,40=关闭)
///
[Description("生产状态")]
[Nullable(true)]
[DataLength(2)]
public string Status
{
get { return status; }
set { status = value; }
}
///
/// 工序点执行状态( 00= 初始状态 10=转炉/电炉执行 20=LF精炼执行 30= RH炉执行 40= VD炉执行 50=连铸执行 )
///
[Description("工序点执行状态")]
[Nullable(true)]
[DataLength(2)]
public string HeatState
{
get { return heatState; }
set { heatState = value; }
}
///
/// 铸造类型(1连铸2模铸)
///
[Description("铸造类型(1连铸2模铸)")]
[Nullable(true)]
[DataLength(20)]
public string Castingtype
{
get { return castingtype; }
set { castingtype = value; }
}
///
/// 电炉产线编码
///
[Description("电炉产线编码")]
[Nullable(true)]
[DataLength(20)]
public string EfPlineCode
{
get { return efPlineCode; }
set { efPlineCode = value; }
}
///
/// 电炉产线描述
///
[Description("电炉产线描述")]
[Nullable(true)]
[DataLength(100)]
public string EfPlineName
{
get { return efPlineName; }
set { efPlineName = value; }
}
///
/// 炉龄(对应电炉产线已排产到第几炉)
///
[Description("炉龄")]
[Nullable(true)]
[DataLength(6)]
public decimal? EfAge
{
get { return efAge; }
set { efAge = value; }
}
///
/// 铸造产线编码
///
[Description("铸造产线编码")]
[Nullable(true)]
[DataLength(20)]
public string PlineCode
{
get { return plineCode; }
set { plineCode = value; }
}
///
/// 铸造产线描述
///
[Description("铸造产线描述")]
[Nullable(true)]
[DataLength(50)]
public string PlineName
{
get { return plineName; }
set { plineName = value; }
}
///
/// 连铸机号
///
[Description("连铸机号")]
[Nullable(true)]
[DataLength(20)]
public string Ccmid
{
get { return ccmid; }
set { ccmid = value; }
}
///
/// 投入物料编码
///
[Description("投入物料编码")]
[Nullable(true)]
[DataLength(20)]
public string WlidIn
{
get { return wlidIn; }
set { wlidIn = value; }
}
///
/// 投入物料描述
///
[Description("投入物料描述")]
[Nullable(true)]
[DataLength(40)]
public string WldescIn
{
get { return wldescIn; }
set { wldescIn = value; }
}
///
/// 产出物料编码
///
[Description("产出物料编码")]
[Nullable(true)]
[DataLength(40)]
public string MaterialNo
{
get { return materialNo; }
set { materialNo = value; }
}
///
/// 产出物料描述
///
[Description("产出物料描述")]
[Nullable(true)]
[DataLength(100)]
public string MaterialName
{
get { return materialName; }
set { materialName = value; }
}
///
/// 钢种代码
///
[Description("钢种代码")]
[Nullable(true)]
[DataLength(10)]
public string Gradecode
{
get { return gradecode; }
set { gradecode = value; }
}
///
/// 钢种名称
///
[Description("钢种名称")]
[Nullable(true)]
[DataLength(100)]
public string Gradename
{
get { return gradename; }
set { gradename = value; }
}
///
/// 成分标准索引号(内控)
///
[Description("成分标准索引号(内控)")]
[Nullable(true)]
[DataLength(50)]
public string Cic
{
get { return cic; }
set { cic = value; }
}
///
/// 计划开始时刻
///
[Description("计划开始时刻")]
[Nullable(true)]
public string PlnStarttime
{
get { return plnStarttime; }
set { plnStarttime = value; }
}
///
/// 计划结束时刻
///
[Description("计划结束时刻")]
[Nullable(true)]
public string PlnEndtime
{
get { return plnEndtime; }
set { plnEndtime = value; }
}
///
/// 目标出钢量
///
[Description("目标出钢量")]
[Nullable(true)]
[DataLength(10)]
public decimal? AimSteelQty
{
get { return aimSteelQty; }
set { aimSteelQty = value; }
}
///
/// 支数
///
[Description("炉次计划支")]
[Nullable(true)]
[DataLength(10)]
public decimal? Quantity
{
get { return quantity; }
set { quantity = value; }
}
///
/// 重量
///
[Description("炉次计划量")]
[Nullable(true)]
[DataLength(10)]
public decimal? Weight
{
get { return weight; }
set { weight = value; }
}
///
/// 支数
///
[Description("订单支")]
[Nullable(true)]
[DataLength(10)]
public decimal? Quantitysum
{
get { return quantitysum; }
set { quantitysum = value; }
}
///
/// 重量
///
[Description("冶炼量")]
[Nullable(true)]
[DataLength(10)]
public decimal? Weightsum
{
get { return weightsum; }
set { weightsum = value; }
}
///
/// 余量
///
[Description("余量")]
public decimal? Remain
{
get { return Weight!=null && AimSteelQty!=null ? AimSteelQty- weight : null; }
}
///
/// 原虚拟炉次号(补炉重炼)
///
[Description("原虚拟炉次号(补炉重炼)")]
[Nullable(true)]
[DataLength(20)]
public string OldFurnaceno
{
get { return oldFurnaceno; }
set { oldFurnaceno = value; }
}
///
/// 原冶炼炉号(原电炉号)
///
[Description("原冶炼炉号(原电炉号)")]
[Nullable(true)]
[DataLength(20)]
public string OldStoveNo
{
get { return oldStoveNo; }
set { oldStoveNo = value; }
}
///
/// 计划作业路线
///
[Description("计划工艺路径")]
[Nullable(true)]
[DataLength(100)]
public string PlanRoute
{
get { return planRoute; }
set { planRoute = value; }
}
///
/// 实绩作业路线
///
[Description("实绩工艺路径")]
[Nullable(true)]
[DataLength(100)]
public string FactRoute
{
get { return factRoute; }
set { factRoute = value; }
}
///
/// 开始时刻
///
[Description("开始时刻")]
[Nullable(true)]
public string Starttime
{
get { return starttime; }
set { starttime = value; }
}
///
/// 结束时刻
///
[Description("结束时刻")]
[Nullable(true)]
public string Endtime
{
get { return endtime; }
set { endtime = value; }
}
///
/// 冶炼开始时刻
///
[Description("冶炼开始时刻")]
[Nullable(true)]
public string BofStarttime
{
get { return bofStarttime; }
set { bofStarttime = value; }
}
///
/// 冶炼结束时刻
///
[Description("冶炼结束时刻")]
[Nullable(true)]
public string BofEndtime
{
get { return bofEndtime; }
set { bofEndtime = value; }
}
///
/// CAS开始时刻(备用)
///
[Description("CAS开始时刻(备用)")]
[Nullable(true)]
public string CasStarttime
{
get { return casStarttime; }
set { casStarttime = value; }
}
///
/// CAS结束时刻(备用)
///
[Description("CAS结束时刻(备用)")]
[Nullable(true)]
public string CasEndtime
{
get { return casEndtime; }
set { casEndtime = value; }
}
///
/// VD开始时刻
///
[Description("VD开始时刻")]
[Nullable(true)]
public string VdStarttime
{
get { return vdStarttime; }
set { vdStarttime = value; }
}
///
/// VD结束时刻
///
[Description("VD结束时刻")]
[Nullable(true)]
public string VdEndtime
{
get { return vdEndtime; }
set { vdEndtime = value; }
}
///
/// RH开始时刻
///
[Description("RH开始时刻")]
[Nullable(true)]
public string RhStarttime
{
get { return rhStarttime; }
set { rhStarttime = value; }
}
///
/// RH结束时刻
///
[Description("RH结束时刻")]
[Nullable(true)]
public string RhEndtime
{
get { return rhEndtime; }
set { rhEndtime = value; }
}
///
/// LF开始时刻
///
[Description("LF开始时刻")]
[Nullable(true)]
public string LfsStarttime
{
get { return lfsStarttime; }
set { lfsStarttime = value; }
}
///
/// LF结束时刻
///
[Description("LF结束时刻")]
[Nullable(true)]
public string LfsEndtime
{
get { return lfsEndtime; }
set { lfsEndtime = value; }
}
///
/// 浇铸(模铸)开始时刻
///
[Description("浇铸(模铸)开始时刻")]
[Nullable(true)]
public string CcmStarttime
{
get { return ccmStarttime; }
set { ccmStarttime = value; }
}
///
/// 浇铸(模铸)结束时刻
///
[Description("浇铸(模铸)结束时刻")]
[Nullable(true)]
public string CcmEndtime
{
get { return ccmEndtime; }
set { ccmEndtime = value; }
}
///
/// 是否有余材
///
[Description("是否有余材")]
[Nullable(true)]
[DataLength(1)]
public string Surplusflag
{
get { return surplusflag; }
set { surplusflag = value; }
}
///
/// 是否炼钢监制
///
[Description("是否炼钢监制")]
[Nullable(true)]
[DataLength(1)]
public string IfMonitorLg
{
get { return ifMonitorLg; }
set { ifMonitorLg = value; }
}
///
/// 监制编号
///
[Description("监制编号")]
[Nullable(true)]
[DataLength(40)]
public string PrdcrNo
{
get { return prdcrNo; }
set { prdcrNo = value; }
}
///
/// 成分判定记录ID(炼钢成分判定完成后回写)
///
[Description("成分判定记录ID")]
[Nullable(true)]
[DataLength(20)]
public string ChemJudgeId
{
get { return chemJudgeId; }
set { chemJudgeId = value; }
}
///
/// 炉计划备注(用于传送信息到炼钢)
///
[Description("炉计划备注")]
[Nullable(true)]
[DataLength(800)]
public string Planremark
{
get { return planremark; }
set { planremark = value; }
}
///
/// 备注
///
[Description("备注")]
[Nullable(true)]
[DataLength(800)]
public string Remark
{
get { return remark; }
set { remark = value; }
}
///
/// 制定人
///
[Description("制定人")]
[Nullable(true)]
[DataLength(20)]
public string Makeman
{
get { return makeman; }
set { makeman = value; }
}
///
/// 制定时间
///
[Description("制定时间")]
[Nullable(true)]
public string Maketime
{
get { return maketime; }
set { maketime = value; }
}
///
/// 下发人
///
[Description("下发人")]
[Nullable(true)]
[DataLength(20)]
public string Downman
{
get { return downman; }
set { downman = value; }
}
///
/// 下发时间
///
[Description("下发时间")]
[Nullable(true)]
public string Downtime
{
get { return downtime; }
set { downtime = value; }
}
private string planJudgeTime = "";
///
/// 下发时间
///
[Description("计划判定时间")]
[Nullable(true)]
public string PlanJudgeTime
{
get { return planJudgeTime; }
set { planJudgeTime = value; }
}
///
/// 关闭计划人
///
[Description("关闭计划人")]
[Nullable(true)]
[DataLength(20)]
public string Closeman
{
get { return closeman; }
set { closeman = value; }
}
///
/// 关闭计划时间
///
[Description("关闭计划时间")]
[Nullable(true)]
public string Closetime
{
get { return closetime; }
set { closetime = value; }
}
///
/// 监制提前信息
///
[Description("监制提前信息")]
[Nullable(true)]
public string PrdcrDayManPhone
{
get { return prdcrDayManPhone; }
set { prdcrDayManPhone = value; }
}
private string ifConfirm = "";
[Description("工艺确认")]
[Nullable(true)]
[DataLength(50)]
public string IfConfirm
{
get { return ifConfirm; }
set { ifConfirm = value; }
}
///
/// 炼钢工艺文件
///
private string craftNo = "";
[Description("炼钢工艺号")]
[Nullable(true)]
[DataLength(50)]
public string CraftNo
{
get { return craftNo; }
set { craftNo = value; }
}
///
/// 年月日
///
private string proMonth = "";
///
/// 年月日
///
[Description("生产年月")]
[Nullable(true)]
[DataLength(20)]
public string ProMonth
{
get { return proMonth; }
set { proMonth = value; }
}
///
/// 管坯直径
///
private string diameter = null;
///
/// 管坯直径
///
[Description("直径")]
[Nullable(true)]
[DataLength(10)]
public string Diameter
{
get { return diameter; }
set { diameter = value; }
}
private string planstatusZg = "";
[Description("轧管炉计划状态")]
public string PlanstatusZg
{
get { return planstatusZg; }
set { planstatusZg = value; }
}
}
}