C# Класс ThermostatMonitorLib.Cycle

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetCycle ( DataRow row ) : Cycle

Описание методов

Cycle() публичный Метод

public Cycle ( ) : System
Результат System

DeleteCycle() публичный статический Метод

public static DeleteCycle ( int cycleId ) : void
cycleId int
Результат void

EndCycle() публичный статический Метод

public static EndCycle ( Cycle c, Int16 precision ) : void
c Cycle
precision System.Int16
Результат void

EndOpenCycle() публичный статический Метод

public static EndOpenCycle ( int thermostatId, Int16 precision ) : void
thermostatId int
precision System.Int16
Результат void

GetPropertyValue() публичный Метод

public GetPropertyValue ( string propertyName ) : object
propertyName string
Результат object

LoadCycle() публичный статический Метод

public static LoadCycle ( int cycleId ) : Cycle
cycleId int
Результат Cycle

LoadOpenCycle() публичный статический Метод

public static LoadOpenCycle ( int thermostatId ) : Cycle
thermostatId int
Результат Cycle

LogCycle() публичный статический Метод

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
Результат void

SaveCycle() публичный статический Метод

public static SaveCycle ( Cycle cycle ) : int
cycle Cycle
Результат int

StartCycle() публичный статический Метод

public static StartCycle ( int thermostatId, string cycleType, Int16 precision ) : void
thermostatId int
cycleType string
precision System.Int16
Результат void