Свойство | Type | Description | |
---|---|---|---|
log | Logger |
Méthode | Description | |
---|---|---|
Run ( ) : void | ||
SerialController ( string portName, byte address ) : System | ||
Start ( ) : void | ||
Stop ( ) : void |
Méthode | 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 |
Méthode | Description | |
---|---|---|
lineManager_LineReceived ( object sender, |
||
serialPort_DataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void |
protected abstract CommandReceived ( string data ) : void | ||
data | string | |
Résultat | void |
protected SendSerialCommand ( byte data ) : void | ||
data | byte | |
Résultat | void |
protected SendSerialCommand ( byte cmd, byte data ) : void | ||
cmd | byte | |
data | byte | |
Résultat | void |
protected SendSerialCommand ( byte cmd, byte channel, byte data ) : void | ||
cmd | byte | |
channel | byte | |
data | byte | |
Résultat | void |
protected SendSerialCommand ( string data ) : void | ||
data | string | |
Résultat | void |
public SerialController ( string portName, byte address ) : System | ||
portName | string | |
address | byte | |
Résultat | System |