点击或拖拽改变大小

LogValueLimitDict 类

的词典集合类,用于多个数据的统计信息,例如可以统计多个温度变量的最大值,最小值,平均值
The dictionary collection class, used for statistical information of multiple data, for example, it can count the maximum, minimum, and average values of multiple temperature variables
继承层次
SystemObject
  HslCommunication.LogNetLogValueLimitDict

命名空间:  HslCommunication.LogNet
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public class LogValueLimitDict

LogValueLimitDict 类型公开以下成员。

构造函数
  名称说明
公共方法LogValueLimitDict
根据指定的存储模式,数据个数来实例化一个对象
According to the specified storage mode, the number of data to instantiate an object
Top
属性
  名称说明
公共属性ArrayLength
获取当前的统计类信息的数据总量
Get the total amount of current statistical information
公共属性GenerateMode
获取当前的统计类信息时间统计规则
Get the current statistical information time statistics rule
公共属性LogStat
获取当前词典类自身的日志统计对象,统计所有的元素的数据分析次数
Get the log statistics object of the current dictionary class itself, count the data analysis times of all elements
Top
方法
  名称说明
公共方法AddLogValueLimit
手动新增一个 LogValueLimit 对象,需要指定相关的关键字
Manually add a LogValueLimit object, you need to specify related keywords
公共方法AnalysisNewValue
新增一个数据用于分析,将会根据当前的时间来决定插入数据位置,如果数据位置发生了变化,则数据向左发送移动。如果没有移动或是移动完成后,最后一个数进行数据更新,包括最大值,最小值,平均值。
Add a new data for analysis, and will determine the position to insert the data according to the current time. If the data position changes, the data will be sent to the left. If there is no movement or after the movement is completed, data update for the last number, including maximum, minimum, and average.
公共方法AnalysisNewValueByTime
新增一个数据用于分析,将会指定的时间来决定插入数据位置,如果数据位置发生了变化,则数据向左发送移动。如果没有移动或是移动完成后,最后一个数进行数据更新,包括最大值,最小值,平均值。
dd a new data for analysis, and will determine the position to insert the data according to the specified time. If the data position changes, the data will be sent to the left. If there is no movement or after the movement is completed, data update for the last number, including maximum, minimum, and average.
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Object。)
公共方法GetKeys
获取所有的关键字的数据信息
Get data information of all keywords
公共方法GetLogValueLimit
根据给定的关键字信息,获取相关的 LogValueLimit 对象,进而执行很多的操作
According to the given keyword information, obtain related LogValueLimit objects, and then perform many operations
公共方法GetStatisticsSnapshot
获取当前的统计信息的数据快照,这是数据的副本,修改了里面的值不影响
Get a data snapshot of the current statistics. This is a copy of the data. Modifying the value inside does not affect
公共方法GetStatisticsSnapshotByTime
根据指定的时间范围来获取统计的数据信息快照,包含起始时间,包含结束时间,这是数据的副本,修改了里面的值不影响
Get a snapshot of statistical data information according to the specified time range, including the start time, also the end time. This is a copy of the data. Modifying the value inside does not affect
公共方法GetType (继承自 Object。)
公共方法LoadFromFile
从指定的文件加载对应的统计信息,通常是调用SaveToFile(String)方法存储的文件,如果文件不存在,将会跳过加载
Load the corresponding statistical information from the specified file, usually the file stored by calling the SaveToFile(String) method. If the file does not exist, the loading will be skipped
受保护的方法MemberwiseClone (继承自 Object。)
公共方法RemoveLogValueLimit
移除一个对象,需要指定相关的关键字,如果关键字本来就存在,返回 True, 如果不存在,返回 False
To remove a object, you need to specify the relevant keyword. If the keyword already exists, return True, if it does not exist, return False
公共方法SaveToFile
将当前的统计信息及数据内容写入到指定的文件里面,需要指定文件的路径名称
Write the current statistical information and data content to the specified file, you need to specify the path name of the file
公共方法ToString (继承自 Object。)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见