Table of Contents

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

id int
workSectionId Guid
workSectionName string
serialNumber string
productName string
productModel string
orderCode string
workStationName string
formulaName string
formulaVersion string
entryTime DateTime?
finishTime DateTime
updateCode string
unqualifiedReason string
isQualified bool
repairFlag JudgmentResultType?
shift string
dataType TraceDataType
fromFlow bool
params List<TraceParamModel>
materialParams List<TraceMaterialModel>
extraProperties ExtraPropertyDictionary

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

id int
workSectionId Guid
workSectionName string
serialNumber string
productName string
productModel string
orderCode string
workStationName string
formulaName string
formulaVersion string
entryTime DateTime?
finishTime DateTime
updateCode string
unqualifiedReason string
isQualified bool
repairFlag JudgmentResultType?
shift string
dataType TraceDataType
fromFlow bool
params List<TraceParamModel>
materialParams List<TraceMaterialModel>
extraProperties ExtraPropertyDictionary
operator string

Properties

Brothers

关联的追溯数据(内部使用字段).

public List<TraceModel> Brothers { get; set; }

Property Value

List<TraceModel>

DataType

数据类型

[Design("数据类型", "追溯模型关联的数据类型")]
public TraceDataType DataType { get; set; }

Property Value

TraceDataType

EntryTime

进站时间

[Design("进站时间", "追溯模型关联的进站时间")]
public DateTime? EntryTime { get; set; }

Property Value

DateTime?

ExtraProperties

扩展属性

public ExtraPropertyDictionary ExtraProperties { get; set; }

Property Value

ExtraPropertyDictionary

FinishTime

完工时间

[Design("完工时间", "追溯模型关联的完工时间")]
public DateTime FinishTime { get; set; }

Property Value

DateTime

FormulaName

配方名

[Design("配方名", "追溯模型关联的配方名")]
public string? FormulaName { get; set; }

Property Value

string

FormulaVersion

配方版本

[Design("配方版本", "追溯模型关联的配方版本")]
public string? FormulaVersion { get; set; }

Property Value

string

FromFlow

是否源于流程服务

public bool FromFlow { get; set; }

Property Value

bool

Id

唯一标识

public int Id { get; set; }

Property Value

int

IsDeleted

是否已删除

public bool IsDeleted { get; set; }

Property Value

bool

IsHistory

是否旧数据、非最新数据

public bool IsHistory { get; set; }

Property Value

bool

IsQualified

是否合格

[Design("是否合格", "追溯模型关联的是否合格标识")]
public bool IsQualified { get; set; }

Property Value

bool

关联的追溯数据(内部使用字段).

public List<TraceModel> Links { get; set; }

Property Value

List<TraceModel>

MaterialParams

物料参数列表

public List<TraceMaterialModel> MaterialParams { get; set; }

Property Value

List<TraceMaterialModel>

Operator

操作人.

[Design("操作人", "追溯模型关联的操作人")]
public string? Operator { get; set; }

Property Value

string

OrderCode

工单号

[Design("工单号", "追溯模型关联的工单号")]
public string? OrderCode { get; set; }

Property Value

string

Params

过程参数列表(采集参数,配方参数).

public List<TraceParamModel> Params { get; set; }

Property Value

List<TraceParamModel>

ProductModel

产品型号

[Design("产品型号", "追溯模型关联的产品型号")]
public string? ProductModel { get; set; }

Property Value

string

ProductName

产品名称

[Design("产品名称", "追溯模型关联的产品名称")]
public string? ProductName { get; set; }

Property Value

string

RepairFlag

返修标识

[Design("返修标识", "追溯模型关联的返修标识")]
public JudgmentResultType? RepairFlag { get; set; }

Property Value

JudgmentResultType?

SerialNumber

产品码

[Design("产品码", "追溯模型关联的产品码")]
public string SerialNumber { get; set; }

Property Value

string

Shift

班次

[Design("班次", "追溯模型关联的班次")]
public string? Shift { get; set; }

Property Value

string

UnqualifiedReason

不合格原因

[Design("不合格原因", "追溯模型关联的不合格原因")]
public string? UnqualifiedReason { get; set; }

Property Value

string

UpdateCode

更新码

[Design("更新码", "追溯模型关联的更新码")]
public string? UpdateCode { get; set; }

Property Value

string

WorkSectionId

工序Id

[Design("工序Id", "追溯模型关联的工序Id")]
public Guid WorkSectionId { get; set; }

Property Value

Guid

WorkSectionName

工序名称

[Design("工序名称", "追溯模型关联的工序名称")]
public string? WorkSectionName { get; set; }

Property Value

string

WorkStationName

工位名称

[Design("工位名称", "追溯模型关联的工位名称")]
public string? WorkStationName { get; set; }

Property Value

string