MachineDto.cs 914 B

123456789101112131415161718192021222324252627
  1. using ProductionLineMonitor.Core.Models;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace ProductionLineMonitor.Core.Dtos
  6. {
  7. public class MachineDto : Machine
  8. {
  9. /// <summary>
  10. /// 小时产能
  11. /// </summary>
  12. public List<MachineOutPutPerHourDto> OutPutPerHours { get; set; } = new List<MachineOutPutPerHourDto>();
  13. /// <summary>
  14. /// 故障记录
  15. /// </summary>
  16. public List<MachineFaultRecordDto> FaultRecords { get; set; } = new List<MachineFaultRecordDto>();
  17. /// <summary>
  18. /// 统计
  19. /// </summary>
  20. public List<MachineStatisticsDto> Statistics { get; set; } = new List<MachineStatisticsDto>();
  21. /// <summary>
  22. /// 故障TOP5
  23. /// </summary>
  24. public List<MachineFaultRecordDto> Top5FaultRecords { get; set; } = new List<MachineFaultRecordDto>();
  25. }
  26. }