Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Enum ¶
type Enum uint
Enum pseudo-type.
const ( CmdDummy Enum = iota // CmdDummy does nothing, but prevents errors when closing the channel. CmdSpeed1 // CmdSpeed1 identifies the speed 1 request command CmdSpeed2 // CmdSpeed2 identifies the speed 2 request command CmdSpeed3 // CmdSpeed3 identifies the speed 3 request command CmdAway // CmdAway identifies the away request command CmdAuto // CmdAuto identifies the auto request command CmdTimer15 // CmdTimer15 identifies the timer request command (10') CmdTimer30 // CmdTimer30 identifies the timer request command (30') CmdTimer60 // CmdTimer60 identifies the timer request command (60') )
Enumeration of commands.
type VentilationControllerService ¶
type VentilationControllerService struct {
// contains filtered or unexported fields
}
VentilationControllerService implements the service for controlling the ventilation and reporting its state.
func GetVentilationControllerService ¶
func GetVentilationControllerService() *VentilationControllerService
GetVentilationControllerService returns the one and only VentilationControllerServiceImpl instance.
func (*VentilationControllerService) SendCommand ¶
func (d *VentilationControllerService) SendCommand(command Enum)
func (*VentilationControllerService) Start ¶
func (d *VentilationControllerService) Start()
Start all goroutines.
func (*VentilationControllerService) Stop ¶
func (d *VentilationControllerService) Stop()
Stop all goroutines, gracefully.
Click to show internal directories.
Click to hide internal directories.