Class ParsedFileInfo
Holds information about a parsed G-code file
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanging
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DuetAPI.Machine
Assembly: DuetAPI.dll
Syntax
public sealed class ParsedFileInfo : ModelObject, ICloneable, INotifyPropertyChanging, INotifyPropertyChanged
Properties
Filament
Filament consumption per extruder drive (in mm)
Declaration
public ModelCollection<float> Filament { get; }
Property Value
Type | Description |
---|---|
ModelCollection<System.Single> |
FileName
The filename of the G-code file
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FirstLayerHeight
Height of the first layer or 0 if not found (in mm)
Declaration
public float FirstLayerHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
GeneratedBy
Name of the application that generated this file
Declaration
public string GeneratedBy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Height
Build height of the G-code job or 0 if not found (in mm)
Declaration
public float Height { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
LastModified
Value indicating when the file was last modified or null if unknown
Declaration
public DateTime? LastModified { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
LayerHeight
Height of each other layer or 0 if not found (in mm)
Declaration
public float LayerHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
NumLayers
Number of total layers or 0 if unknown
Declaration
public int NumLayers { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PrintTime
Estimated print time (in s)
Declaration
public long? PrintTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
SimulatedTime
Estimated print time from G-code simulation (in s)
Declaration
public long? SimulatedTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Size
Size of the file
Declaration
public long Size { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanging
System.ComponentModel.INotifyPropertyChanged