C# Class ThermostatMonitorLib.Thermostat

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

Méthodes publiques

Méthode Description
DeleteThermostat ( int thermostatId ) : void
GetPropertyValue ( string propertyName ) : object
LoadByKeyName ( string keyName ) : Thermostat
LoadThermostat ( int thermostatId ) : Thermostat
LoadThermostat ( int locationId, string ipAddress ) : Thermostat
SaveThermostat ( Thermostat thermostat ) : int
Thermostat ( ) : System

Private Methods

Méthode Description
GetThermostat ( DataRow row ) : Thermostat

Method Details

DeleteThermostat() public static méthode

public static DeleteThermostat ( int thermostatId ) : void
thermostatId int
Résultat void

GetPropertyValue() public méthode

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

LoadByKeyName() public static méthode

public static LoadByKeyName ( string keyName ) : Thermostat
keyName string
Résultat Thermostat

LoadThermostat() public static méthode

public static LoadThermostat ( int thermostatId ) : Thermostat
thermostatId int
Résultat Thermostat

LoadThermostat() public static méthode

public static LoadThermostat ( int locationId, string ipAddress ) : Thermostat
locationId int
ipAddress string
Résultat Thermostat

SaveThermostat() public static méthode

public static SaveThermostat ( Thermostat thermostat ) : int
thermostat Thermostat
Résultat int

Thermostat() public méthode

public Thermostat ( ) : System
Résultat System