From 6986adf96228698dae3161cce1c37d9021ed60f3 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Thu, 17 May 2018 16:13:32 -0500 Subject: [PATCH] Poweron NB.doaction --- EduNetworkBuilder/NB.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) 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();