C# Class ThermostatMonitorLib.Cycles

Mostrar archivo Open project: AndroidThermostat/ThermostatMonitor-Net Class Usage Examples

Public Methods

Method Description
GetByTime ( System.DateTime startTime, System.DateTime endTime ) : Cycles
GetCSV ( double acKilowatts, double fanKilowatts, double heatBTU, int timeZoneDifference ) : string
GetTotalRunTime ( ) : double
LoadFullSummary ( int locationId, int thermostatId, System.DateTime startDate, System.DateTime endDate, int timezoneDifference ) : DataTable
LoadRange ( System thermostatId, System.DateTime startDate, System.DateTime endDate ) : Cycles
LoadSummary ( int thermostatId, System.DateTime startDate, System.DateTime endDate, int timezoneDifference ) : DataTable
RemoveIncomplete ( ) : void

Method Details

GetByTime() public method

public GetByTime ( System.DateTime startTime, System.DateTime endTime ) : Cycles
startTime System.DateTime
endTime System.DateTime
return Cycles

GetCSV() public method

public GetCSV ( double acKilowatts, double fanKilowatts, double heatBTU, int timeZoneDifference ) : string
acKilowatts double
fanKilowatts double
heatBTU double
timeZoneDifference int
return string

GetTotalRunTime() public method

public GetTotalRunTime ( ) : double
return double

LoadFullSummary() public static method

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

LoadRange() public static method

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

LoadSummary() public static method

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

RemoveIncomplete() public method

public RemoveIncomplete ( ) : void
return void