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