C# Class TinBot.Operations.SerialOutController

显示文件 Open project: marcodiniz/TinBot Class Usage Examples

Public Methods

Method Description
DataIn ( bool value ) : System.Threading.Tasks.Task
GetValue ( int index ) : bool
Latch ( ) : System.Threading.Tasks.Task
Reset ( bool value = false ) : System.Threading.Tasks.Task
SerialOutController ( RemoteDevice device, byte dataPin, byte clockPin, byte latchPin, byte numOuputs = 8 ) : System
SetValue ( int index, bool value, bool imediatlyWriteOutputs = true ) : System.Threading.Tasks.Task
WriteAllToOutputs ( ) : System.Threading.Tasks.Task

Method Details

DataIn() public method

public DataIn ( bool value ) : System.Threading.Tasks.Task
value bool
return System.Threading.Tasks.Task

GetValue() public method

public GetValue ( int index ) : bool
index int
return bool

Latch() public method

public Latch ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Reset() public method

public Reset ( bool value = false ) : System.Threading.Tasks.Task
value bool
return System.Threading.Tasks.Task

SerialOutController() public method

public SerialOutController ( RemoteDevice device, byte dataPin, byte clockPin, byte latchPin, byte numOuputs = 8 ) : System
device RemoteDevice
dataPin byte
clockPin byte
latchPin byte
numOuputs byte
return System

SetValue() public method

public SetValue ( int index, bool value, bool imediatlyWriteOutputs = true ) : System.Threading.Tasks.Task
index int
value bool
imediatlyWriteOutputs bool
return System.Threading.Tasks.Task

WriteAllToOutputs() public method

public WriteAllToOutputs ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task