Class Job
Information about the current job
Implements
Inherited Members
Namespace: DuetAPI.Machine
Assembly: DuetAPI.dll
Syntax
public sealed class Job : ModelObject, ICloneable, INotifyPropertyChanging, INotifyPropertyChanged
Properties
Build
Information about the current build or null if not available
Declaration
public Build Build { get; set; }
Property Value
Type | Description |
---|---|
Build |
Duration
Total duration of the current job (in s or null)
Declaration
public int? Duration { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
File
Information about the file being processed
Declaration
public ParsedFileInfo File { get; }
Property Value
Type | Description |
---|---|
ParsedFileInfo |
FilePosition
Current position in the file being processed (in bytes or null)
Declaration
public long? FilePosition { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
FirstLayerDuration
Duration of the first layer (in s or null)
Declaration
public int? FirstLayerDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
LastDuration
Total duration of the last job (in s or null)
Declaration
public int? LastDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
LastFileAborted
Indicates if the last file was aborted (unexpected cancellation)
Declaration
public bool LastFileAborted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LastFileCancelled
Indicates if the last file was cancelled (user cancelled)
Declaration
public bool LastFileCancelled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LastFileName
Name of the last file processed or null if none
Declaration
public string LastFileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LastFileSimulated
Indicates if the last file processed was simulated
Declaration
public bool LastFileSimulated { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This is not set if the file was aborted or cancelled
Layer
Number of the current layer or null not available
Declaration
public int? Layer { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Layers
Information about the past layers
Declaration
public ModelGrowingCollection<Layer> Layers { get; }
Property Value
Type | Description |
---|---|
ModelGrowingCollection<Layer> |
See Also
LayerTime
Time elapsed since the beginning of the current layer (in s or null)
Declaration
public int? LayerTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
TimesLeft
Estimated times left
Declaration
public TimesLeft TimesLeft { get; }
Property Value
Type | Description |
---|---|
TimesLeft |
WarmUpDuration
Time needed to heat up the heaters (in s or null)
Declaration
public int? WarmUpDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |