Table of Contents

Class GetTracesRequest

Namespace
CMS.Plugin.TraceManagement.Abstractions.Models.Traces
Assembly
CMS.Plugin.TraceManagement.Abstractions.dll

获取追溯数据的请求对象.

public class GetTracesRequest : GetTracesCountRequest
Inheritance
GetTracesRequest
Derived
Inherited Members

Properties

IncludeMaterials

是否包含物料参数.

public bool IncludeMaterials { get; set; }

Property Value

bool

IncludeParams

是否包含过程参数

public bool IncludeParams { get; set; }

Property Value

bool

IsAccurateQueryValid

当前是否为精确匹配查询.

public bool IsAccurateQueryValid { get; }

Property Value

bool

IsAsc

是否按照完工时间正序排列

public bool IsAsc { get; set; }

Property Value

bool

IsCascadeSearch

是否获取其他工序对应的状态

public bool IsCascadeSearch { get; set; }

Property Value

bool

IsCustomized

是否定制(用户二开或者后续处理特殊级联查询逻辑).

public bool IsCustomized { get; set; }

Property Value

bool

MaxResultCount

最大记录条数

public int MaxResultCount { get; set; }

Property Value

int

ProcessData

是否对参数数据进行加工处理(条码解析规则),默认是false,保留原数据.

public bool ProcessData { get; set; }

Property Value

bool

SelectColumns

需要查询的列

public string[] SelectColumns { get; set; }

Property Value

string[]

SkipCount

跳过记录条数.

public int SkipCount { get; set; }

Property Value

int

WorkSectionIds

工序Id列表,为null,则查询ProductModel对应的工艺路线的所有工序

public IEnumerable<Guid>? WorkSectionIds { get; set; }

Property Value

IEnumerable<Guid>

Methods

CanCascadeSearch()

是否可以级联查询.

public bool CanCascadeSearch()

Returns

bool

Clone()

Clone

public GetTracesRequest Clone()

Returns

GetTracesRequest

ExtendDateTimeRange()

适当扩展查询的时间范围,兼顾性能与数据.

public void ExtendDateTimeRange()