You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
2.6 KiB
C#

7 months ago
using SOA.Persistent;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
//fictitious 虚拟的余材
namespace SlabHandle
{
[Serializable]
public class TB_PLATE_FIC
{
public TB_PLATE_FIC DeepCopy()
{
using (var memoryStream = new MemoryStream())
{
var formatter = new BinaryFormatter();
formatter.Serialize(memoryStream, this);
memoryStream.Position = 0;
return (TB_PLATE_FIC)formatter.Deserialize(memoryStream);
}
}
//编号
[Persistent("PL_CD"), DisplayName("编号")]
public string PL_CD { get; set; }
//板坯号
[Persistent("SLAB_NO"), DisplayName("板坯号")]
public string SLAB_NO { get; set; }
//订单号
[Persistent("ORD_NO"), DisplayName("订单号")]
public string ORD_NO { get; set; }
//订单序列号
[Persistent("ORD_ITEM"), DisplayName("订单序列号")]
public string ORD_ITEM { get; set; }
////订单号
//[Persistent("ORD_NO"), DisplayName("订单号")]
//public string ORD_NO { get; set; }
//订单厚度
[Persistent("ORD_THK"), DisplayName("订单厚度")]
public decimal ORD_THK { get; set; }
//订单宽度
[Persistent("ORD_WID"), DisplayName("订单宽度")]
public decimal ORD_WID { get; set; }
//订单长度
[Persistent("ORD_LEN"), DisplayName("订单长度")]
public decimal ORD_LEN { get; set; }
//订单重量
[Persistent("ORD_WGT"), DisplayName("单重量")]
public decimal ORD_WGT { get; set; }
//钢种
[Persistent("STLGRD"), DisplayName("钢种")]
public string STLGRD { get; set; }
//订单信息
[Persistent("Order"), DisplayName("订单信息")]
public BP_ORDER_ITEM Order { get; set; }
//是否被使用 (0:未使用1被使用; 2:其他)
[Persistent("USE_FLG"), DisplayName("是否被使用")]
public int USE_FLG { get; set; }
//是否被使用 (0:未使用1被使用; 2:其他)
[Persistent("OVER_FLG"), DisplayName("超量标记")]
public string OVER_FLG { get; set; }
//轧制厚度
[Persistent("ROLL_THK"), DisplayName("轧制厚度")]
public decimal ROLL_THK { get; set; }
//拼接编号集合
[Persistent("PL_CDs"), DisplayName("编号集合")]
public List<string> PL_CDs { get; set; }
}
}