/// <summary> /// Set the meter to a meter with the specified behaviour. /// </summary> public void SetMeter(MeterType inMeterType, List <UsagePatternSpec> inUsagePatterns) { if (Meter != null) { LogAction("Changing to meter type " + inMeterType); } Meter = Meter.CreateMeter(inMeterType); _usagePatterns = inUsagePatterns; Meter.SetUsagePatterns(inUsagePatterns); }