Files
DP44/DataPRO/IService/.svn/pristine/dd/ddd1d89a62ac556d74b4ce3ed037f87657b822cb.svn-base

27 lines
837 B
Plaintext
Raw Normal View History

2026-04-17 14:55:32 -04:00
using System;
namespace DTS.DASLib.Service.StateMachine
{
public class Configure : DASStateSelector
{
public override IDASState StateSelector()
{
if (AllowApplyConfig())
{
return States.Instance.ConfigureStart;
}
return States.Instance.Configure;
}
public override State State => State.Configure;
public bool AllowApplyConfig()
{
//needs to decide based on 1) are all channels resolved (or do we even require that?) 2) are there channels out of place
//(or do we even care about that?) 3) are there any channels resolved?
//for now we'll just return true till there's some logic ready to be put in place
return true;
}
}
}