123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace LYFZ.WinicSmsInterface
- {
-
-
-
- public class SmsWebServiceSendReturnInfo
- {
- public SmsWebServiceSendReturnInfo(string returnInfoStr)
- {
- this.SourceString = returnInfoStr;
- if (returnInfoStr != "")
- {
- string[] returnInfos = returnInfoStr.Split('/');
- try
- {
- this.Username = returnInfos[0];
- }
- catch { this.ReturnStatus = returnInfoStr; }
- try
- {
- this.Sid =returnInfos[1];
- }
- catch { this.ReturnStatus = returnInfoStr; }
- try
- {
- this.SMSContent = returnInfos[2];
- }
- catch { }
- try
- {
- this.SendCount = Convert.ToInt32(returnInfos[3]);
- }
- catch { }
- try
- {
- this.ReturnStatus ="发送"+ returnInfos[4];
- }
- catch { }
- }
- }
- private string _SourceString = "";
-
-
-
- public string SourceString
- {
- get { return _SourceString; }
- set { _SourceString = value; }
- }
- private string _Username = "";
-
-
-
- public string Username
- {
- get { return _Username; }
- set { _Username = value; }
- }
- string _Sid = "";
-
-
-
- public string Sid
- {
- get { return _Sid; }
- set { _Sid = value; }
- }
- string _SMSContent = "";
-
-
-
- public string SMSContent
- {
- get { return _SMSContent; }
- set { _SMSContent = value; }
- }
- int _SendCount = 0;
-
-
-
- public int SendCount
- {
- get { return _SendCount; }
- set { _SendCount = value; }
- }
- string _ReturnStatus = "";
-
-
-
- public string ReturnStatus
- {
- get { return _ReturnStatus; }
- set { _ReturnStatus = value; }
- }
- }
- }
|