Example #1
0
        public CommandResponse ShowMessage(string Message)
        {
            Utils.ToCardLog("AlohaExternal ShowMessage");
            CommandResponse Resp = new CommandResponse();

            try
            {
                AlohaTSClass.ShowMessageExternal(Message);
            }
            catch (Exception e)
            {
                Resp.Success        = false;
                Resp.AlohaErrorCode = CAlohaErrors.GetAlohaErrorVal(e.Message);
                Resp.ErrorMsg       = e.Message;
            }
            return(Resp);
        }
Example #2
0
        public GetStopListResponse GetStopList()
        {
            Utils.ToCardLog("AlohaExternal GetStopList");
            GetStopListResponse Resp = new GetStopListResponse();

            try
            {
                Resp.ItemsBCs = AlohaTSClass.GetStopList2();
            }
            catch (Exception e)
            {
                Resp.Success        = false;
                Resp.AlohaErrorCode = CAlohaErrors.GetAlohaErrorVal(e.Message);
                Resp.ErrorMsg       = e.Message;
            }
            return(Resp);
        }