C# Class Itenso.TimePeriodDemo.Thermostat.ThermostatDemo

Exibir arquivo Open project: jwg4/date-difference

Public Methods

Method Description
DemoOff ( ) : void
DemoOn ( ) : void
GetNextOffDate ( ) : System.DateTime
GetNextOffDate ( System.DateTime moment ) : System.DateTime
GetNextOnDate ( ) : System.DateTime
GetNextOnDate ( System.DateTime moment ) : System.DateTime
Off ( System.DateTime moment ) : void
On ( System.DateTime moment ) : void
Start ( ) : void
ThermostatDemo ( ) : System

Private Methods

Method Description
DemoOff ( System.DateTime moment ) : void
DemoOn ( System.DateTime moment ) : void
GetScheduleWeek ( ) : ScheduleWeek
SetupHolidays ( ICollection holidays ) : void

Method Details

DemoOff() public method

public DemoOff ( ) : void
return void

DemoOn() public method

public DemoOn ( ) : void
return void

GetNextOffDate() public method

public GetNextOffDate ( ) : System.DateTime
return System.DateTime

GetNextOffDate() public method

public GetNextOffDate ( System.DateTime moment ) : System.DateTime
moment System.DateTime
return System.DateTime

GetNextOnDate() public method

public GetNextOnDate ( ) : System.DateTime
return System.DateTime

GetNextOnDate() public method

public GetNextOnDate ( System.DateTime moment ) : System.DateTime
moment System.DateTime
return System.DateTime

Off() public method

public Off ( System.DateTime moment ) : void
moment System.DateTime
return void

On() public method

public On ( System.DateTime moment ) : void
moment System.DateTime
return void

Start() public method

public Start ( ) : void
return void

ThermostatDemo() public method

public ThermostatDemo ( ) : System
return System