MegMeetTcpNetReadBool 方法 |
名称 | 说明 | |
---|---|---|
ReadBool(String) |
读取单个的Boolean数据信息 (继承自 DeviceCommunication。)Read a single Boolean data message | |
ReadBool(String, UInt16) |
批量读取线圈或是离散的数据信息,需要指定地址和长度,具体的结果取决于实现,如果富文本地址不指定,默认使用的功能码是 0x01 (重写 ModbusTcpNetReadBool(String, UInt16).)To read coils or discrete data in batches, you need to specify the address and length. The specific result depends on the implementation. If the rich text address is not specified, the default function code is 0x01. |