Метод | Описание | |
---|---|---|
CanUsbHardware ( ) : System |
Initializes a new instance of the SolarCar.SyncSerialPort class.
|
|
Close ( ) : void |
Releases the SerialPort and performs other cleanup operations before the SolarCar.SyncSerialPort is reclaimed by garbage collection.
|
|
Dispose ( ) : void | ||
LockReadData ( ) : void |
Event Handler for this.port's SerialPort.DataReceived event. Acquires the SerialPort, reads data into buffer. It is invoked on a separate thread by SerialPort. Lines terminated by the NewLine character are passed to the LineReceivedDelegate.
|
|
LockWriteLine ( string line ) : void |
Acquire the SerialPort, and write a line.
|
|
Open ( ) : void |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public LockWriteLine ( string line ) : void | ||
line | string | Line. |
Результат | void |