C# Class ThermostatMonitorLib.Temperature

Afficher le fichier Open project: AndroidThermostat/ThermostatMonitor-Net Class Usage Examples

Méthodes publiques

Méthode Description
CheckAndLogTemperature ( int thermostatId, int degrees, Int16 precision ) : void
DeleteTemperature ( int temperatureId ) : void
GetPropertyValue ( string propertyName ) : object
LoadCurrentTemperature ( int thermostatId ) : Temperature
LoadTemperature ( int temperatureId ) : Temperature
LogTemperature ( int thermostatId, int degrees, Int16 precision ) : void
SaveTemperature ( Temperature temperature ) : int
Temperature ( ) : System

Private Methods

Méthode Description
GetTemperature ( DataRow row ) : Temperature

Method Details

CheckAndLogTemperature() public static méthode

public static CheckAndLogTemperature ( int thermostatId, int degrees, Int16 precision ) : void
thermostatId int
degrees int
precision System.Int16
Résultat void

DeleteTemperature() public static méthode

public static DeleteTemperature ( int temperatureId ) : void
temperatureId int
Résultat void

GetPropertyValue() public méthode

public GetPropertyValue ( string propertyName ) : object
propertyName string
Résultat object

LoadCurrentTemperature() public static méthode

public static LoadCurrentTemperature ( int thermostatId ) : Temperature
thermostatId int
Résultat Temperature

LoadTemperature() public static méthode

public static LoadTemperature ( int temperatureId ) : Temperature
temperatureId int
Résultat Temperature

LogTemperature() public static méthode

public static LogTemperature ( int thermostatId, int degrees, Int16 precision ) : void
thermostatId int
degrees int
precision System.Int16
Résultat void

SaveTemperature() public static méthode

public static SaveTemperature ( Temperature temperature ) : int
temperature Temperature
Résultat int

Temperature() public méthode

public Temperature ( ) : System
Résultat System