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;
using Newtonsoft.Json;
namespace Core.StlMes.Client.Mcp.Control.Entity
{
[Serializable]
///
/// 数据库表MCH_CHAMFERING_RESULT_D所对应的实体类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/)
/// 作者:tgcx-test 时间:2018-11-20
///
public class MchChamferingResultDEntity
{
[Description("选择")]
public bool Chk { get; set; }
///
/// 实绩编号
///
private string resultNo = "";
///
/// 检测序号
///
private decimal? seq = null;
///
/// 炉计划ID
///
private string heatPlanNo = "";
///
/// 产线代码
///
private string plineCode = "";
///
/// 产线描述
///
private string plineName = "";
///
/// 批号
///
private string batchNo = "";
///
/// 判定炉号
///
private string judgeStoveNo = "";
///
/// 坡口角度
///
private string angleVal = "";
///
/// 钝边
///
private string edgeVal = "";
///
/// 切斜值
///
private string cutVal = "";
///
/// 实绩编号
///
[Description("实绩编号")]
[JsonProperty("resultNo")]
public string ResultNo
{
get { return resultNo; }
set { resultNo = value; }
}
///
/// 检测序号
///
[Description("检测序号")]
[JsonProperty("seq")]
public decimal? Seq
{
get { return seq; }
set { seq = value; }
}
///
/// 炉计划ID
///
[Description("炉计划ID")]
[JsonProperty("heatPlanNo")]
public string HeatPlanNo
{
get { return heatPlanNo; }
set { heatPlanNo = value; }
}
///
/// 产线代码
///
[Description("产线代码")]
[JsonProperty("plineCode")]
public string PlineCode
{
get { return plineCode; }
set { plineCode = value; }
}
///
/// 产线描述
///
[Description("产线描述")]
[JsonProperty("plineName")]
public string PlineName
{
get { return plineName; }
set { plineName = value; }
}
///
/// 批号
///
[Description("批号")]
[JsonProperty("batchNo")]
public string BatchNo
{
get { return batchNo; }
set { batchNo = value; }
}
///
/// 判定炉号
///
[Description("判定炉号")]
[JsonProperty("judgeStoveNo")]
public string JudgeStoveNo
{
get { return judgeStoveNo; }
set { judgeStoveNo = value; }
}
///
/// 坡口角度
///
[Description("坡口角度")]
[JsonProperty("angleVal")]
public string AngleVal
{
get { return angleVal; }
set { angleVal = value; }
}
///
/// 钝边
///
[Description("钝边")]
[JsonProperty("edgeVal")]
public string EdgeVal
{
get { return edgeVal; }
set { edgeVal = value; }
}
///
/// 切斜值
///
[Description("切斜值")]
[JsonProperty("cutVal")]
public string CutVal
{
get { return cutVal; }
set { cutVal = value; }
}
public MchChamferingResultDEntity 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 MchChamferingResultDEntity;
}
}
}
}