프로퍼티 | 타입 | 설명 | |
---|---|---|---|
disposed | bool | ||
logger | Logger | ||
receivedBytes | List |
||
receivedResetEvent |
메소드 | 설명 | |
---|---|---|
Dispose ( ) : void | ||
SvetovodConnection ( string port ) : NLog |
메소드 | 설명 | |
---|---|---|
CreateBody ( byte data ) : byte[] | ||
CreateHeader ( byte sysnum, byte com1, byte com2, byte com3 ) : byte[] | ||
Dispose ( bool disposing ) : void | ||
OnDispose ( ) : void | ||
WriteToPort ( byte bytes ) : void | ||
WriteToPort ( byte header, byte body ) : void |
메소드 | 설명 | |
---|---|---|
CleanupReceivedData ( List |
||
High ( int num ) : byte | ||
Low ( int num ) : byte | ||
Port_DataReceived ( object sender, System.IO.Ports.SerialDataReceivedEventArgs e ) : void | ||
Port_ErrorReceived ( object sender, System.IO.Ports.SerialErrorReceivedEventArgs e ) : void |
protected static CreateHeader ( byte sysnum, byte com1, byte com2, byte com3 ) : byte[] | ||
sysnum | byte | |
com1 | byte | |
com2 | byte | |
com3 | byte | |
리턴 | byte[] |
protected WriteToPort ( byte header, byte body ) : void | ||
header | byte | |
body | byte | |
리턴 | void |