Example #1
0
 public ScheduleSmsRequestBody(string username, string password, string to, string from, string text, bool isflash, System.DateTime scheduleDateTime, SMSJobHandler.SMSService.PeriodType period)
 {
     this.username         = username;
     this.password         = password;
     this.to               = to;
     this.from             = from;
     this.text             = text;
     this.isflash          = isflash;
     this.scheduleDateTime = scheduleDateTime;
     this.period           = period;
 }
Example #2
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);
 }