点击或拖拽改变大小

ISerialPortClient 接口

串口客户端

命名空间: AT.Librarys.Container.Toolkit.Communication
程序集: AT.Librarys.Container (在 AT.Librarys.Container.dll 中) 版本:23.7.2405.1017 (23.07.2405.1017)
语法
C#
public interface ISerialPortClient : IToolkitBase, 
	IModuleBase

ISerialPortClient 类型公开以下成员。

属性
 名称说明
公共属性Connected 是否是连接状态
Top
方法
 名称说明
公共方法Connect 连接
公共方法Disconnect 断开连接
公共方法OnDataReceived 触发数据接收事件
公共方法ReadBytes 读取字节数组
公共方法Send(Byte) 发送
公共方法Send(String) 发送
公共方法SendWait(Byte, Int32) 发送等待结果
公共方法SendWait(String, Int32) 发送等待结果
公共方法UseConfig 应用配置
Top
事件
 名称说明
公共事件DataReceived 数据接收事件
Top
参见