메소드 | 설명 | |
---|---|---|
GetLevelPercentage ( ) : float |
Gets the current brightness level percentage.
|
|
GetLevelPercentage ( |
Gets the current brightness level percentage.
|
|
Off ( ) : void |
Switches the light off.
|
|
On ( ) : void |
Switches the light on.
|
메소드 | 설명 | |
---|---|---|
DimmableLightBase ( ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Lights.DimmableLightBase class. This is the default constructor.
|
|
OnLevelChanged ( |
Raises the level changed event.
|
|
OnStateChanged ( |
Raises the state changed event.
|
public GetLevelPercentage ( |
||
level | /// The brightness level. /// | |
리턴 | float |
protected OnLevelChanged ( |
||
e | /// The event arguments. /// | |
리턴 | void |
protected OnStateChanged ( |
||
e | /// The event arguments. /// | |
리턴 | void |