public static void Refresh(SPDayReportWrapper instance)
 {
     businessProxy.Refresh(instance.entity);
 }
 public static void Delete(SPDayReportWrapper instance)
 {
     businessProxy.Delete(instance.entity);
 }
 public static void SaveOrUpdate(SPDayReportWrapper obj)
 {
     businessProxy.SaveOrUpdate(obj.entity);
 }
예제 #4
0
        public SPDayReportWrapper ToWrapper()
        {
            SPDayReportWrapper wrapper = new SPDayReportWrapper();
            wrapper.ReportID = this.ReportID;
            wrapper.ReportDate = this.ReportDate;
            wrapper.UpTotalCount = this.UpTotalCount;
            wrapper.UpSuccess = this.UpSuccess;
            wrapper.InterceptTotalCount = this.InterceptTotalCount;
            wrapper.InterceptSuccess = this.InterceptSuccess;
            wrapper.DownTotalCount = this.DownTotalCount;
            wrapper.DownSuccess = this.DownSuccess;
            wrapper.DayXmlFileName = this.DayXmlFileName;
            wrapper.ClientID = this.ClientID;
            wrapper.ChannelID = this.ChannelID;
            wrapper.ChannelClientID = this.ChannelClientID;
            wrapper.UperID = this.UperID;
            wrapper.ClientGroupID = this.ClientGroupID;

            return wrapper;
        }
예제 #5
0
 public void FromWrapper(SPDayReportWrapper wrapper)
 {
     this.ReportID = wrapper.ReportID;
     this.ReportDate = wrapper.ReportDate;
     this.UpTotalCount = wrapper.UpTotalCount;
     this.UpSuccess = wrapper.UpSuccess;
     this.InterceptTotalCount = wrapper.InterceptTotalCount;
     this.InterceptSuccess = wrapper.InterceptSuccess;
     this.DownTotalCount = wrapper.DownTotalCount;
     this.DownSuccess = wrapper.DownSuccess;
     this.DayXmlFileName = wrapper.DayXmlFileName;
     this.ClientID = wrapper.ClientID;
     this.ChannelID = wrapper.ChannelID;
     this.ChannelClientID = wrapper.ChannelClientID;
     this.UperID = wrapper.UperID;
     this.ClientGroupID = wrapper.ClientGroupID;
 }
 public DayliyReport GetDayReport(DateTime dateTime)
 {
     return(SPDayReportWrapper.GetDayReport(dateTime.Date, this));
 }