public void FromWrapper(SPSendRequestInfoWrapper wrapper)
 {
     this.Id           = wrapper.Id;
     this.ToUrl        = wrapper.ToUrl;
     this.DataID       = wrapper.DataID;
     this.IsSuccess    = wrapper.IsSuccess;
     this.ErrorCode    = wrapper.ErrorCode;
     this.ErrorMessage = wrapper.ErrorMessage;
     this.SendParans   = wrapper.SendParans;
 }
        public SPSendRequestInfoWrapper ToWrapper()
        {
            SPSendRequestInfoWrapper wrapper = new SPSendRequestInfoWrapper();

            wrapper.Id           = this.Id;
            wrapper.ToUrl        = this.ToUrl;
            wrapper.DataID       = this.DataID;
            wrapper.IsSuccess    = this.IsSuccess;
            wrapper.ErrorCode    = this.ErrorCode;
            wrapper.ErrorMessage = this.ErrorMessage;
            wrapper.SendParans   = this.SendParans;

            return(wrapper);
        }