namespace MMDAL.DTO.Scheduling { public class StopWorkOrderDTO { public int ResourcePlanId { get; set; } public bool ReleaseResource { get; set; } // free machine slot for re-planning public int? StopReasonId { get; set; } public string? StopRemarks { get; set; } // 0=None 1=CreateBreakdownCall(TCALL) 2=CreateMaintenanceTask(TTASK TASKNATURE=2) public byte CreateEventType { get; set; } // For TTASK: how long the machine is expected to be unavailable after stop (minutes) public int UnavailableMinutes { get; set; } // Reset TINDENTDETAIL.SCHEDULESTATUS=0 so next engine run re-plans this work order public bool ResetToUnscheduled { get; set; } = true; } }