Class WorkItemInfo
Work item information.
Inheritance
System.Object
    WorkItemInfo
  Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class WorkItemInfo : objectProperties
View SourceId
Gets or sets the identifier.
Declaration
public string Id { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | The identifier. | 
JobId
Gets or sets the job identifier.
Declaration
public string JobId { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | The job identifier. | 
Message
Gets or sets the message.
Declaration
public string Message { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | The message. | 
ParentId
Gets or sets the parent identifier.
Declaration
public string ParentId { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | The parent identifier. | 
Progress
Gets or sets the progress.
Declaration
public double Progress { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Double | The progress. | 
Remarks
Progress is defined as a fraction of 1 where 0 = no progress and 1 = complete.
Status
Gets or sets the job status.
Declaration
public WorkStatus Status { get; set; }Property Value
| Type | Description | 
|---|---|
| WorkStatus | The job status. | 
WorkDuration
Gets or sets the work duration in milliseconds.
Declaration
public long WorkDuration { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int64 | The duration of the work in milliseconds. | 
WorkItemErrorInfo
Gets or sets WorkItemInfo for the work items that failed during execution.
Declaration
public List<WorkItemInfo> WorkItemErrorInfo { get; set; }Property Value
| Type | Description | 
|---|---|
| List<WorkItemInfo> | List of work item information. | 
Methods
View SourceClone()
Clones this instance.
Declaration
public WorkItemInfo Clone()Returns
| Type | Description | 
|---|---|
| WorkItemInfo | Shallow clone of this instance. |