Пример #1
0
 public bool SendText(SendTextContext Content)
 {
     if (Content.CmdId == 0)
     {
         return(Service.TryGet(p => p.SendText(Content.VehiclePlate, Content.TextCommand, Content.BookId)).Value);
     }
     else
     {
         return(Service.TryGet(p => p.SendOperatorCmd(Content.VehiclePlate, Content.BookId, Content.CmdId, Content.TextCommand, Content.Result)).Value);
     }
 }
Пример #2
0
 public bool SendACKInvite(SendTextContext Content)
 {
     return(false);
     //  return Service.TryGet(p => p.SendACKInvite(Content.BookId, Content.VehiclePlate, Content.Result, Content.TextCommand)).Value;
 }