C# Class HA4IoT.Sensors.TemperatureSensors.TemperatureSensor

Inheritance: SensorBase, ITemperatureSensor
显示文件 Open project: chkr1011/CK.HomeAutomation Class Usage Examples

Public Methods

Method Description
GetCurrentNumericValue ( ) : float
GetSupportedStates ( ) : IList
TemperatureSensor ( ComponentId id, ISettingsService settingsService, INumericValueSensorEndpoint endpoint ) : System

Private Methods

Method Description
GetDifferenceIsLargeEnough ( float value ) : bool

Method Details

GetCurrentNumericValue() public method

public GetCurrentNumericValue ( ) : float
return float

GetSupportedStates() public method

public GetSupportedStates ( ) : IList
return IList

TemperatureSensor() public method

public TemperatureSensor ( ComponentId id, ISettingsService settingsService, INumericValueSensorEndpoint endpoint ) : System
id ComponentId
settingsService ISettingsService
endpoint INumericValueSensorEndpoint
return System