点击或拖拽改变大小

IReadWriteDeviceStation 属性

IReadWriteDeviceStation 类型公开以下成员。

属性
  名称说明
公共属性代码示例ByteTransform
当前的数据变换机制,当你需要从字节数据转换类型数据的时候需要。
The current data transformation mechanism is required when you need to convert type data from byte data.
(继承自 IReadWriteDevice。)
公共属性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。)
公共属性代码示例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
获取或设置当前设备站号信息,一般来说,需要在实例化之后设置本站号信息,在通信的时候也可以动态修改当前的站号信息
To obtain or set the station number information of the current device, in general, the station number information needs to be set after instantiation, and the current station number information can also be dynamically modified during communication
Top
参见