ISerial |
public interface ISerialPortClient : IToolkitBase, IModuleBase
ISerialPortClient 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| Connect | 连接 | |
| Disconnect | 断开连接 | |
| OnDataReceived | 触发数据接收事件 | |
| ReadBytes | 读取字节数组 | |
| Send(Byte) | 发送 | |
| Send(String) | 发送 | |
| SendWait(Byte, Int32) | 发送等待结果 | |
| SendWait(String, Int32) | 发送等待结果 | |
| UseConfig | 应用配置 |
| 名称 | 说明 | |
|---|---|---|
| DataReceived | 数据接收事件 |