Esempio n. 1
0
 /// <summary>
 /// 输出模型
 /// </summary>
 /// <param name="QualityControlManageDto"></param>
 /// <param name="QualityControlManageInfo"></param>
 public QualityControlManagePageOut(PagedResultDto <QualityControlManagePage> QualityControlManageDto, QualityControlManageIn QualityControlManageInfo)
 {
     Items          = QualityControlManageDto.Items.Select(t => new QualityControlManagePageOutDetail(t)).ToList();
     TotalCount     = QualityControlManageDto.TotalCount;
     TotalPage      = QualityControlManageDto.TotalCount / QualityControlManageInfo.MaxResultCount;
     SkipCount      = QualityControlManageInfo.SkipCount;
     MaxResultCount = QualityControlManageInfo.MaxResultCount;
 }
Esempio n. 2
0
 /// <summary>
 /// 输出模型
 /// </summary>
 /// <param name="QualityControlManageDto"></param>
 /// <param name="QualityControlManageInfo"></param>
 public QualityControlManageOut(PagedResultDto <QualityControlManage> QualityControlManageDto, QualityControlManageIn QualityControlManageInfo)
 {
     Items          = QualityControlManageDto.Items;
     TotalCount     = QualityControlManageDto.TotalCount;
     TotalPage      = QualityControlManageDto.TotalCount / QualityControlManageInfo.MaxResultCount;
     SkipCount      = QualityControlManageInfo.SkipCount;
     MaxResultCount = QualityControlManageInfo.MaxResultCount;
 }