Class Volume
Information about a storage device
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 Volume : ModelObject, ICloneable, INotifyPropertyChanging, INotifyPropertyChanged
Properties
Capacity
Total capacity of the storage device (in bytes or null)
Declaration
public long? Capacity { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
FreeSpace
How much space is still available on this device (in bytes or null)
Declaration
public long? FreeSpace { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Mounted
Whether the storage device is mounted
Declaration
public bool Mounted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Name of this volume
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OpenFiles
Number of currently open files or null if unknown
Declaration
public int? OpenFiles { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Path
Logical path of the storage device
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Speed
Speed of the storage device (in bytes/s or null if unknown)
Declaration
public int? Speed { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanging
System.ComponentModel.INotifyPropertyChanged