Class AnalogSensor
Representation of an analog sensor
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
public sealed class AnalogSensor : ModelObject, IModelObject, ICloneable, INotifyPropertyChanged, INotifyPropertyChanging
Properties
Beta
Beta value of this sensor (if applicable)
Declaration
public float? Beta { get; set; }
Property Value
Type | Description |
---|---|
float? |
C
C value of this sensor
Declaration
public float? C { get; set; }
Property Value
Type | Description |
---|---|
float? |
LastReading
Last sensor reading (in C) or null if invalid
Declaration
public float? LastReading { get; set; }
Property Value
Type | Description |
---|---|
float? |
Name
Name of this sensor or null if not configured
Declaration
public string? Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OffsetAdj
Offset adjustment (in K)
Declaration
public float OffsetAdj { get; set; }
Property Value
Type | Description |
---|---|
float |
Remarks
See also M308 U
Port
Port of this sensor or null if not applicable
Declaration
public string? Port { get; set; }
Property Value
Type | Description |
---|---|
string |
R25
Resistance of this sensor at 25C
Declaration
public float? R25 { get; set; }
Property Value
Type | Description |
---|---|
float? |
RRef
Series resistance of this sensor channel (only applicable for thermistors)
Declaration
public float? RRef { get; set; }
Property Value
Type | Description |
---|---|
float? |
SlopeAdj
Slope adjustment factor
Declaration
public float SlopeAdj { get; set; }
Property Value
Type | Description |
---|---|
float |
Remarks
See also M308 V
State
State of this sensor
Declaration
public TemperatureError State { get; set; }
Property Value
Type | Description |
---|---|
TemperatureError |
Type
Type of this sensor
Declaration
public AnalogSensorType Type { get; set; }
Property Value
Type | Description |
---|---|
AnalogSensorType |