NetworkDeviceSoloBaseTTransform 属性 |
NetworkDeviceSoloBaseTTransform 泛型公开以下成员。
名称 | 说明 | |
---|---|---|
AlienSession |
当前的异形连接对象,如果设置了异形连接的话,仅用于异形模式的情况使用 (继承自 NetworkDoubleBaseTNetMessage, TTransform。)The current alien connection object, if alien connection is set, is only used in the case of alien mode | |
ByteTransform |
当前的数据变换机制,当你需要从字节数据转换类型数据的时候需要。 (继承自 NetworkDoubleBaseTNetMessage, TTransform。)The current data transformation mechanism is required when you need to convert type data from byte data. | |
ConnectionId |
当前连接的唯一ID号,默认为长度20的guid码加随机数组成,方便列表管理,也可以自己指定 (继承自 NetworkDoubleBaseTNetMessage, TTransform。)The unique ID number of the current connection. The default is a 20-digit guid code plus a random number. | |
ConnectTimeOut |
获取或设置连接的超时时间,单位是毫秒 (继承自 NetworkDoubleBaseTNetMessage, TTransform。)Gets or sets the timeout for the connection, in milliseconds | |
IpAddress |
获取或是设置远程服务器的IP地址,如果是本机测试,那么需要设置为127.0.0.1 (继承自 NetworkDoubleBaseTNetMessage, TTransform。)Get or set the IP address of the remote server. If it is a local test, then it needs to be set to 127.0.0.1 | |
LogNet |
组件的日志工具,支持日志记录,只要实例化后,当前网络的基本信息,就以DEBUG等级进行输出 (继承自 NetworkBase。)The component's logging tool supports logging. As long as the instantiation of the basic network information, the output will be output at DEBUG | |
Port |
获取或设置服务器的端口号,具体的值需要取决于对方的配置 (继承自 NetworkDoubleBaseTNetMessage, TTransform。)Gets or sets the port number of the server. The specific value depends on the configuration of the other party. | |
ReceiveTimeOut |
获取或设置接收服务器反馈的时间,如果为负数,则不接收反馈 (继承自 NetworkDoubleBaseTNetMessage, TTransform。)Gets or sets the time to receive server feedback, and if it is a negative number, does not receive feedback | |
SleepTime |
连续串口缓冲数据检测的间隔时间,默认20ms,该值越小,通信速度越快,但是越不稳定。 Continuous serial port buffer data detection interval, the default 20ms, the smaller the value, the faster the communication, but the more unstable. | |
Token |
网络类的身份令牌,在hsl协议的模式下会有效,在和设备进行通信的时候是无效的 (继承自 NetworkBase。)Network-type identity tokens will be valid in the hsl protocol mode and will not be valid when communicating with the device | |
WordLength |
一个字单位的数据表示的地址长度,西门子为2,三菱,欧姆龙,modbusTcp就为1,AB PLC无效 (继承自 NetworkDeviceBaseTNetMessage, TTransform。)The address length represented by one word of data, Siemens is 2, Mitsubishi, Omron, modbusTcp is 1, AB PLC is invalid |