CJT188Helper 类 |
命名空间: HslCommunication.Instrument.CJT.Helper
CJT188Helper 类型公开以下成员。
名称 | 说明 | |
---|---|---|
CJT188Helper | 初始化 CJT188Helper 类的一个新实例 |
名称 | 说明 | |
---|---|---|
AnalysisBytesAddress |
从用户输入的地址信息中解析出真实的地址及数据标识
| |
Build188EntireCommand |
将指定的地址信息,控制码信息,数据域信息打包成完整的报文命令
| |
CheckResponse |
检查当前的反馈数据信息是否正确
| |
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。) | |
GetAddressByteFromString |
将地址解析成BCD码的地址,并且扩充到14位,不够的补0操作
| |
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。) | |
Read |
根据指定的数据标识来读取相关的原始数据信息,地址标识根据手册来,从高位到地位,例如 91-1F,分割符可以任意特殊字符或是没有分隔符。 Read the relevant original data information according to the specified data identifier. The address identifier is based on the manual, from high to position, such as 91-1F. The separator can be any special character or no separator. | |
ReadAddress |
读取设备的通信地址,仅支持点对点通讯的情况,返回地址域数据,例如:14910000729012 Read the communication address of the device, only support point-to-point communication, and return the address field data, for example: 149100007290 | |
ReadStringArray |
读取指定地址的所有的字符串数据信息,一般来说,一个地址只有一个数据
| |
ReadValueT |
读取数据的数组信息,需要指定如何从字符串转换的功能方法
| |
ToString | Returns a string that represents the current object. (继承自 Object。) | |
Write |
根据指定的数据标识来写入相关的原始数据信息,地址标识根据手册来,从高位到地位,例如 90-1F,分割符可以任意特殊字符或是没有分隔符。 Read the relevant original data information according to the specified data identifier. The address identifier is based on the manual, from high to position, such as 90-1F. The separator can be any special character or no separator. | |
WriteAddress |
写入设备的地址域信息,仅支持点对点通讯的情况,需要指定地址域信息,例如:14910000729011 Write the address domain information of the device, only support point-to-point communication, you need to specify the address domain information, for example: 14910000729011 |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |