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