点击或拖拽改变大小

DLT645Helper 方法

DLT645Helper 类型公开以下成员。

方法
  名称说明
公共方法静态成员AnalysisBytesAddress
从用户输入的地址信息中解析出真实的地址及数据标识
公共方法静态成员AnalysisIntegerAddress
从用户输入的地址信息中解析出真实的地址及数据标识
公共方法静态成员BroadcastTime
广播指定的时间,强制从站与主站时间同步,传入DateTime时间对象,没有数据返回。
Broadcast the specified time, force the slave station to synchronize with the master station time, pass in the DateTime time object, and no data will be returned.
公共方法静态成员BroadcastTimeAsync
广播指定的时间,强制从站与主站时间同步,传入DateTime时间对象,没有数据返回。
Broadcast the specified time, force the slave station to synchronize with the master station time, pass in the DateTime time object, and no data will be returned.
公共方法静态成员BuildDlt645EntireCommand
将指定的地址信息,控制码信息,数据域信息打包成完整的报文命令
公共方法静态成员ChangeBaudRate
更改通信速率,波特率可选 600,1200,2400,4800,9600,19200,其他值无效,可以携带地址域信息,s=1;9600
Change the communication rate, the baud rate can be 600, 1200, 2400, 4800, 9600, 19200, other values are invalid, you can carry address domain information, s=1;9600
公共方法静态成员ChangeBaudRateAsync
更改通信速率,波特率可选 600,1200,2400,4800,9600,19200,其他值无效,可以携带地址域信息,s=1;9600
Change the communication rate, the baud rate can be 600, 1200, 2400, 4800, 9600, 19200, other values are invalid, you can carry address domain information, s=1;9600
公共方法静态成员CheckReceiveDataComplete
判断DLT645的报文是否是完整的
公共方法静态成员CheckResponse
检查当前的DLT仪表设备反馈数据信息是否正确
公共方法静态成员CheckResponseCS
检查设备返回的报文信息,是否校验码确认通过
公共方法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。)
公共方法静态成员FindHeadCode68H
寻找0x68字节开头的位置信息
公共方法静态成员FreezeCommand
对设备发送冻结命令,默认点对点操作,地址域为 99999999999999 时为广播,数据域格式说明:MMDDhhmm(月日时分), 99DDhhmm表示月为周期定时冻结,9999hhmm表示日为周期定时冻结,999999mm表示以小时为周期定时冻结,99999999表示瞬时冻结
Send a freeze command to the device, the default point-to-point operation, when the address field is 9999999999999, it is broadcast, and the data field format description: MMDDhhmm (month, day, hour and minute), 99DDhhmm means the month is the periodic fixed freeze, 9999hhmm means the day is the periodic periodic freeze, and 999999mm means the hour It is periodic timed freezing, 99999999 means instantaneous freezing
公共方法静态成员FreezeCommandAsync
对设备发送冻结命令,默认点对点操作,地址域为 99999999999999 时为广播,数据域格式说明:MMDDhhmm(月日时分), 99DDhhmm表示月为周期定时冻结,9999hhmm表示日为周期定时冻结,999999mm表示以小时为周期定时冻结,99999999表示瞬时冻结
Send a freeze command to the device, the default point-to-point operation, when the address field is 9999999999999, it is broadcast, and the data field format description: MMDDhhmm (month, day, hour and minute), 99DDhhmm means the month is the periodic fixed freeze, 9999hhmm means the day is the periodic periodic freeze, and 999999mm means the hour It is periodic timed freezing, 99999999 means instantaneous freezing
公共方法静态成员Function1C
功能码1C的操作,主要用来控制跳闸(控制类型1A),合闸允许(控制类型1B)
公共方法静态成员GetAddressByteFromString
将地址解析成BCD码的地址,并且扩充到12位,不够的补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
根据指定的数据标识来读取相关的原始数据信息,地址标识根据手册来,从高位到地位,例如 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
公共方法静态成员ReadAddressAsync
读取设备的通信地址,仅支持点对点通讯的情况,返回地址域数据,例如:149100007290
Read the communication address of the device, only support point-to-point communication, and return the address field data, for example: 149100007290
公共方法静态成员ReadAsync
根据指定的数据标识来读取相关的原始数据信息,地址标识根据手册来,从高位到地位,例如 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.
公共方法静态成员ReadDouble
读取指定地址的所有的double数据信息,一般来说,一个地址只有一个数据,但是少部分的地址存在多个数据,然后全部转换为double数据信息
Read all the double data information of the specified address, in general, an address has only one data, but a small number of addresses exist multiple data, and then all converted to double data information
公共方法静态成员ReadDoubleAsync
读取指定地址的所有的double数据信息,一般来说,一个地址只有一个数据,但是少部分的地址存在多个数据,然后全部转换为double数据信息
Read all the double data information of the specified address, in general, an address has only one data, but a small number of addresses exist multiple data, and then all converted to double data information
公共方法静态成员ReadStringArray
读取指定地址的所有的字符串数据信息,一般来说,一个地址只有一个数据,但是少部分的地址存在多个数据,例如 01-01-00-00 正向有功总需求及发生时间
Read all the string data information of the specified address, in general, there is only one data for one address, but there are multiple data for a small number of addresses, such as 01-01-00-00 Forward active total demand and occurrence time
公共方法静态成员ReadStringArrayAsync
读取指定地址的所有的字符串数据信息,一般来说,一个地址只有一个数据,但是少部分的地址存在多个数据,例如 01-01-00-00 正向有功总需求及发生时间
Read all the string data information of the specified address, in general, there is only one data for one address, but there are multiple data for a small number of addresses, such as 01-01-00-00 Forward active total demand and occurrence time
公共方法ToString
Returns a string that represents the current object.
(继承自 Object。)
公共方法静态成员Write(IDlt645, String, String, String, Byte)
根据指定的数据标识来写入相关的原始数据信息,地址标识根据手册来,从高位到地位,例如 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.
公共方法静态成员Write(IDlt645, String, String, String, String)
将指定的数据写入到仪表中,,地址标识根据手册来,从高位到地位,例如 00-00-00-00,分割符可以任意特殊字符或是没有分隔符。
Write the data to the gauge, address identification according to the manual, from high bit to position, such as 00-00-00-00, the separator can be any special character or no delimiter.
公共方法静态成员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
公共方法静态成员WriteAddressAsync
写入设备的地址域信息,仅支持点对点通讯的情况,需要指定地址域信息,例如: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
公共方法静态成员WriteAsync(IDlt645, String, String, String, Byte)
根据指定的数据标识来写入相关的原始数据信息,地址标识根据手册来,从高位到地位,例如 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.
公共方法静态成员WriteAsync(IDlt645, String, String, String, String)
将指定的数据写入到仪表中,,地址标识根据手册来,从高位到地位,例如 00-00-00-00,分割符可以任意特殊字符或是没有分隔符。
Write the data to the gauge, address identification according to the manual, from high bit to position, such as 00-00-00-00, the separator can be any special character or no delimiter.
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见