Poweron NB.doaction

This commit is contained in:
Tim Young 2018-05-17 16:13:32 -05:00
parent 892aa401cb
commit 6986adf962

View File

@ -1537,6 +1537,16 @@ namespace EduNetworkBuilder
AC.DoAction();
}
public static void DoActionPowerOn(int HostID)
{
ActionClass AC = new ActionClass();
AC.Action = NBAction.poweron;
AC.SourceID = HostID;
RegisterAction(AC);
AC.DoAction();
}
public static void DoActionDeleteComponent(int HostID)
{
ActionClass AC = new ActionClass();