LogStatisticsBaseT 类 |
命名空间: HslCommunication.LogNet
LogStatisticsBaseT 类型公开以下成员。
名称 | 说明 | |
---|---|---|
LogStatisticsBaseT |
实例化一个新的数据统计内容,需要指定当前的时间统计方式,按小时,按天,按月等等,还需要指定统计的数据数量,比如按天统计30天。 To instantiate a new data statistics content, you need to specify the current time statistics method, by hour, by day, by month, etc., and also need to specify the number of statistics, such as 30 days by day. |
名称 | 说明 | |
---|---|---|
ArrayLength |
获取当前的统计类信息的数据总量 Get the total amount of current statistical information | |
GenerateMode |
获取当前的统计类信息时间统计规则 Get the current statistical information time statistics rule |
名称 | 说明 | |
---|---|---|
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。) | |
GetDataMarkFromDateTime |
根据指定的时间,获取到该时间指定的数据标记信息 According to the specified time, get the data mark information specified at that time | |
GetDataMarkFromTimeNow |
根据当前数据统计的时间模式,获取最新的数据标记信息 Obtain the latest data mark information according to the time mode of current data statistics | |
GetHashCode | Serves as the default hash function. (继承自 Object。) | |
GetStatisticsSnapAndDataMark |
获取当前的统计信息的数据快照,这是数据的副本,修改了里面的值不影响 Get a data snapshot of the current statistics. This is a copy of the data. Modifying the value inside does not affect | |
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 | Gets the Type of the current instance. (继承自 Object。) | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
Reset |
重置当前的统计信息,需要指定统计的数据内容,最后一个数据的标记信息,本方法主要用于还原统计信息 To reset the current statistical information, you need to specify the content of the statistical data, and the tag information of the last data. This method is mainly used to restore statistical information | |
StatisticsCustomAction(FuncT, T) |
新增一个统计信息,将会根据当前的时间来决定插入数据位置,如果数据位置发生了变化,则数据向左发送移动。如果没有移动或是移动完成后,最后一个数进行自定义的数据操作 Adding a new statistical information 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, Custom data operations on the last number | |
StatisticsCustomAction(FuncT, T, DateTime) |
新增一个统计信息,将会根据当前的时间来决定插入数据位置,如果数据位置发生了变化,则数据向左发送移动。如果没有移动或是移动完成后,最后一个数进行自定义的数据操作 Adding a new statistical information 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, Custom data operations on the last number | |
ToString | Returns a string that represents the current object. (继承自 Object。) |
名称 | 说明 | |
---|---|---|
generateMode |
当前的实际模式
|
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |