C# Class ThermostatMonitorLib.Thermostat

Show file Open project: AndroidThermostat/ThermostatMonitor-Net Class Usage Examples

Public Methods

Method 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

Method Description
GetThermostat ( DataRow row ) : Thermostat

Method Details

DeleteThermostat() public static method

public static DeleteThermostat ( int thermostatId ) : void
thermostatId int
return void

GetPropertyValue() public method

public GetPropertyValue ( string propertyName ) : object
propertyName string
return object

LoadByKeyName() public static method

public static LoadByKeyName ( string keyName ) : Thermostat
keyName string
return Thermostat

LoadThermostat() public static method

public static LoadThermostat ( int thermostatId ) : Thermostat
thermostatId int
return Thermostat

LoadThermostat() public static method

public static LoadThermostat ( int locationId, string ipAddress ) : Thermostat
locationId int
ipAddress string
return Thermostat

SaveThermostat() public static method

public static SaveThermostat ( Thermostat thermostat ) : int
thermostat Thermostat
return int

Thermostat() public method

public Thermostat ( ) : System
return System