Пример #1
0
 public int ScheduleSms(string username, string password, string to, string from, string text, bool isflash, System.DateTime scheduleDateTime, SMSJobHandler.SMSService.PeriodType period)
 {
     SMSJobHandler.SMSService.ScheduleSmsRequest inValue = new SMSJobHandler.SMSService.ScheduleSmsRequest();
     inValue.Body                  = new SMSJobHandler.SMSService.ScheduleSmsRequestBody();
     inValue.Body.username         = username;
     inValue.Body.password         = password;
     inValue.Body.to               = to;
     inValue.Body.from             = from;
     inValue.Body.text             = text;
     inValue.Body.isflash          = isflash;
     inValue.Body.scheduleDateTime = scheduleDateTime;
     inValue.Body.period           = period;
     SMSJobHandler.SMSService.ScheduleSmsResponse retVal = ((SMSJobHandler.SMSService.SendSoap)(this)).ScheduleSms(inValue);
     return(retVal.Body.ScheduleSmsResult);
 }
Пример #2
0
 SMSJobHandler.SMSService.ScheduleSmsResponse SMSJobHandler.SMSService.SendSoap.ScheduleSms(SMSJobHandler.SMSService.ScheduleSmsRequest request)
 {
     return(base.Channel.ScheduleSms(request));
 }