Property | Type | Description | |
---|---|---|---|
log | Logger |
Method | Description | |
---|---|---|
Run ( ) : void | ||
SerialController ( string portName, byte address ) : System | ||
Start ( ) : void | ||
Stop ( ) : void |
Method | Description | |
---|---|---|
CommandReceived ( string data ) : void | ||
SendRaw ( byte rawData ) : void | ||
SendSerialCommand ( byte data ) : void | ||
SendSerialCommand ( byte cmd, byte data ) : void | ||
SendSerialCommand ( byte cmd, byte channel, byte data ) : void | ||
SendSerialCommand ( string data ) : void |
Method | Description | |
---|---|---|
lineManager_LineReceived ( object sender, |
||
serialPort_DataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void |
protected abstract CommandReceived ( string data ) : void | ||
data | string | |
return | void |
protected SendSerialCommand ( byte data ) : void | ||
data | byte | |
return | void |
protected SendSerialCommand ( byte cmd, byte data ) : void | ||
cmd | byte | |
data | byte | |
return | void |
protected SendSerialCommand ( byte cmd, byte channel, byte data ) : void | ||
cmd | byte | |
channel | byte | |
data | byte | |
return | void |
protected SendSerialCommand ( string data ) : void | ||
data | string | |
return | void |
public SerialController ( string portName, byte address ) : System | ||
portName | string | |
address | byte | |
return | System |