Exemplo n.º 1
0
 public int SendMessage(string tel, string name, string Content)
 {
     WHChem.OPCMonitor.SMSServiceReference.SendMessageRequest inValue = new WHChem.OPCMonitor.SMSServiceReference.SendMessageRequest();
     inValue.Body         = new WHChem.OPCMonitor.SMSServiceReference.SendMessageRequestBody();
     inValue.Body.tel     = tel;
     inValue.Body.name    = name;
     inValue.Body.Content = Content;
     WHChem.OPCMonitor.SMSServiceReference.SendMessageResponse retVal = ((WHChem.OPCMonitor.SMSServiceReference.ServiceSoap)(this)).SendMessage(inValue);
     return(retVal.Body.SendMessageResult);
 }
Exemplo n.º 2
0
 WHChem.OPCMonitor.SMSServiceReference.SendMessageResponse WHChem.OPCMonitor.SMSServiceReference.ServiceSoap.SendMessage(WHChem.OPCMonitor.SMSServiceReference.SendMessageRequest request)
 {
     return(base.Channel.SendMessage(request));
 }