프로퍼티 | 타입 | 설명 | |
---|---|---|---|
log | Logger |
메소드 | 설명 | |
---|---|---|
Run ( ) : void | ||
SerialController ( string portName, byte address ) : System | ||
Start ( ) : void | ||
Stop ( ) : void |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
lineManager_LineReceived ( object sender, |
||
serialPort_DataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void |
protected abstract CommandReceived ( string data ) : void | ||
data | string | |
리턴 | void |
protected SendSerialCommand ( byte cmd, byte data ) : void | ||
cmd | byte | |
data | byte | |
리턴 | void |
protected SendSerialCommand ( byte cmd, byte channel, byte data ) : void | ||
cmd | byte | |
channel | byte | |
data | byte | |
리턴 | void |
public SerialController ( string portName, byte address ) : System | ||
portName | string | |
address | byte | |
리턴 | System |