点击或拖拽改变大小

IReadWriteA3C 属性

IReadWriteA3C 类型公开以下成员。

属性
  名称说明
公共属性ConnectionId
当前连接的唯一ID号,默认为长度20的guid码加随机数组成,方便列表管理,也可以自己指定
The unique ID number of the current connection. The default is a 20-digit guid code plus a random number.
(继承自 IReadWriteNet。)
公共属性EnableWriteBitToWordRegister
是否开启支持写入位到字寄存器的功能,该功能先读取字寄存器的字数据,然后修改其中的位,再写入回去,可能存在脏数据的风险
Whether to enable supporting the function of writing bit-to-word registers, which first reads the word data of the word register, then modifies the bits in it, and then writes back, there may be a risk of dirty data
公共属性Format
当前的A3C协议的格式信息,可选格式1,2,3,4,默认格式1
Format information of the current A3C protocol, optional format 1, 2, 3, 4, default format 1
公共属性代码示例LogNet
组件的日志工具,支持日志记录,只要实例化后,当前网络的基本信息,就以DEBUG等级进行输出
The component's logging tool supports logging. As long as the instantiation of the basic network information, the output will be output at DEBUG
(继承自 IReadWriteNet。)
公共属性Station
当前A3C协议的站编号信息
Station number information of the current A3C protocol
公共属性SumCheck
当前的A3C协议是否使用和校验,默认使用
Whether the current A3C protocol uses sum check, it is used by default
Top
参见