31 lines
657 B
Plaintext
31 lines
657 B
Plaintext
|
|
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();
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|