PipeSerialPort 属性 |
PipeSerialPort 类型公开以下成员。
名称 | 说明 | |
---|---|---|
AtLeastReceiveLength |
从串口中至少接收的字节长度信息,默认为1个字节
| |
CommunicationLock |
获取或设置当前管道的线程锁对象,默认是简单的一个互斥锁 (继承自 CommunicationPipe。)Gets or sets the thread lock object of the current pipeline, which defaults to a simple mutex | |
DecideWhetherQAMessageFunction |
用来决定当前接收的消息是否是问答服务的消息
(继承自 CommunicationPipe。) | |
DtrEnable |
获取或设置一个值,该值指示在串行通信中是否启用数据终端就绪 (Drt) 信号。 Gets or sets a value that indicates whether the Data Terminal Ready (DRT) signal is enabled in serial communication. | |
IsClearCacheBeforeRead |
是否在发送数据前清空缓冲数据,默认是false Whether to empty the buffer before sending data, the default is false | |
IsPersistentConnection |
获取或设置当前的管道是否是长连接,仅对于串口及TCP是有效的,默认都是长连接
(继承自 CommunicationPipe。) | |
ReceiveEmptyDataCount | ||
ReceiveTimeOut |
获取或设置接收服务器反馈的时间,如果为负数,则不接收反馈 (继承自 CommunicationPipe。)Gets or sets the time to receive server feedback, and if it is a negative number, does not receive feedback | |
RtsEnable |
获取或设置一个值,该值指示在串行通信中是否启用请求发送 (RTS) 信号。 Gets or sets a value indicating whether the request sending (RTS) signal is enabled in serial communication. | |
SleepTime |
获取或设置在正式接收对方返回数据前的时候,需要休息的时间,当设置为0的时候,不需要休息。 (继承自 CommunicationPipe。)Get or set the time required to rest before officially receiving the data from the other party. When it is set to 0, no rest is required. | |
UseServerActivePush |
获取或设置当前的管道是否激活从设备主动推送的功能,设置为 true 时支持主动从设备方接收数据信息 (继承自 CommunicationPipe。)Gets or sets whether the current pipeline activates the function of actively pushing data from the device. If this is set to true, it supports actively receiving data information from the device |