Exemplo n.º 1
0
		public string toString (MamdaSecurityStatusQual.mamdaSecurityStatusQual securityStatusQual)
		{
			switch (securityStatusQual)
			{
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_NONE:
					return SECURITY_STATUS_QUAL_STR_NONE;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_OPENING:
                    return SECURITY_STATUS_QUAL_STR_OPENING;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_EXCUSED:
					return SECURITY_STATUS_QUAL_STR_EXCUSED;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_WITHDRAWN:
					return SECURITY_STATUS_QUAL_STR_WITHDRAWN;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_SUSPENDED:
					return SECURITY_STATUS_QUAL_STR_SUSPENDED;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_RESUME:
					return SECURITY_STATUS_QUAL_STR_RESUME;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_QUOTE_RESUME:
					return SECURITY_STATUS_QUAL_STR_QUOTE_RESUME;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_TRADE_RESUME:
					return SECURITY_STATUS_QUAL_STR_TRADE_RESUME;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_RESUME_TIME:
					return SECURITY_STATUS_QUAL_STR_RESUME_TIME;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_MKT_IMB_BUY:
					return SECURITY_STATUS_QUAL_STR_MKT_IMB_BUY;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_MKT_IMB_SELL:
					return SECURITY_STATUS_QUAL_STR_MKT_IMB_SELL;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_NO_MKT_IMB:
					return SECURITY_STATUS_QUAL_STR_NO_MKT_IMB;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_MOC_IMB_BUY:
					return SECURITY_STATUS_QUAL_STR_MOC_IMB_BUY;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_MOC_IMB_SELL:
					return SECURITY_STATUS_QUAL_STR_MOC_IMB_SELL;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_NO_MOC_IMB:
					return SECURITY_STATUS_QUAL_STR_NO_MOC_IMB;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ORDER_IMB:
					return SECURITY_STATUS_QUAL_STR_ORDER_IMB;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ORDER_INF:
					return SECURITY_STATUS_QUAL_STR_ORDER_INF;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ORDER_IMB_BUY:
					return SECURITY_STATUS_QUAL_STR_ORDER_IMB_BUY;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ORDER_IMB_SELL:
					return SECURITY_STATUS_QUAL_STR_ORDER_IMB_SELL;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ORDER_IMB_NONE:
					return SECURITY_STATUS_QUAL_STR_ORDER_IMB_NONE;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_LOA_IMBALANCE_BUY:
                    return SECURITY_STATUS_QUAL_STR_LOA_IMBALANCE_BUY;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_LOA_IMBALANCE_SELL:
                    return SECURITY_STATUS_QUAL_STR_LOA_IMBALANCE_SELL;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_NO_LOA_IMBALANCE:
                    return SECURITY_STATUS_QUAL_STR_NO_LOA_IMBALANCE;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ORDERS_ELIMINATED:
                    return SECURITY_STATUS_QUAL_STR_ORDERS_ELIMINATED;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_RANGE_ID:
					return SECURITY_STATUS_QUAL_STR_RANGE_ID;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ITS_PREOPEN:
					return SECURITY_STATUS_QUAL_STR_ITS_PREOPEN;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_RESERVED:
					return SECURITY_STATUS_QUAL_STR_RESERVED;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_FROZEN:
					return SECURITY_STATUS_QUAL_STR_FROZEN;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_PREOPEN:
					return SECURITY_STATUS_QUAL_STR_PREOPEN;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_THO_IMBALANCE_BUY:
                    return SECURITY_STATUS_QUAL_STR_THO_IMBALANCE_BUY;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_THO_IMBALANCE_SELL:
                    return SECURITY_STATUS_QUAL_STR_THO_IMBALANCE_SELL;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_NO_THO_IMBALANCE:
                    return SECURITY_STATUS_QUAL_STR_NO_THO_IMBALANCE;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ADD_INFO:
					return SECURITY_STATUS_QUAL_STR_ADD_INFO;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_IPO_IMBALANCE_BUY:
                    return SECURITY_STATUS_QUAL_STR_IPO_IMBALANCE_BUY;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_IPO_IMBALANCE_SELL:
                    return SECURITY_STATUS_QUAL_STR_IPO_IMBALANCE_SELL;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_NO_IPO_IMBALANCE:
                    return SECURITY_STATUS_QUAL_STR_NO_IPO_IMBALANCE;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_EMC_IMB_BUY:
                    return SECURITY_STATUS_QUAL_STR_EMC_IMB_BUY;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_EMC_IMB_SELL:
                    return SECURITY_STATUS_QUAL_STR_EMC_IMB_SELL;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_EMC_IMB_NONE:
                    return SECURITY_STATUS_QUAL_STR_EMC_IMB_NONE;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_OPEN_DELAY:
					return SECURITY_STATUS_QUAL_STR_OPEN_DELAY;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_NO_OPEN_NO_RESUME:
					return SECURITY_STATUS_QUAL_STR_NO_OPEN_NO_RESUME;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_PRICE_IND:
					return SECURITY_STATUS_QUAL_STR_PRICE_IND;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_EQUIPMENT:
					return SECURITY_STATUS_QUAL_STR_EQUIPMENT;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_FILINGS:
					return SECURITY_STATUS_QUAL_STR_FILINGS;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_NEWS:
					return SECURITY_STATUS_QUAL_STR_NEWS;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_NEWS_DISSEM:
					return SECURITY_STATUS_QUAL_STR_NEWS_DISSEM;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_LISTING:
					return SECURITY_STATUS_QUAL_STR_LISTING;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_OPERATION:
					return SECURITY_STATUS_QUAL_STR_OPERATION;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_INFO:
					return SECURITY_STATUS_QUAL_STR_INFO;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_SEC:
					return SECURITY_STATUS_QUAL_STR_SEC;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_TIMES:
					return SECURITY_STATUS_QUAL_STR_TIMES;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_OTHER:
					return SECURITY_STATUS_QUAL_STR_OTHER;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_RELATED:
					return SECURITY_STATUS_QUAL_STR_RELATED;
				case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_IPO:
					return SECURITY_STATUS_QUAL_STR_IPO; 
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_PRE_CROSS:                  
                    return SECURITY_STATUS_QUAL_STR_PRE_CROSS;        
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_CROSS:                      
                    return SECURITY_STATUS_QUAL_STR_CROSS;             
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_RELEASED_FOR_QUOTATION:     
                    return SECURITY_STATUS_QUAL_STR_RELEASED_FOR_QUOTATION; 
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_IPO_WINDOW_EXT:             
                    return SECURITY_STATUS_QUAL_STR_IPO_WINDOW_EXT;         
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_PRECLOSING:                 
                    return SECURITY_STATUS_QUAL_STR_PRECLOSING;             
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_AUCTION_EXTENSION:          
                    return SECURITY_STATUS_QUAL_STR_AUCTION_EXTENSION;      
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_VOLATILITY_AUCTION:         
                    return SECURITY_STATUS_QUAL_STR_VOLATILITY_AUCTION;     
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_SECURITY_AUTHORISED:        
                    return SECURITY_STATUS_QUAL_STR_SECURITY_AUTHORISED;    
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_SECURITY_FORBIDDEN:         
                    return SECURITY_STATUS_QUAL_STR_SECURITY_FORBIDDEN;     
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_FAST_MARKET:                
                    return SECURITY_STATUS_QUAL_STR_FAST_MARKET;            
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_SLOW_MARKET:                
                    return SECURITY_STATUS_QUAL_STR_SLOW_MARKET;            
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_SUB_PENNY_TRADING:          
                    return SECURITY_STATUS_QUAL_STR_SUB_PENNY_TRADING;      
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ORDER_INPUT:                
                    return SECURITY_STATUS_QUAL_STR_ORDER_INPUT;            
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_PRE_ORDER_MATCHING:         
                    return SECURITY_STATUS_QUAL_STR_PRE_ORDER_MATCHING;     
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ORDER_MATCHING:             
                    return SECURITY_STATUS_QUAL_STR_ORDER_MATCHING;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_BLOCKING:              
                    return SECURITY_STATUS_QUAL_STR_BLOCKING;      
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ORDER_CANCEL:          
                    return SECURITY_STATUS_QUAL_STR_ORDER_CANCEL;  
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_FIXED_PRICE:           
                    return SECURITY_STATUS_QUAL_STR_FIXED_PRICE;   
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_SALES_INPUT:           
                    return SECURITY_STATUS_QUAL_STR_SALES_INPUT;   
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_EXCHANGE_INTERVENTION: 
                    return SECURITY_STATUS_QUAL_STR_EXCHANGE_INTERVENTION;  
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_PRE_AUCTION:                
                    return SECURITY_STATUS_QUAL_STR_PRE_AUCTION; 
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ADJUST:              
                    return SECURITY_STATUS_QUAL_STR_ADJUST;      
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ADJUST_ON:           
                    return SECURITY_STATUS_QUAL_STR_ADJUST_ON;   
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_LATE_TRADING:        
                    return SECURITY_STATUS_QUAL_STR_LATE_TRADING;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ENQUIRE:             
                    return SECURITY_STATUS_QUAL_STR_ENQUIRE;     
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_PRE_NIGHT_TRADING:   
                    return SECURITY_STATUS_QUAL_STR_PRE_NIGHT_TRADING; 
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_OPEN_NIGHT_TRADING:        
                    return SECURITY_STATUS_QUAL_STR_OPEN_NIGHT_TRADING;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_SUB_HOLIDAY:        
                    return  SECURITY_STATUS_QUAL_STR_SUB_HOLIDAY;

                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_BID_ONLY:             
                    return SECURITY_STATUS_QUAL_STR_BID_ONLY;     
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ASK_ONLY:        
                    return SECURITY_STATUS_QUAL_STR_ASK_ONLY;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_UNKNOWN:
                    return SECURITY_STATUS_QUAL_STR_UNKNOWN;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_OPENING_DELAY_COMMON:
                    return SECURITY_STATUS_QUAL_STR_OPENING_DELAY_COMMON;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_RESUME_COMMON:
                    return SECURITY_STATUS_QUAL_STR_RESUME_COMMON;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_NO_OPEN_NO_RESUME_COMMON:
                    return SECURITY_STATUS_QUAL_STR_NO_OPEN_NO_RESUME_COMMON;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_NEWS_DISSEMINATION_RELATED:
                    return SECURITY_STATUS_QUAL_STR_NEWS_DISSEMINATION_RELATED;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ORDER_INFLUX_RELATED:
                    return SECURITY_STATUS_QUAL_STR_ORDER_INFLUX_RELATED;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ORDER_IMBALANCE_RELATED:
                    return SECURITY_STATUS_QUAL_STR_ORDER_IMBALANCE_RELATED;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_INFORMATION_REQUESTED_RELATED:
                    return SECURITY_STATUS_QUAL_STR_INFORMATION_REQUESTED_RELATED;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_NEWS_PENDING_RELATED:
                    return SECURITY_STATUS_QUAL_STR_NEWS_PENDING_RELATED;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_EQUIPMENT_CHANGEOVER_RELATED:
                    return SECURITY_STATUS_QUAL_STR_EQUIPMENT_CHANGEOVER_RELATED;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_SUB_PENNY_TRADING_RELATED:
                    return SECURITY_STATUS_QUAL_STR_SUB_PENNY_TRADING_RELATED;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_POST_TRADING:
                    return  SECURITY_STATUS_QUAL_STR_POST_TRADING;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_ONE_SIDED:
                    return SECURITY_STATUS_QUAL_STR_ONE_SIDED;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_PRE_CALL:
                    return  SECURITY_STATUS_QUAL_STR_PRE_CALL;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_RESTRICTED_OPEN:
                    return  SECURITY_STATUS_QUAL_STR_RESTRICTED_OPEN;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_VOLATILITY_PAUSE:
                    return   SECURITY_STATUS_QUAL_STR_VOLATILITY_PAUSE;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_VOLATILITY_PAUSE_QUOTE_RESUME:
                    return  SECURITY_STATUS_QUAL_STR_VOLATILITY_PAUSE_QUOTE_RESUME;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_VOLATILITY_GUARD:
                    return   SECURITY_STATUS_QUAL_STR_VOLATILITY_GUARD;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_VOLATILITY_GUARD_QUOTE_RESUME:
                    return  SECURITY_STATUS_QUAL_STR_VOLATILITY_GUARD_QUOTE_RESUME;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_LIMIT_STATE_BID:
                    return SECURITY_STATUS_QUAL_STR_LIMIT_STATE_BID;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_LIMIT_STATE_ASK:
                    return SECURITY_STATUS_QUAL_STR_LIMIT_STATE_ASK;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_LIMITSTATEBID_LIMITSTATEASK:
                    return SECURITY_STATUS_QUAL_STR_LIMITSTATEBID_LIMITSTATEASK;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_CIRCUIT_BREAKER_LEVEL_1:
                    return SECURITY_STATUS_QUAL_STR_CIRCUIT_BREAKER_LEVEL_1;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_CIRCUIT_BREAKER_LEVEL_2:
                    return SECURITY_STATUS_QUAL_STR_CIRCUIT_BREAKER_LEVEL_2;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_CIRCUIT_BREAKER_LEVEL_3:
                    return SECURITY_STATUS_QUAL_STR_CIRCUIT_BREAKER_LEVEL_3;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_VOLATILITY_PAUSE_STRADDLE:
                    return SECURITY_STATUS_QUAL_STR_VOLATILITY_PAUSE_STRADDLE;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_SHORT_SALE_RESTRICTED:
                    return SECURITY_STATUS_QUAL_STR_SHORT_SALE_RESTRICTED;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_IMBALANCE_PREOPEN_BUY:
                    return SECURITY_STATUS_QUAL_STR_IMBALANCE_PREOPEN_BUY;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_IMBALANCE_PREOPEN_SELL:
                    return  SECURITY_STATUS_QUAL_STR_IMBALANCE_PREOPEN_SELL;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_IMBALANCE_PREOPEN_NONE:
                    return  SECURITY_STATUS_QUAL_STR_IMBALANCE_PREOPEN_NONE;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_IMBALANCE_PRECLOSE_BUY:
                    return  SECURITY_STATUS_QUAL_STR_IMBALANCE_PRECLOSE_BUY;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_IMBALANCE_PRECLOSE_SELL:
                    return  SECURITY_STATUS_QUAL_STR_IMBALANCE_PRECLOSE_SELL;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_IMBALANCE_PRECLOSE_NONE:
                    return  SECURITY_STATUS_QUAL_STR_IMBALANCE_PRECLOSE_NONE;
                case mamdaSecurityStatusQual.SECURITY_STATUS_QUAL_SCHEDULED_INTRADAY:
                    return  SECURITY_STATUS_QUAL_STR_SCHEDULED_INTRADAY;

			}
			return SECURITY_STATUS_QUAL_STR_UNKNOWN;
		}
		/// <summary>
		/// <see cref="MamdaSecurityStatusUpdate.getSecurityStatusQualifierEnum()"/>
		/// </summary>
		/// <param name="secStatusQual"></param>
		public void setSecurityStatusQualifierEnum(MamdaSecurityStatusQual.mamdaSecurityStatusQual secStatusQual)
		{
			mSecurityStatusQualifierEnum = secStatusQual;
		}