| OmronHostLinkHelper 方法 | 
OmronHostLinkHelper 类型公开以下成员。
 方法
方法| 名称 | 说明 | |
|---|---|---|
|  | Equals | Determines whether the specified object is equal to the current object.(继承自 Object。) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(继承自 Object。) | 
|   | GetErrorText | 
            根据错误信息获取当前的文本描述信息
             | 
|  | GetHashCode | Serves as the default hash function.(继承自 Object。) | 
|  | GetType | Gets the Type of the current instance.(继承自 Object。) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(继承自 Object。) | 
|   | PackCommand | 
            将 fins 命令的报文打包成 HostLink 格式的报文信息,打包之后的结果可以直接发送给PLC Pack the message of the fins command into the message information in the HostLink format, and the packaged result can be sent directly to the PLC | 
|   | Read(IHostLink, String) | 
            从欧姆龙PLC中读取多个地址的数据,返回读取结果,每个地址按照字为单位读取,地址格式为"D100","C100","W100","H100","A100"
             | 
|    | Read(IHostLink, String, UInt16) | 
            从欧姆龙PLC中读取想要的数据,返回读取结果,读取长度的单位为字,地址格式为"D100","C100","W100","H100","A100" Read the desired data from the Omron PLC and return the read result. The unit of the read length is word. The address format is "D100", "C100", "W100", "H100", "A100" | 
|   | ReadAsync(IHostLink, String) | 
            从欧姆龙PLC中读取多个地址的数据,返回读取结果,每个地址按照字为单位读取,地址格式为"D100","C100","W100","H100","A100"
             | 
|    | ReadAsync(IHostLink, String, UInt16) | 
            从欧姆龙PLC中读取想要的数据,返回读取结果,读取长度的单位为字,地址格式为"D100","C100","W100","H100","A100" Read the desired data from the Omron PLC and return the read result. The unit of the read length is word. The address format is "D100", "C100", "W100", "H100", "A100" | 
|    | ReadBool | 
            从欧姆龙PLC中批量读取位软元件,地址格式为"D100.0","C100.0","W100.0","H100.0","A100.0" Read bit devices in batches from Omron PLC with address format "D100.0", "C100.0", "W100.0", "H100.0", "A100.0" | 
|    | ReadBoolAsync | 
            从欧姆龙PLC中批量读取位软元件,地址格式为"D100.0","C100.0","W100.0","H100.0","A100.0" Read bit devices in batches from Omron PLC with address format "D100.0", "C100.0", "W100.0", "H100.0", "A100.0" | 
|   | ResponseValidAnalysis | 
            验证欧姆龙的Fins-TCP返回的数据是否正确的数据,如果正确的话,并返回所有的数据内容
             | 
|  | ToString | Returns a string that represents the current object.(继承自 Object。) | 
|    | Write(IHostLink, String, Boolean) | 
            向PLC中位软元件写入bool数组,返回是否写入成功,比如你写入D100,values[0]对应D100.0,地址格式为"D100.0","C100.0","W100.0","H100.0","A100.0" Write the bool array to the PLC's median device and return whether the write was successful. For example, if you write D100, values [0] corresponds to D100.0 and the address format is "D100.0", "C100.0", "W100. 0 "," H100.0 "," A100.0 " | 
|    | Write(IHostLink, String, Byte) | 
            向PLC写入数据,数据格式为原始的字节类型,地址格式为"D100","C100","W100","H100","A100" Write data to PLC, the data format is the original byte type, and the address format is "D100", "C100", "W100", "H100", "A100" | 
|    | WriteAsync(IHostLink, String, Boolean) | 
            向PLC中位软元件写入bool数组,返回是否写入成功,比如你写入D100,values[0]对应D100.0,地址格式为"D100.0","C100.0","W100.0","H100.0","A100.0" Write the bool array to the PLC's median device and return whether the write was successful. For example, if you write D100, values [0] corresponds to D100.0 and the address format is "D100.0", "C100.0", "W100. 0 "," H100.0 "," A100.0 " | 
|    | WriteAsync(IHostLink, String, Byte) | 
            向PLC写入数据,数据格式为原始的字节类型,地址格式为"D100","C100","W100","H100","A100" Write data to PLC, the data format is the original byte type, and the address format is "D100", "C100", "W100", "H100", "A100" | 
 扩展方法
扩展方法| 名称 | 说明 | |
|---|---|---|
|  | ToJsonString | 
            获取当前对象的JSON格式表示的字符串。(由 HslExtension 定义。) Gets the string represented by the JSON format of the current object. | 
 参见
参见