diff --git a/EduNetworkBuilder/NB.cs b/EduNetworkBuilder/NB.cs index 5ff803e..c988388 100644 --- a/EduNetworkBuilder/NB.cs +++ b/EduNetworkBuilder/NB.cs @@ -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();