MachineFaultDto.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;
  2. namespace ProductionLineMonitor.Application.Services.FaultService.Dtos
  3. {
  4. public class MachineFaultDto
  5. {
  6. /// <summary>
  7. /// 开始时间
  8. /// </summary>
  9. public DateTime StartTime { get; set; }
  10. /// <summary>
  11. /// 结束时间
  12. /// </summary>
  13. public DateTime? EndTime { get; set; }
  14. /// <summary>
  15. /// 故障码
  16. /// </summary>
  17. public string FaultCode { get; set; } = string.Empty;
  18. /// <summary>
  19. /// 故障详情
  20. /// </summary>
  21. public string FaultInfo { get; set; } = string.Empty;
  22. /// <summary>
  23. /// 故障未处理完触发的次数
  24. /// </summary>
  25. public int TriggerNumber { get; set; }
  26. /// <summary>
  27. /// 动作状态(1:手动,2:自动)
  28. /// </summary>
  29. public int MachineState { get; set; }
  30. /// <summary>
  31. /// 1:处理中 2:处理完成
  32. /// </summary>
  33. public int State { get; set; }
  34. /// <summary>
  35. /// 持续时间
  36. /// </summary>
  37. public double Duration { get; set; }
  38. }
  39. }