using System;
using System.ComponentModel;
using Core.Mes.Client.Comm.Attribute;
namespace Core.StlMes.Client.LgClassModel
{
///
/// 数据库表PLN_STEELFORFURNACE所对应的实体类(生成工具:代码生成工具3.0)
/// 作者:zhou 时间:2017-08-02
///
[Serializable]
public class PlnSteelforfurnaceEntity
{
///
/// 虚拟炉号
///
private string furnaceno = "";
///
/// 主铸造订单编号(多订单记录一个)
///
private string proPlanId = "";
///
/// 主工序排产序号(随主铸造订单)
///
private string gxPlanNo = "";
///
/// 铸造坯物料编码(随主铸造订单)
///
private string materialNo = "";
///
/// 铸造坯物料描述(随主铸造订单)
///
private string materialName = "";
///
/// 投入物料编码
///
private string wlidIn = "";
///
/// 投入物料描述
///
private string wldescIn = "";
///
/// 状态(0=组炉,1=组浇,2=下发,3生产中,4生产完成)
///
private string status = "";
///
/// 钢种代码
///
private string gradecode = "";
///
/// 钢种名称
///
private string gradename = "";
///
/// 支数
///
private decimal? quantity = null;
///
/// 重量
///
private decimal? weight = null;
///
/// 目标出钢量
///
private decimal? aimSteelQty = null;
///
/// 浇次号
///
private string castNo = "";
///
/// 浇内顺序号
///
private string castStoveSeq = "";
///
/// 开始时刻
///
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 = "";
///
/// 铸造类型(1连铸2模铸)
///
private string castingtype = "";
///
/// 连铸机号
///
private string ccmid = "";
///
/// 铸造产线编码
///
private string plineCode = "";
///
/// 铸造产线描述
///
private string plineName = "";
///
/// 成分标准索引号(内控)
///
private string cic = "";
///
/// 材质标准索引号(内控)
///
private string pic = "";
///
/// 公差标准索引号(内控)
///
private string sic = "";
///
/// 探伤索引号(内控)
///
private string dic = "";
///
/// 是否有余材
///
private string surplusflag = "";
///
/// 是否炼钢监制
///
private string ifMonitorLg = "";
///
/// 监制编号
///
private string prdcrNo = "";
///
/// 是否轧管组批 (0未组批 1 已组批 2 坯料下线)
///
private string ifBatchedZg = "";
///
/// 计划备注(用于传送信息到炼钢)
///
private string planremark = "";
///
/// 备注
///
private string remark = "";
///
/// 制定人
///
private string makeman = "";
///
/// 制定时间
///
private string maketime = "";
///
/// 电炉号(×)
///
private string efShortId = "";
///
/// 电炉产线编码
///
private string efPlineCode = "";
///
/// 电炉产线描述
///
private string efPlineName = "";
///
/// 电炉顺序号(年月+4位流水)
///
private string efWorkSeq = "";
///
/// 电炉重置编号(年月+3位流水)
///
private string efResetId = "";
///
/// 炉龄
///
private decimal? efAge = null;
///
/// 冶炼炉号
///
private string stoveNo = "";
///
/// 成分判定记录ID(炼钢成分判定完成后回写)
///
private string chemJudgeId = "";
///
/// 计划作业路线
///
private string planRoute = "";
///
/// 实绩作业路线
///
private string factRoute = "";
///
/// 执行状态( 00= 初始状态 10=转炉/电炉执行 20=LF精炼执行 30= RH炉执行 40= VD炉执行 50=连铸执行 60=表检执行 70下线 )
///
private string heatState = "";
///
/// 原虚拟炉号(补炉重炼)
///
private string oldFurnaceno = "";
///
/// 浇次顺序号(不同铸机顺序独立连续)
///
private string castSeq = "";
///
/// 炉次顺序号(不同电炉产线顺序独立连续)
///
private string furnacenoSeq = "";
///
/// 冶炼类型:00=正常,10=重炼,20=补炉,30=转交
///
private string bofType = "";
///
/// 无注释
///
private string wic = "";
///
/// 无注释
///
private string gic = "";
///
/// 选择
///
[Description("选择")]
public bool Check { get; set; }
///
/// 虚拟炉号
///
[Description("炉次号")]
[Nullable(false)]
[DataLength(20)]
public string Furnaceno
{
get { return furnaceno; }
set { furnaceno = 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(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(20)]
public string WlidIn
{
get { return wlidIn; }
set { wlidIn = value; }
}
///
/// 投入物料描述
///
[Description("投入物料")]
[Nullable(true)]
[DataLength(40)]
public string WldescIn
{
get { return wldescIn; }
set { wldescIn = value; }
}
///
/// 状态(0=组炉,1=组浇,2=下发,3生产中,4生产完成)
///
[Description("状态")]
[Nullable(true)]
[DataLength(2)]
public string Status
{
get { return status; }
set { status = 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(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? AimSteelQty
{
get { return aimSteelQty; }
set { aimSteelQty = value; }
}
///
/// 目标出钢量
///
[Description("余量")]
[Nullable(true)]
[DataLength(10)]
public decimal? Remain
{
get { return aimSteelQty - weight; }
}
///
/// 浇次号
///
[Description("浇次号")]
[Nullable(true)]
[DataLength(20)]
public string CastNo
{
get { return castNo; }
set { castNo = value; }
}
///
/// 浇内顺序号
///
[Description("浇次内序号")]
[Nullable(true)]
[DataLength(20)]
public string CastStoveSeq
{
get { return castStoveSeq; }
set { castStoveSeq = 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; }
}
///
/// 铸造类型(1连铸2模铸)
///
[Description("铸造类型")]
[Nullable(true)]
[DataLength(20)]
public string Castingtype
{
get { return castingtype; }
set { castingtype = value; }
}
///
/// 连铸机号
///
[Description("铸机号")]
[Nullable(true)]
[DataLength(20)]
public string Ccmid
{
get { return ccmid; }
set { ccmid = 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(50)]
public string Cic
{
get { return cic; }
set { cic = value; }
}
///
/// 材质标准索引号(内控)
///
[Description("材质标准索引号")]
[Nullable(true)]
[DataLength(50)]
public string Pic
{
get { return pic; }
set { pic = value; }
}
///
/// 公差标准索引号(内控)
///
[Description("公差标准索引号")]
[Nullable(true)]
[DataLength(50)]
public string Sic
{
get { return sic; }
set { sic = value; }
}
///
/// 探伤索引号(内控)
///
[Description("探伤索引号")]
[Nullable(true)]
[DataLength(50)]
public string Dic
{
get { return dic; }
set { dic = 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=="1"?"监制":""; }
set { ifMonitorLg = value; }
}
///
/// 监制编号
///
[Description("监制编号")]
[Nullable(true)]
[DataLength(40)]
public string PrdcrNo
{
get { return prdcrNo; }
set { prdcrNo = value; }
}
///
/// 是否轧管组批 (0未组批 1 已组批 2 坯料下线)
///
[Description("是否轧管组批")]
[Nullable(true)]
[DataLength(1)]
public string IfBatchedZg
{
get { return ifBatchedZg; }
set { ifBatchedZg = 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 EfShortId
{
get { return efShortId; }
set { efShortId = 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; }
}
///
/// 电炉顺序号(年月+4位流水)
///
[Description("电炉顺序号")]
[Nullable(true)]
[DataLength(20)]
public string EfWorkSeq
{
get { return efWorkSeq; }
set { efWorkSeq = value; }
}
///
/// 电炉重置编号(年月+3位流水)
///
[Description("电炉重置编号")]
[Nullable(true)]
[DataLength(20)]
public string EfResetId
{
get { return efResetId; }
set { efResetId = value; }
}
///
/// 炉龄
///
[Description("炉龄")]
[Nullable(true)]
[DataLength(6)]
public decimal? EfAge
{
get { return efAge; }
set { efAge = value; }
}
///
/// 冶炼炉号
///
[Description("冶炼炉号")]
[Nullable(true)]
[DataLength(20)]
public string StoveNo
{
get { return stoveNo; }
set { stoveNo = value; }
}
///
/// 成分判定记录ID(炼钢成分判定完成后回写)
///
[Description("成分判定记录ID")]
[Nullable(true)]
[DataLength(20)]
public string ChemJudgeId
{
get { return chemJudgeId; }
set { chemJudgeId = value; }
}
///
/// 计划作业路线
///
[Description("工艺路径")]
[Nullable(true)]
[DataLength(100)]
public string PlanRoute
{
get
{
return planRoute.Replace("EAF", "电炉").Replace("VD", "VD炉").Replace("RH", "RH炉").Replace("LF", "LF炉").Replace("CCM", "连铸").Replace(",","->")
.Replace("E", "电炉->").Replace("V", "VD炉->").Replace("R", "RH炉->").Replace("L", "LF炉->").Replace("C", "连铸").Replace("I", "模铸 ").Replace(",", "->");
}
set { planRoute = value; }
}
///
/// 实绩作业路线
///
[Description("实绩作业路线")]
[Nullable(true)]
[DataLength(100)]
public string FactRoute
{
get { return factRoute; }
set { factRoute = value; }
}
///
/// 执行状态( 00= 初始状态 10=转炉/电炉执行 20=LF精炼执行 30= RH炉执行 40= VD炉执行 50=连铸执行 60=表检执行 70下线 )
///
[Description("执行状态")]
[Nullable(true)]
[DataLength(2)]
public string HeatState
{
get { return heatState; }
set { heatState = value; }
}
///
/// 原虚拟炉号(补炉重炼)
///
[Description("原虚拟炉号")]
[Nullable(true)]
[DataLength(20)]
public string OldFurnaceno
{
get { return oldFurnaceno; }
set { oldFurnaceno = value; }
}
///
/// 浇次顺序号(不同铸机顺序独立连续)
///
[Description("浇次顺序号")]
[Nullable(true)]
[DataLength(20)]
public string CastSeq
{
get { return castSeq; }
set { castSeq = value; }
}
///
/// 炉次顺序号(不同电炉产线顺序独立连续)
///
[Description("炉次顺序号")]
[Nullable(true)]
[DataLength(20)]
public string FurnacenoSeq
{
get { return furnacenoSeq; }
set { furnacenoSeq = value; }
}
///
/// 冶炼类型:00=正常,10=重炼,20=补炉,30=转交
///
[Description("冶炼类型")]
[Nullable(true)]
[DataLength(2)]
public string BofType
{
get { return bofType; }
set { bofType = value; }
}
///
/// 无注释
///
[Description("无注释")]
[Nullable(true)]
[DataLength(50)]
public string Wic
{
get { return wic; }
set { wic = value; }
}
///
/// 无注释
///
[Description("无注释")]
[Nullable(true)]
[DataLength(50)]
public string Gic
{
get { return gic; }
set { gic = value; }
}
///
/// 炼钢工艺文件
///
private string craftNo = "";
[Description("工艺号")]
[Nullable(true)]
[DataLength(50)]
public string CraftNo
{
get { return craftNo; }
set { craftNo = value; }
}
///
/// 管坯直径(模铸写规格)
///
private string diameter = "";
///
/// 管坯直径(模铸写规格)
///
[Description("断面Φmm")]
[Nullable(true)]
[DataLength(10)]
public string Diameter
{
get { return diameter; }
set { diameter = value; }
}
private string memo = "";
///
/// 备注
///
[Description("备注")]
[Nullable(true)]
[DataLength(200)]
public string Memo
{
get { return memo; }
set { memo = value; }
}
///
/// 作业状态:00=初始状态;10=切割完成;20=表检完成;30=下线
///
private string ccmState = "";
///
/// 作业状态:00=初始状态;10=切割完成;20=表检完成;30=下线
///
[Description("作业状态")]
[Nullable(true)]
[DataLength(2)]
public string CcmState
{
get { return ccmState; }
set { ccmState = value; }
}
}
}