Пример #1
0
        public override void Set(string name, bool elementValue)
        {
            var upper = name.ToUpper();

            switch (upper)
            {
            case "INCLUDECONDITIONCODES":
                this._includeConditionCodes = new RequestIntradayTickElementBool(name, elementValue);
                break;

            case "INCLUDENONPLOTTABLEEVENTS":
                this._includeNonPlottableEvents = new RequestIntradayTickElementBool(name, elementValue);
                break;

            case "INCLUDEEXCHANGECODES":
                this._includeExchangeCodes = new RequestIntradayTickElementBool(name, elementValue);
                break;

            case "RETURNEIDS":
                this._returnEids = new RequestIntradayTickElementBool(name, elementValue);
                break;

            case "INCLUDEBROKERCODES":
                this._includeBrokerCodes = new RequestIntradayTickElementBool(name, elementValue);
                break;

            case "INCLUDERPSCODES":
                this._includeRpsCodes = new RequestIntradayTickElementBool(name, elementValue);
                break;

            case "INCLUDEBICMICCODES":
                this._includeBicMicCodes = new RequestIntradayTickElementBool(name, elementValue);
                break;
            }
        }
Пример #2
0
 public override void Set(string name, bool elementValue)
 {
     var upper = name.ToUpper();
     switch (upper)
     {
         case "INCLUDECONDITIONCODES":
             this._includeConditionCodes = new RequestIntradayTickElementBool(name, elementValue);
             break;
         case "INCLUDENONPLOTTABLEEVENTS":
             this._includeNonPlottableEvents = new RequestIntradayTickElementBool(name, elementValue);
             break;
         case "INCLUDEEXCHANGECODES":
             this._includeExchangeCodes = new RequestIntradayTickElementBool(name, elementValue);
             break;
         case "RETURNEIDS":
             this._returnEids = new RequestIntradayTickElementBool(name, elementValue);
             break;
         case "INCLUDEBROKERCODES":
             this._includeBrokerCodes = new RequestIntradayTickElementBool(name, elementValue);
             break;
         case "INCLUDERPSCODES":
             this._includeRpsCodes = new RequestIntradayTickElementBool(name, elementValue);
             break;
         case "INCLUDEBICMICCODES":
             this._includeBicMicCodes = new RequestIntradayTickElementBool(name, elementValue);
             break;
     }
 }