Class AnalogSensor
Representation of an analog sensor
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 AnalogSensor : ModelObject, ICloneable, INotifyPropertyChanging, INotifyPropertyChanged
Properties
LastReading
Last sensor reading (in C) or null if invalid
Declaration
public float? LastReading { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Single> |
Name
Name of this sensor or null if not configured
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Type of this sensor
Declaration
public AnalogSensorType Type { get; set; }
Property Value
Type | Description |
---|---|
AnalogSensorType |
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanging
System.ComponentModel.INotifyPropertyChanged