实例化一个新的数据统计内容,需要指定当前的时间统计方式,按小时,按天,按月等等,还需要指定统计的数据数量,比如按天统计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 LogStatistics(
GenerateMode generateMode,
int dataCount
)
Public Sub New (
generateMode As GenerateMode,
dataCount As Integer
)
public:
LogStatistics(
GenerateMode generateMode,
int dataCount
)
new :
generateMode : GenerateMode *
dataCount : int -> LogStatistics
参数
- generateMode
- 类型:HslCommunication.LogNetGenerateMode
时间的统计方式 - dataCount
- 类型:SystemInt32
[缺少 "M:HslCommunication.LogNet.LogStatistics.#ctor(HslCommunication.LogNet.GenerateMode,System.Int32)" 的 <param name="dataCount"/> 文档]
参见