C# Класс CyrusBuilt.MonoPi.Components.Relays.RelayComponent

A component that is an abstraction of a relay.
Наследование: RelayBase
Показать файл Открыть проект

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

Метод Описание
RelayComponent ( ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Relays.RelayComponent class. This is the default constructor.

RelayComponent ( IGpio pin ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Relays.RelayComponent class with the CyrusBuilt.MonoPi.IO.GpioMem I/O pin to use.

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

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

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

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

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Relays.RelayComponent class with the CyrusBuilt.MonoPi.IO.GpioMem I/O pin to use.
/// cannot null. ///
public RelayComponent ( IGpio pin ) : System
pin IGpio /// The I/O pin to use. ///
Результат System