DLT698Helper 类 |
命名空间: HslCommunication.Instrument.DLT.Helper
DLT698Helper 类型公开以下成员。
名称 | 说明 | |
---|---|---|
DLT698Helper | 初始化 DLT698Helper 类的一个新实例 |
名称 | 说明 | |
---|---|---|
ActiveDeveice |
激活设备的命令,只发送数据到设备,不等待设备数据返回 The command to activate the device, only send data to the device, do not wait for the device data to return | |
BuildEntireCommand |
将指定的地址信息,控制码信息,数据域信息打包成完整的报文命令
| |
BuildReadSingleObject |
构建读取单个对象的报文数据
| |
BuildWriteSingleObject |
构建单个写得对象的数据操作
| |
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。) | |
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。) | |
PackCommandWithHeader |
对当前的命令进行打包处理,通常是携带命令头内容,标记当前的命令的长度信息,需要进行重写,否则默认不打包 The current command is packaged, usually carrying the content of the command header, marking the length of the current command, and it needs to be rewritten, otherwise it is not packaged by default | |
Read |
根据指定的数据标识来读取相关的原始数据信息,地址标识根据手册来,从高位到地位,例如 00-00-00-00,分割符可以任意特殊字符或是没有分隔符。 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 00-00-00-00. The separator can be any special character or no separator. | |
ReadAddress |
读取设备的通信地址,仅支持点对点通讯的情况,返回地址域数据,例如:149100007290 Read the communication address of the device, only support point-to-point communication, and return the address field data, for example: 149100007290 | |
ReadByApdu |
根据传入的APDU的命令读取原始的字节数据返回,并检查返回的字节数据是否合法 Read the original byte data return according to the incoming APDU command, and check whether the returned byte data is valid | |
ReadByApduAsync |
根据传入的APDU的命令读取原始的字节数据返回,并检查返回的字节数据是否合法 Read the original byte data return according to the incoming APDU command, and check whether the returned byte data is valid | |
ReadStringArray |
读取指定地址的所有的字符串数据信息,一般来说,一个地址只有一个数据,当属性为数组或是结构体的时候,存在多个数据,具体几个数据,需要根据
| |
ToString | Returns a string that represents the current object. (继承自 Object。) | |
Write |
根据指定的数据标识来写入相关的原始数据信息,地址标识根据手册来,从高位到地位,例如 00-00-00-00,分割符可以任意特殊字符或是没有分隔符。 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 00-00-00-00. The separator can be any special character or no separator. | |
WriteAddress |
写入设备的地址域信息,仅支持点对点通讯的情况,需要指定地址域信息,例如:149100007290 Write the address domain information of the device, only support point-to-point communication, you need to specify the address domain information, for example: 149100007290 | |
WriteDateTime |
写入设备的时间信息到指定的地址,返回是否成功,使用的时间类型为 0x1C, 有效数据为 年月日时分秒。 Write the time information of the device to the specified address, return whether it is successful, the time type used is 0x1C, and the valid data is year, month, day, hour, minute, and second. |
名称 | 说明 | |
---|---|---|
ActionRequest |
操作请求
| |
ActionResponse |
操作响应
| |
ConnectRequest |
建立应用连接请求
| |
ConnectResponse |
建立应用连接响应
| |
GetRequest |
读取请求
| |
GetResponse |
读取响应
| |
LinkRequest |
预连接请求
| |
LinkResponse |
预连接响应
| |
ProxyResponse |
代理响应
| |
ReleaseNotification |
断开应用连接通知
| |
ReleaseRequest |
断开应用连接请求
| |
ReleaseResponse |
断开应用连接响应
| |
ReportNotification |
上报通知
| |
ReportRequest |
操作请求
| |
ReportResponse |
代理请求
| |
SecurityResponse |
安全响应
| |
SecurityResquest |
安全请求
| |
SetRequest |
设置请求
| |
SetResponse |
设置响应
|
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |