示例#1
0
        /// <summary>
        /// Notifies one occurrence of the FlowRate measurenemt with the given name.
        /// </summary>
        /// <param name="calculatorName">The name of the calculator this occurrence belongs to.</param>
        public void NotifyFlowRateOccurrence(string calculatorName)
        {
            FlowRatePerformanceCalculator kpiCalculator = GetKpiCalculator <FlowRatePerformanceCalculator>(calculatorName);

            kpiCalculator.NotifyOccurrence();
        }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FlowRatePerformanceResult"/> class.
 /// </summary>
 /// <param name="calculator">The calculator.</param>
 /// <param name="keyTimestamp">The key timestamp.</param>
 /// <param name="value">The value.</param>
 public FlowRatePerformanceResult(FlowRatePerformanceCalculator calculator, DateTime keyTimestamp, double value)
     : base(calculator, keyTimestamp)
 {
     m_value = value;
 }