C# Class Clock.PAlarm

Manages all functions for alarms
Inheritance: Plugin.Plugin
Show file Open project: Silveryard/SmartHome

Public Methods

Method Description
OnPluginLoad ( ) : void

Plugin.Plugin.OnPluginLoad

OnPluginUnload ( ) : void

Plugin.Plugin.OnPluginUnload

Private Methods

Method Description
NetworkGetAlarm ( int alarm_id ) : IXPFile
NetworkGetAlarms ( ) : IXPFile
NetworkGetFullAlarms ( ) : IXPFile
NetworkRegisterAlarm ( string name, int hours, int minutes, int seconds, bool mon, bool tue, bool wed, bool thu, bool fri, bool sat, bool sun, bool enabled ) : int
NetworkRegisterToAlarmService ( Networking instance, string function ) : void
NetworkSetAlarmEnabled ( int alarm_id, bool enabled ) : void
NetworkSetAlarmName ( int alarm_id, string name ) : void
NetworkSetAlarmTime ( int alarm_id, int hours, int minutes, int seconds ) : void
NetworkSetAlarmWeekdays ( int alarm_id, bool mon, bool tue, bool wed, bool thu, bool fri, bool sat, bool sun ) : void
NetworkUnregisterAlarm ( int alarm_id ) : void
NetworkUnregisterFromAlarmService ( Networking instance ) : void

Method Details

OnPluginLoad() public method

Plugin.Plugin.OnPluginLoad
public OnPluginLoad ( ) : void
return void

OnPluginUnload() public method

Plugin.Plugin.OnPluginUnload
public OnPluginUnload ( ) : void
return void