예제 #1
0
        public ReadQueuePNRMsg ReadQueue(int _qNumber, string _session, PNRMsgTemplateEnum _template)
        {
            ReadQueuePNRMsg pnrMsg = null;

            if (!string.IsNullOrEmpty(_session))
            {
                objGalConn.SessionID = _session;
            }

            QueueProcessor objQProc = new QueueProcessor(objGalConn);
            XmlElement     xmlPNR   = objQProc.ReadPNRFromQ(_qNumber);

            pnrMsg = GetPNRMsg(xmlPNR, _template);
            return(pnrMsg);
        }