C# Class Kreyos.Classes.Components.AlarmView

Exibir arquivo Open project: kreyosopensource/KreyosWP Class Usage Examples

Public Methods

Method Description
AlarmView ( SilentAlarmScreen p_context, int p_index ) : System
AlarmView ( SilentAlarmScreen p_context, int p_index, bool p_bIsOn ) : System
GetIndex ( string p_name ) : int

Returns the Index by trimmings

SetAlarm ( System.DateTime p_alarm ) : void
UpdateView ( bool p_bIsOn ) : void

Method Details

AlarmView() public method

public AlarmView ( SilentAlarmScreen p_context, int p_index ) : System
p_context Kreyos.Classes.Screens.SilentAlarmScreen
p_index int
return System

AlarmView() public method

public AlarmView ( SilentAlarmScreen p_context, int p_index, bool p_bIsOn ) : System
p_context Kreyos.Classes.Screens.SilentAlarmScreen
p_index int
p_bIsOn bool
return System

GetIndex() public static method

Returns the Index by trimmings
public static GetIndex ( string p_name ) : int
p_name string /// The p_name is the name of the ToggleSwitchButtons which follows this pattern. /// 0 /// 1 /// 2 ///
return int

SetAlarm() public method

public SetAlarm ( System.DateTime p_alarm ) : void
p_alarm System.DateTime
return void

UpdateView() public method

public UpdateView ( bool p_bIsOn ) : void
p_bIsOn bool
return void