Class TraceModel
- Namespace
- CMS.Plugin.TraceManagement.Abstractions.Models.Traces
- Assembly
- CMS.Plugin.TraceManagement.Abstractions.dll
过程参数模型.
public class TraceModel : IHasExtraProperties
- Inheritance
-
TraceModel
- Implements
-
IHasExtraProperties
- Inherited Members
Constructors
TraceModel()
public TraceModel()
TraceModel(int, Guid, string, string, string, string, string, string, string, string, DateTime?, DateTime, string, string, bool, JudgmentResultType?, string, TraceDataType, bool, List<TraceParamModel>, List<TraceMaterialModel>, ExtraPropertyDictionary)
public TraceModel(int id, Guid workSectionId, string workSectionName, string serialNumber, string productName, string productModel, string orderCode, string workStationName, string formulaName, string formulaVersion, DateTime? entryTime, DateTime finishTime, string updateCode, string unqualifiedReason, bool isQualified, JudgmentResultType? repairFlag, string shift, TraceDataType dataType, bool fromFlow, List<TraceParamModel> @params, List<TraceMaterialModel> materialParams, ExtraPropertyDictionary extraProperties)
Parameters
idintworkSectionIdGuidworkSectionNamestringserialNumberstringproductNamestringproductModelstringorderCodestringworkStationNamestringformulaNamestringformulaVersionstringentryTimeDateTime?finishTimeDateTimeupdateCodestringunqualifiedReasonstringisQualifiedboolrepairFlagJudgmentResultType?shiftstringdataTypeTraceDataTypefromFlowboolparamsList<TraceParamModel>materialParamsList<TraceMaterialModel>extraPropertiesExtraPropertyDictionary
TraceModel(int, Guid, string, string, string, string, string, string, string, string, DateTime?, DateTime, string, string, bool, JudgmentResultType?, string, TraceDataType, bool, List<TraceParamModel>, List<TraceMaterialModel>, ExtraPropertyDictionary, string)
public TraceModel(int id, Guid workSectionId, string workSectionName, string serialNumber, string productName, string productModel, string orderCode, string workStationName, string formulaName, string formulaVersion, DateTime? entryTime, DateTime finishTime, string updateCode, string unqualifiedReason, bool isQualified, JudgmentResultType? repairFlag, string shift, TraceDataType dataType, bool fromFlow, List<TraceParamModel> @params, List<TraceMaterialModel> materialParams, ExtraPropertyDictionary extraProperties, string @operator)
Parameters
idintworkSectionIdGuidworkSectionNamestringserialNumberstringproductNamestringproductModelstringorderCodestringworkStationNamestringformulaNamestringformulaVersionstringentryTimeDateTime?finishTimeDateTimeupdateCodestringunqualifiedReasonstringisQualifiedboolrepairFlagJudgmentResultType?shiftstringdataTypeTraceDataTypefromFlowboolparamsList<TraceParamModel>materialParamsList<TraceMaterialModel>extraPropertiesExtraPropertyDictionaryoperatorstring
Properties
Brothers
关联的追溯数据(内部使用字段).
public List<TraceModel> Brothers { get; set; }
Property Value
DataType
数据类型
[Design("数据类型", "追溯模型关联的数据类型")]
public TraceDataType DataType { get; set; }
Property Value
EntryTime
进站时间
[Design("进站时间", "追溯模型关联的进站时间")]
public DateTime? EntryTime { get; set; }
Property Value
ExtraProperties
扩展属性
public ExtraPropertyDictionary ExtraProperties { get; set; }
Property Value
FinishTime
完工时间
[Design("完工时间", "追溯模型关联的完工时间")]
public DateTime FinishTime { get; set; }
Property Value
FormulaName
配方名
[Design("配方名", "追溯模型关联的配方名")]
public string? FormulaName { get; set; }
Property Value
FormulaVersion
配方版本
[Design("配方版本", "追溯模型关联的配方版本")]
public string? FormulaVersion { get; set; }
Property Value
FromFlow
是否源于流程服务
public bool FromFlow { get; set; }
Property Value
Id
唯一标识
public int Id { get; set; }
Property Value
IsDeleted
是否已删除
public bool IsDeleted { get; set; }
Property Value
IsHistory
是否旧数据、非最新数据
public bool IsHistory { get; set; }
Property Value
IsQualified
是否合格
[Design("是否合格", "追溯模型关联的是否合格标识")]
public bool IsQualified { get; set; }
Property Value
Links
关联的追溯数据(内部使用字段).
public List<TraceModel> Links { get; set; }
Property Value
MaterialParams
物料参数列表
public List<TraceMaterialModel> MaterialParams { get; set; }
Property Value
Operator
操作人.
[Design("操作人", "追溯模型关联的操作人")]
public string? Operator { get; set; }
Property Value
OrderCode
工单号
[Design("工单号", "追溯模型关联的工单号")]
public string? OrderCode { get; set; }
Property Value
Params
过程参数列表(采集参数,配方参数).
public List<TraceParamModel> Params { get; set; }
Property Value
ProductModel
产品型号
[Design("产品型号", "追溯模型关联的产品型号")]
public string? ProductModel { get; set; }
Property Value
ProductName
产品名称
[Design("产品名称", "追溯模型关联的产品名称")]
public string? ProductName { get; set; }
Property Value
RepairFlag
返修标识
[Design("返修标识", "追溯模型关联的返修标识")]
public JudgmentResultType? RepairFlag { get; set; }
Property Value
SerialNumber
产品码
[Design("产品码", "追溯模型关联的产品码")]
public string SerialNumber { get; set; }
Property Value
Shift
班次
[Design("班次", "追溯模型关联的班次")]
public string? Shift { get; set; }
Property Value
UnqualifiedReason
不合格原因
[Design("不合格原因", "追溯模型关联的不合格原因")]
public string? UnqualifiedReason { get; set; }
Property Value
UpdateCode
更新码
[Design("更新码", "追溯模型关联的更新码")]
public string? UpdateCode { get; set; }
Property Value
WorkSectionId
工序Id
[Design("工序Id", "追溯模型关联的工序Id")]
public Guid WorkSectionId { get; set; }
Property Value
WorkSectionName
工序名称
[Design("工序名称", "追溯模型关联的工序名称")]
public string? WorkSectionName { get; set; }
Property Value
WorkStationName
工位名称
[Design("工位名称", "追溯模型关联的工位名称")]
public string? WorkStationName { get; set; }