public void AddMeter(string name, MeterIntervals rateUnit)
        {
            var rateGroup = this.rates[rateUnit];
            if (rateGroup.meters.ContainsKey(name)) return;

            rateGroup.meters[name] = Meter.createM1Rate();
        }
 public MeterGroup this[MeterIntervals unit]
 {
     get
     {
         if (!this.rates.ContainsKey(unit)) return null;
         return this.rates[unit];
     }
 }
 public void Stop(MeterIntervals rateUnit)
 {
     rates[rateUnit].Stop();
 }