27 lines
743 B
C#
27 lines
743 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace DTS.DASLib.Service.StateMachine
|
|||
|
|
{
|
|||
|
|
public class DiagnoseParameters : IStatusParameters
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// controls whether we should remain in state or not
|
|||
|
|
/// </summary>
|
|||
|
|
public bool ProceedToRealtimeWhenDone { get; set; }
|
|||
|
|
public bool RequireAllUnitsPassDiagnostic { get; set; }
|
|||
|
|
|
|||
|
|
public bool AllUnitsPassedDiagnostic { get; set; }
|
|||
|
|
|
|||
|
|
public void Reset()
|
|||
|
|
{
|
|||
|
|
ProceedToRealtimeWhenDone = true;
|
|||
|
|
RequireAllUnitsPassDiagnostic = false;
|
|||
|
|
AllUnitsPassedDiagnostic = false;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|