C# Class ThermostatMonitorLib.Snapshots

Exibir arquivo Open project: AndroidThermostat/ThermostatMonitor-Net Class Usage Examples

Public Methods

Method Description
Generate ( int thermostatId ) : void
GetHourlyStats ( int timezoneOffset ) : DataTable
LoadDeltas ( int thermostatId, System.DateTime startDate, System.DateTime endDate ) : DataTable
LoadRange ( int thermostatId, System.DateTime startDate, System.DateTime endDate ) : Snapshots

Private Methods

Method Description
LogOffCycle ( int thermostatId, Cycle cycle, System.DateTime lastCycleEndDate, Temperatures allTemperatures, OutsideConditions allConditions ) : void
LogOnCycle ( int thermostatId, Cycle cycle, Temperatures allTemperatures, OutsideConditions allConditions ) : void

Method Details

Generate() public static method

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

GetHourlyStats() public method

public GetHourlyStats ( int timezoneOffset ) : DataTable
timezoneOffset int
return System.Data.DataTable

LoadDeltas() public static method

public static LoadDeltas ( int thermostatId, System.DateTime startDate, System.DateTime endDate ) : DataTable
thermostatId int
startDate System.DateTime
endDate System.DateTime
return System.Data.DataTable

LoadRange() public static method

public static LoadRange ( int thermostatId, System.DateTime startDate, System.DateTime endDate ) : Snapshots
thermostatId int
startDate System.DateTime
endDate System.DateTime
return Snapshots