1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using System;
- namespace ProductionLineMonitor.Application.Services.FaultService.Dtos
- {
- public class MachineFaultDto
- {
- /// <summary>
- /// 开始时间
- /// </summary>
- public DateTime StartTime { get; set; }
- /// <summary>
- /// 结束时间
- /// </summary>
- public DateTime? EndTime { get; set; }
- /// <summary>
- /// 故障码
- /// </summary>
- public string FaultCode { get; set; } = string.Empty;
- /// <summary>
- /// 故障详情
- /// </summary>
- public string FaultInfo { get; set; } = string.Empty;
- /// <summary>
- /// 故障未处理完触发的次数
- /// </summary>
- public int TriggerNumber { get; set; }
- /// <summary>
- /// 动作状态(1:手动,2:自动)
- /// </summary>
- public int MachineState { get; set; }
- /// <summary>
- /// 1:处理中 2:处理完成
- /// </summary>
- public int State { get; set; }
- /// <summary>
- /// 持续时间
- /// </summary>
- public double Duration { get; set; }
- }
- }
|