Method | Description | |
---|---|---|
Off ( ) : void |
Switches the device off.
|
|
On ( ) : void |
Switches the device on.
|
Method | Description | |
---|---|---|
OnStateChanged ( |
Raises the StateChanged event.
|
|
PowerBase ( ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Power.PowerBase class. This is the default constructor.
|
protected OnStateChanged ( |
||
e | /// The event arguments. /// | |
return | void |