init
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
|
||||
namespace DTS.DASLib.Service.StateMachine
|
||||
{
|
||||
public class ConfigureStart : DASStateSelector
|
||||
{
|
||||
public override State State => State.ConfigureStart;
|
||||
|
||||
public override IDASState StateSelector()
|
||||
{
|
||||
//more work needs to go in here ...
|
||||
return States.Instance.Diagnose;
|
||||
}
|
||||
|
||||
public override Action OnEntry
|
||||
{
|
||||
get
|
||||
{
|
||||
return ApplyConfig;
|
||||
}
|
||||
}
|
||||
|
||||
private void ApplyConfig()
|
||||
{
|
||||
OnEnterState();
|
||||
Status.ConfigureStatus.ApplyConfig();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user