NetworkWebApiDevice 属性 |
NetworkWebApiDevice 类型公开以下成员。
名称 | 说明 | |
---|---|---|
ByteTransform |
当前的数据变换机制,当你需要从字节数据转换类型数据的时候需要。 The current data transformation mechanism is required when you need to convert type data from byte data. | |
Client |
获取当前的HttpClinet的客户端 (继承自 NetworkWebApiBase。)Get the current HttpClinet client | |
ConnectionId |
当前连接的唯一ID号,默认为长度20的guid码加随机数组成,方便列表管理,也可以自己指定 The unique ID number of the current connection. The default is a 20-digit guid code plus a random number. | |
DefaultContentType |
默认的内容类型,如果为空,则不进行设置操作。例如设置为 "text/plain", "application/json", "text/html" 等等。 (继承自 NetworkWebApiBase。)The default content type, if it is empty, no setting operation will be performed. For example, set to "text/plain", "application/json", "text/html" and so on. | |
IpAddress |
获取或设置远程服务器的IP地址 (继承自 NetworkWebApiBase。)Gets or sets the IP address of the remote server | |
LogNet |
组件的日志工具,支持日志记录,只要实例化后,当前网络的基本信息,就以DEBUG等级进行输出 (继承自 NetworkWebApiBase。)The component's logging tool supports logging. As long as the instantiation of the basic network information, the output will be output at DEBUG | |
Password |
获取或设置当前的密码 (继承自 NetworkWebApiBase。)Get or set the current password | |
Port |
获取或设置远程服务器的端口号信息 (继承自 NetworkWebApiBase。)Gets or sets the port number information for the remote server | |
UseEncodingISO |
获取或设置是否使用ISO的编码信息,默认为 False (继承自 NetworkWebApiBase。)Get or set whether to use ISO encoding information, the default is False | |
UseHttps |
是否启用Https的协议访问,对于Https来说,端口号默认为 443 (继承自 NetworkWebApiBase。)Whether to enable Https protocol access, for Https, the port number defaults to 443 | |
UserName |
获取或设置当前的用户名 (继承自 NetworkWebApiBase。)Get or set the current username | |
WordLength |
一个字单位的数据表示的地址长度,西门子为2,三菱,欧姆龙,modbusTcp就为1,AB PLC无效 The address length represented by one word of data, Siemens is 2, Mitsubishi, Omron, modbusTcp is 1, AB PLC is invalid |