Пример #1
0
        /// <summary>
        ///  Constructor
        /// </summary>
        /// <param name="proxy">Data proxy</param>
        /// <param name="logger">Logger</param>
        /// <param name="aggrDefinitionDictionary">Aggregation Definition Dictionary</param>
        public GenericAggregator(IDataProxy proxy,IGenericLogger logger, IAggrDefinitionProvider aggrDefinitionDictionary)
        {
            this._proxy = proxy;
            this._aggrDefinitionDictionary = aggrDefinitionDictionary;
            this._logger = logger;

        }
Пример #2
0
 /// <summary>
 /// Alert Evaluator
 /// </summary>
 /// <param name="dssRunner">DSSRunner</param>
 /// <param name="aggregator">Aggregator</param>
 /// <param name="dataProxy">Data proxy</param>
 /// <param name="aggrDefinitionProvider">Aggregation Definition Provider</param>
 /// <param name="dSSDefinitionProvider">DSS definition Provider</param>
 public AlertEvaluator(IDSSRunner dssRunner, IAggregator aggregator, IDataProxy dataProxy, IAggrDefinitionProvider aggrDefinitionProvider, IDSSDefinitionProvider dSSDefinitionProvider)
 {
     this._dssRunner              = dssRunner;
     this._aggregator             = aggregator;
     this._dataProxy              = dataProxy;
     this._aggrDefinitionProvider = aggrDefinitionProvider;
     this._dssDefinitionProvider  = dSSDefinitionProvider;
 }