/// <summary>Internal Constructor</summary> internal IndicatorDataValueFilter(bool showIUS, int indicatorNId, string indicatorGId, OpertorType opertorType, double fromDataValue, double toDataValue) { this._ShowIUS = showIUS; this._IndicatorNId = indicatorNId; this._IndicatorGId = indicatorGId; base.OpertorType = opertorType; base.FromDataValue = fromDataValue; base.ToDataValue = toDataValue; }
/// <summary> /// Clears DataValue filter. Set OpertorType to None, FromDataValue = 0, ToDataValue = 0 /// </summary> public void Clear() { this._OpertorType = OpertorType.None; this._FromDataValue = 0; this._ToDataValue = 0; }
/// <summary> /// Add the IndicatorDataValueFilter in the list /// </summary> /// <param name="IndicatorDataValueFilter">IndicatorDataValueFilter</param> public void Add(int IndicatorNId, string IndicatorGId, OpertorType OpertorType, double FromDataValue, double ToDataValue) { IndicatorDataValueFilter IndicatorDataValueFilter = new IndicatorDataValueFilter(this._ShowIUS, IndicatorNId, IndicatorGId, OpertorType, FromDataValue, ToDataValue); this.List.Add(IndicatorDataValueFilter); }