实例化一个新的数据统计内容,需要指定当前的时间统计方式,按小时,按天,按月等等,还需要指定统计的数据数量,比如按天统计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.
命名空间:
HslCommunication.LogNet
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public LogStatisticsBase(
GenerateMode generateMode,
int arrayLength
)
Public Sub New (
generateMode As GenerateMode,
arrayLength As Integer
)
public:
LogStatisticsBase(
GenerateMode generateMode,
int arrayLength
)
new :
generateMode : GenerateMode *
arrayLength : int -> LogStatisticsBase
参数
- generateMode
- 类型:HslCommunication.LogNetGenerateMode
时间的统计方式 - arrayLength
- 类型:SystemInt32
数据的数量信息,如果本值为-1,则表示数据一直增长
参见