示例#1
0
 public void FromWrapper(SPInterceptRateWrapper wrapper)
 {
     this.Id             = wrapper.Id;
     this.ClientID       = wrapper.ClientID;
     this.ChannelID      = wrapper.ChannelID;
     this.TotalCount     = wrapper.TotalCount;
     this.InterceptCount = wrapper.InterceptCount;
     this.InterceptRate  = wrapper.InterceptRate;
     this.LastSycnDate   = wrapper.LastSycnDate;
 }
示例#2
0
        public SPInterceptRateWrapper ToWrapper()
        {
            SPInterceptRateWrapper wrapper = new SPInterceptRateWrapper();

            wrapper.Id             = this.Id;
            wrapper.ClientID       = this.ClientID;
            wrapper.ChannelID      = this.ChannelID;
            wrapper.TotalCount     = this.TotalCount;
            wrapper.InterceptCount = this.InterceptCount;
            wrapper.InterceptRate  = this.InterceptRate;
            wrapper.LastSycnDate   = this.LastSycnDate;

            return(wrapper);
        }