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); }
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); }