PanasonicHelper 方法 |
PanasonicHelper 类型公开以下成员。
名称 | 说明 | |
---|---|---|
AnalysisAddress |
解析数据地址,解析出地址类型,起始地址 Parse the data address, resolve the address type, start address | |
BuildReadCoils |
创建读取多个bool值得报文命令
| |
BuildReadCommand |
创建批量读取触点的报文指令 Create message instructions for batch reading contacts | |
BuildReadOneCoil |
创建读取离散触点的报文指令 Create message instructions for reading discrete contacts | |
BuildReadPlcModel |
构建获取PLC型号的报文命令
| |
BuildWriteCoils |
创建写入多个离散触点的报文指令
| |
BuildWriteCommand |
创建批量读取触点的报文指令 Create message instructions for batch reading contacts | |
BuildWriteOneCoil |
创建写入离散触点的报文指令 Create message instructions to write discrete contacts | |
CalculateComplexAddress |
位地址转换方法,101等同于10.1等同于10*16+1=161 Bit address conversion method, 101 is equivalent to 10.1 is equivalent to 10 * 16 + 1 = 161 | |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
ExtraActualBool |
检查从PLC反馈的数据,并返回正确的数据内容 Check the data feedback from the PLC and return the correct data content | |
ExtraActualData |
检查从PLC反馈的数据,并返回正确的数据内容 Check the data feedback from the PLC and return the correct data content | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
GetErrorDescription |
根据错误码获取到错误描述文本 Get the error description text according to the error code | |
GetHashCode | Serves as the default hash function. (继承自 Object。) | |
GetMcErrorDescription |
根据MC的错误码去查找对象描述信息
| |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
PackPanasonicCommand |
将松下的命令打包成带有%开头,CRC校验,CR结尾的完整的命令报文。如果参数 useExpandedHeader 设置为 Ture,则命令头使用 < 开头
| |
ToString | Returns a string that represents the current object. (继承自 Object。) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |