MachineFaultComparisonDto.cs 575 B

1234567891011121314151617181920
  1. using ProductionLineMonitor.Core.Enums;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace ProductionLineMonitor.Core.Dtos
  6. {
  7. public class FaultComparisonDto
  8. {
  9. public string AlarmCode { get; set; } = string.Empty;
  10. public AlarmLevelEnum AlarmLevel { get; set; }
  11. public string AlarmInfo { get; set; } = string.Empty;
  12. }
  13. public class MachineFaultComparisonDto
  14. {
  15. public string DeviceNo { get; set; } = string.Empty;
  16. public List<FaultComparisonDto> FaultComparisonDtos { get; set; }
  17. }
  18. }