コード例 #1
0
ファイル: HealthStatistics.cs プロジェクト: mutita/anpr
 public GenericStatisticsClass(HEALTH_STATISTICS parent, string objectName)
 {
     PerSecond      = new PerSecondCounterClass(parent, objectName + ".PerSecond");
     RunningAverage = new RunningAverageClass(parent, objectName + ".RunningAverage");
     Accumulator    = new AccumulatorClass(parent, objectName + ".Accumulator");
     Snapshot       = new SnapshotClass(parent, objectName + ".Snapshot");
     Peak           = new PeakClass(parent, objectName + ".Peak");
     StatString     = new StatStringClass(parent, objectName + ".StatString");
     boolean        = new booleanClass(parent, objectName + ".boolean");
     SnapshotDouble = new SnapshotDoubleClass(parent, objectName + ".SnapshotDouble");
 }
コード例 #2
0
ファイル: HealthStatistics.cs プロジェクト: anndream/anpr-1
 public GenericStatisticsClass(HEALTH_STATISTICS parent, string objectName)
 {
     PerSecond = new PerSecondCounterClass(parent, objectName + ".PerSecond");
     RunningAverage = new RunningAverageClass(parent, objectName +".RunningAverage");
     Accumulator = new AccumulatorClass(parent, objectName + ".Accumulator");
     Snapshot = new SnapshotClass(parent, objectName + ".Snapshot");
     Peak = new PeakClass(parent, objectName + ".Peak");
     StatString = new StatStringClass(parent, objectName + ".StatString");
     boolean = new booleanClass(parent, objectName + ".boolean");
     SnapshotDouble = new SnapshotDoubleClass(parent, objectName + ".SnapshotDouble") ;
 }