using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using Newtonsoft.Json;
namespace com.steering.mes.mcp.entity
{
///
/// 数据库表HTT_APPEARANCECHECK_RESULT所对应的实体类(生成工具:代码生成工具4.0 访问地址:http://172.16.2.128/tool/)
/// 作者:tgcx-test 时间:2018-06-15
///
[Serializable]
public class HttAppearancecheckResultEntity
{
///
/// 实绩编号(机组+工序点代码+年月日+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 decimal? odmax = null;
///
/// 外径范围下限
///
private decimal? odmin = null;
///
/// 不圆度
///
private decimal? outofroundness = null;
///
/// 管端直度
///
private decimal? endstraightness = null;
///
/// 全长直度
///
private decimal? fulllengthstraightness = null;
///
/// 检测支数
///
private decimal? checkpieces = null;
///
/// 合格支数
///
private decimal? passNum = null;
///
/// 可疑支数
///
private decimal? dubiousNum = null;
///
/// 不合格支数
///
private decimal? wastNum = null;
///
/// 缺陷项单号
///
private string defSerialItem = "";
///
/// 采集/录入时间
///
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;
///
/// 批号
///
private string batchNo = null;
///
/// 检验意见
///
private string result = null;
///
/// 实绩编号(机组+工序点代码+年月日+6位流水)
///
[Description("实绩编号")]
[JsonProperty("resultNo")]
public string ResultNo
{
get { return resultNo; }
set { resultNo = value; }
}
///
/// 炉计划ID
///
[Description("炉计划ID")]
[JsonProperty("heatPlanNo")]
public string HeatPlanNo
{
get { return heatPlanNo; }
set { heatPlanNo = value; }
}
///
/// 热处理生产批次号
///
[Description("热处理生产批次号")]
[JsonProperty("zyBatchId")]
public string ZyBatchId
{
get { return zyBatchId; }
set { zyBatchId = value; }
}
///
/// 热处理生产批次号序号
///
[Description("热处理生产批次号序号")]
[JsonProperty("prodIndex")]
public string ProdIndex
{
get { return prodIndex; }
set { prodIndex = value; }
}
///
/// 热处理订单编号
///
[Description("热处理订单编号")]
[JsonProperty("proPlanId")]
public string ProPlanId
{
get { return proPlanId; }
set { proPlanId = value; }
}
///
/// 热处理订单排产序号
///
[Description("热处理订单排产序号")]
[JsonProperty("gxPlanNo")]
public string GxPlanNo
{
get { return gxPlanNo; }
set { gxPlanNo = 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("odmax")]
public decimal? Odmax
{
get { return odmax; }
set { odmax = value; }
}
///
/// 外径范围下限
///
[Description("外径范围下限")]
[JsonProperty("odmin")]
public decimal? Odmin
{
get { return odmin; }
set { odmin = value; }
}
///
/// 不圆度
///
[Description("不圆度")]
[JsonProperty("outofroundness")]
public decimal? Outofroundness
{
get { return outofroundness; }
set { outofroundness = value; }
}
///
/// 管端直度
///
[Description("管端直度")]
[JsonProperty("endstraightness")]
public decimal? Endstraightness
{
get { return endstraightness; }
set { endstraightness = value; }
}
///
/// 全长直度
///
[Description("全长直度")]
[JsonProperty("fulllengthstraightness")]
public decimal? Fulllengthstraightness
{
get { return fulllengthstraightness; }
set { fulllengthstraightness = value; }
}
///
/// 检测支数
///
[Description("检测支数")]
[JsonProperty("checkpieces")]
public decimal? Checkpieces
{
get { return checkpieces; }
set { checkpieces = value; }
}
///
/// 合格支数
///
[Description("合格支数")]
[JsonProperty("passNum")]
public decimal? PassNum
{
get { return passNum; }
set { passNum = value; }
}
///
/// 可疑支数
///
[Description("可疑支数")]
[JsonProperty("dubiousNum")]
public decimal? DubiousNum
{
get { return dubiousNum; }
set { dubiousNum = value; }
}
///
/// 不合格支数
///
[Description("废品支数")]
[JsonProperty("wastNum")]
public decimal? WastNum
{
get { return wastNum; }
set { wastNum = value; }
}
///
/// 缺陷项单号
///
[Description("缺陷项单号")]
[JsonProperty("defSerialItem")]
public string DefSerialItem
{
get { return defSerialItem; }
set { defSerialItem = value; }
}
///
/// 采集/录入时间
///
[Description("操作时间")]
[JsonProperty("colTime")]
public string ColTime
{
get { return colTime; }
set { colTime = value; }
}
///
/// 操作人
///
[Description("操作人")]
[JsonProperty("colUser")]
public string ColUser
{
get { return colUser; }
set { colUser = value; }
}
///
/// 操作班次
///
[Description("操作班次")]
[JsonProperty("colShift")]
public string ColShift
{
get { return colShift; }
set { colShift = value; }
}
///
/// 操作班组
///
[Description("操作班组")]
[JsonProperty("colGroup")]
public string ColGroup
{
get { return colGroup; }
set { colGroup = value; }
}
///
/// 操作时间
///
[Description("操作时间")]
[JsonProperty("createTime")]
public string CreateTime
{
get { return createTime; }
set { createTime = value; }
}
///
/// 修改时间
///
[Description("修改时间")]
[JsonProperty("updateTime")]
public string UpdateTime
{
get { return updateTime; }
set { updateTime = value; }
}
///
/// 修改人
///
[Description("修改人")]
[JsonProperty("updateName")]
public string UpdateName
{
get { return updateName; }
set { updateName = value; }
}
///
/// 生产(年月日)
///
[Description("生产(年月日)")]
[JsonProperty("proYearMonthDay")]
public string ProYearMonthDay
{
get { return proYearMonthDay; }
set { proYearMonthDay = value; }
}
///
/// 结算日期(年月)
///
[Description("结算日期(年月)")]
[JsonProperty("balYearMonth")]
public string BalYearMonth
{
get { return balYearMonth; }
set { balYearMonth = value; }
}
///
/// 热处理次数
///
[Description("循环次数")]
[JsonProperty("processSeq")]
public decimal? ProcessSeq
{
get { return processSeq; }
set { processSeq = value; }
}
///
/// 报告地址
///
private string reportPath = "";
///
/// 报告地址
///
[Description("报告地址")]
[JsonProperty("reportPath")]
public string ReportPath
{
get { return reportPath; }
set { reportPath = value; }
}
///
/// 批号
///
[Description("批号")]
[JsonProperty("batchNo")]
public string BatchNo
{
get { return batchNo; }
set { batchNo = value; }
}
///
/// 检验意见
///
[Description("检验意见")]
[JsonProperty("result")]
public string Result
{
get { return result; }
set { result = value; }
}
public HttAppearancecheckResultEntity 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 HttAppearancecheckResultEntity;
}
}
}
}