C# Class ThermostatMonitorLib.Cycle

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

Public Methods

Method Description
Cycle ( ) : System
DeleteCycle ( int cycleId ) : void
EndCycle ( Cycle c, Int16 precision ) : void
EndOpenCycle ( int thermostatId, Int16 precision ) : void
GetPropertyValue ( string propertyName ) : object
LoadCycle ( int cycleId ) : Cycle
LoadOpenCycle ( int thermostatId ) : Cycle
LogCycle ( int thermostatId, string cycleType, System.DateTime startDate, System.DateTime endDate, Int16 startPrecision, Int16 endPrecision ) : void
SaveCycle ( Cycle cycle ) : int
StartCycle ( int thermostatId, string cycleType, Int16 precision ) : void

Private Methods

Method Description
GetCycle ( DataRow row ) : Cycle

Method Details

Cycle() public method

public Cycle ( ) : System
return System

DeleteCycle() public static method

public static DeleteCycle ( int cycleId ) : void
cycleId int
return void

EndCycle() public static method

public static EndCycle ( Cycle c, Int16 precision ) : void
c Cycle
precision System.Int16
return void

EndOpenCycle() public static method

public static EndOpenCycle ( int thermostatId, Int16 precision ) : void
thermostatId int
precision System.Int16
return void

GetPropertyValue() public method

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

LoadCycle() public static method

public static LoadCycle ( int cycleId ) : Cycle
cycleId int
return Cycle

LoadOpenCycle() public static method

public static LoadOpenCycle ( int thermostatId ) : Cycle
thermostatId int
return Cycle

LogCycle() public static method

public static LogCycle ( int thermostatId, string cycleType, System.DateTime startDate, System.DateTime endDate, Int16 startPrecision, Int16 endPrecision ) : void
thermostatId int
cycleType string
startDate System.DateTime
endDate System.DateTime
startPrecision System.Int16
endPrecision System.Int16
return void

SaveCycle() public static method

public static SaveCycle ( Cycle cycle ) : int
cycle Cycle
return int

StartCycle() public static method

public static StartCycle ( int thermostatId, string cycleType, Int16 precision ) : void
thermostatId int
cycleType string
precision System.Int16
return void