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