C# Class ThermostatMonitorLib.Cycle

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

Méthodes publiques

Méthode 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

Méthode Description
GetCycle ( DataRow row ) : Cycle

Method Details

Cycle() public méthode

public Cycle ( ) : System
Résultat System

DeleteCycle() public static méthode

public static DeleteCycle ( int cycleId ) : void
cycleId int
Résultat void

EndCycle() public static méthode

public static EndCycle ( Cycle c, Int16 precision ) : void
c Cycle
precision System.Int16
Résultat void

EndOpenCycle() public static méthode

public static EndOpenCycle ( int thermostatId, Int16 precision ) : void
thermostatId int
precision System.Int16
Résultat void

GetPropertyValue() public méthode

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

LoadCycle() public static méthode

public static LoadCycle ( int cycleId ) : Cycle
cycleId int
Résultat Cycle

LoadOpenCycle() public static méthode

public static LoadOpenCycle ( int thermostatId ) : Cycle
thermostatId int
Résultat Cycle

LogCycle() public static méthode

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
Résultat void

SaveCycle() public static méthode

public static SaveCycle ( Cycle cycle ) : int
cycle Cycle
Résultat int

StartCycle() public static méthode

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