init
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
|
||||
namespace DTS.DASLib.Service.StateMachine
|
||||
{
|
||||
internal class Prepare : DASState
|
||||
{
|
||||
private void PrepareDASFactory()
|
||||
{
|
||||
OnEnterState();
|
||||
if (null != DASFactory)
|
||||
{
|
||||
DASFactory.DetachAllDevices();
|
||||
DASFactory.TDASHostNames = new string[0];
|
||||
DASFactory.SliceDBHostNames = new string[0];
|
||||
}
|
||||
}
|
||||
public override State State => State.Prepare;
|
||||
public override Action OnEntry
|
||||
{
|
||||
get => PrepareDASFactory;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user