Files
DP44/DataPRO/IService/Interfaces/ITriggerCheckActions.cs

57 lines
2.5 KiB
C#
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00

namespace DTS.DASLib.Service
{
internal interface ITriggerCheckActions
{
/// <summary>
/// handles any preparation work that must be done before StartTriggerCheck
/// is called on any units
/// this is designed to be called by the StartTriggerCheck service explicitly
/// and not as part of it's own generic service
///13820 With the S6 ATD and a SLICE PRO system in the setup, consistently see Trigger Check Fail
/// </summary>
void PreStartTriggerCheck(ServiceCallback callback, object userData);
/// <summary>
/// handles any actions that must be done AFTER StartTriggerCheck is called
/// this is designed to be called by the StartTriggerCheck service explicitly
/// and not as part of it's own generic service
///13820 With the S6 ATD and a SLICE PRO system in the setup, consistently see Trigger Check Fail
/// </summary>
void PostStartTriggerCheck(ServiceCallback callback, object userData);
/// <summary>
/// change mode in the DAS to latch signal lines
/// </summary>
/// <param name="callback">The function to call with information</param>
/// <param name="userData">Whatever you want to pass along</param>
void StartTriggerCheck(ServiceCallback callback, object userData);
/// <summary>
/// Perform the trigger check and store the result in the TriggerResult property
/// </summary>
/// <param name="callback">The function to call with information</param>
/// <param name="userData">Whatever you want to pass along</param>
void DoTriggerCheck(ServiceCallback callback, object userData);
/// <summary>
/// DoTriggerCheck is Async, this is a Sync form (which the async form calls asynchronously)
/// </summary>
void DoTriggerCheckSync();
/// <summary>
/// Perform the start check and store the results in the StartResult property
/// </summary>
/// <param name="callback"></param>
/// <param name="userData"></param>
void DoStartCheck(ServiceCallback callback, object userData);
/// <summary>
/// Set the latching mechanism in the DAS back to normal
/// </summary>
/// <param name="callback">The function to call with information</param>
/// <param name="userData">Whatever you want to pass along</param>
void CancelTriggerCheck(ServiceCallback callback, object userData);
}
}