Exemplo n.º 1
0
 public SendSmsRequestBody(string user, long msgid, DW.Framework.SMS.SmsAPI.ArrayOfString mobiles, DW.Framework.SMS.SmsAPI.ArrayOfString conts, string plantime, string hashcode)
 {
     this.user     = user;
     this.msgid    = msgid;
     this.mobiles  = mobiles;
     this.conts    = conts;
     this.plantime = plantime;
     this.hashcode = hashcode;
 }
Exemplo n.º 2
0
 public string SendSms(string user, long msgid, DW.Framework.SMS.SmsAPI.ArrayOfString mobiles, DW.Framework.SMS.SmsAPI.ArrayOfString conts, string plantime, string hashcode)
 {
     DW.Framework.SMS.SmsAPI.SendSmsRequest inValue = new DW.Framework.SMS.SmsAPI.SendSmsRequest();
     inValue.Body          = new DW.Framework.SMS.SmsAPI.SendSmsRequestBody();
     inValue.Body.user     = user;
     inValue.Body.msgid    = msgid;
     inValue.Body.mobiles  = mobiles;
     inValue.Body.conts    = conts;
     inValue.Body.plantime = plantime;
     inValue.Body.hashcode = hashcode;
     DW.Framework.SMS.SmsAPI.SendSmsResponse retVal = ((DW.Framework.SMS.SmsAPI.ServicesSoap)(this)).SendSms(inValue);
     return(retVal.Body.SendSmsResult);
 }