![]() | SerialPortEx 类 |
命名空间: Sweet.Common
SerialPortEx 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | SerialPortEx | 初始化 SerialPortEx 类的一个新实例 |
名称 | 说明 | |
---|---|---|
![]() | AllPortNames |
获取所有的串口名称
|
![]() | Com |
串口
|
![]() | DataType |
串口数据类型
|
![]() | IsOpen |
串口是否打开
|
![]() | LastString |
最后需要处理的字符串
|
![]() | PortName |
串口名称
|
名称 | 说明 | |
---|---|---|
![]() | CloseCom |
关闭串口
|
![]() | DealBytes |
处理数组
|
![]() | DealString |
处理字符串
|
![]() | Equals | (继承自 Object。) |
![]() | Finalize | (继承自 Object。) |
![]() | GetHashCode | (继承自 Object。) |
![]() | GetType | (继承自 Object。) |
![]() | MemberwiseClone | (继承自 Object。) |
![]() | OpenCom |
打开串口
|
![]() | SendCommand(Byte) |
发送命令
|
![]() | SendCommand(String, Boolean) |
发送命令
|
![]() | ToBytes |
字符串转换为数组
|
![]() | ToHexString |
数组转换为字符串
|
![]() | ToString | (继承自 Object。) |
名称 | 说明 | |
---|---|---|
![]() | ConsoleWriteLine | (由 SystemEx 定义。) |
![]() | WriteConsole | (由 UConsole 定义。) |