Class Switch
Builds switches, inferring the line's type.
public static class Switch
- Inheritance
-
Switch
- Inherited Members
Methods
ActiveHigh<TLine>(TLine)
A switch whose part is asserted by a high level.
public static Switch<TLine> ActiveHigh<TLine>(TLine line) where TLine : IOutputLine
Parameters
lineTLineThe line.
Returns
- Switch<TLine>
The switch.
Type Parameters
TLineThe line the part is wired to.
ActiveLow<TLine>(TLine)
A switch whose part is asserted by a low level, the wiring of most relay boards.
public static Switch<TLine> ActiveLow<TLine>(TLine line) where TLine : IOutputLine
Parameters
lineTLineThe line.
Returns
- Switch<TLine>
The switch.
Type Parameters
TLineThe line the part is wired to.