Свойство | Тип | Описание | |
---|---|---|---|
incomingPacket |
Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
OnNewSerialDataReceived ( object sender, |
||
ParseData ( string packetStr ) : void | ||
SendPacket ( PacketTypes ptype, int nodeId, int sensorID, Commands command, int payload ) : void | ||
SerialReaderWriter ( |
||
SerialReaderWriter ( int baudrate = 115200, string comport = "COM2" ) : System | ||
StartListening ( ) : void | ||
StopListening ( ) : void |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
ComputeParity ( ) : int |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public OnNewSerialDataReceived ( object sender, |
||
sender | object | |
e | ||
Результат | void |
public ParseData ( string packetStr ) : void | ||
packetStr | string | |
Результат | void |
public SendPacket ( PacketTypes ptype, int nodeId, int sensorID, Commands command, int payload ) : void | ||
ptype | PacketTypes | |
nodeId | int | |
sensorID | int | |
command | Commands | |
payload | int | |
Результат | void |
public SerialReaderWriter ( |
||
settings | ||
Результат | System |
public SerialReaderWriter ( int baudrate = 115200, string comport = "COM2" ) : System | ||
baudrate | int | |
comport | string | |
Результат | System |