22 lines
495 B
C#
22 lines
495 B
C#
using DTS.Common.Interface.DASFactory;
|
|
using System;
|
|
|
|
namespace DTS.DASLib.Service.StateMachine
|
|
{
|
|
public interface IDASState
|
|
{
|
|
Status Status { get; }
|
|
IDASFactory DASFactory { get; set; }
|
|
Action OnEntry { get; }
|
|
Action OnExit { get; }
|
|
State State { get; }
|
|
void OnEnterState();
|
|
void OnExitState();
|
|
}
|
|
|
|
public interface IDASStateWithSelector : IDASState
|
|
{
|
|
IDASState StateSelector();
|
|
}
|
|
}
|