C# Класс CyrusBuilt.MonoPi.Components.Power.PowerBase

Base class for power control device abstraction components.
Наследование: ComponentBase, IPower
Показать файл Открыть проект

Открытые методы

Метод Описание
Off ( ) : void

Switches the device off.

On ( ) : void

Switches the device on.

Защищенные методы

Метод Описание
OnStateChanged ( PowerStateChangeEventArgs e ) : void

Raises the StateChanged event.

PowerBase ( ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Power.PowerBase class. This is the default constructor.

Описание методов

Off() публичный Метод

Switches the device off.
public Off ( ) : void
Результат void

On() публичный Метод

Switches the device on.
public On ( ) : void
Результат void

OnStateChanged() защищенный Метод

Raises the StateChanged event.
protected OnStateChanged ( PowerStateChangeEventArgs e ) : void
e PowerStateChangeEventArgs /// The event arguments. ///
Результат void

PowerBase() защищенный Метод

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Power.PowerBase class. This is the default constructor.
protected PowerBase ( ) : System
Результат System