예제 #1
0
 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
 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") ;
 }