diff --git a/EduNetworkBuilder/ActionClass.cs b/EduNetworkBuilder/ActionClass.cs index ad66197..9d450be 100644 --- a/EduNetworkBuilder/ActionClass.cs +++ b/EduNetworkBuilder/ActionClass.cs @@ -265,8 +265,11 @@ namespace EduNetworkBuilder case NBAction.replaceUPS: break; case NBAction.poweroff: + source.PowerOff = true; + myNet.RegisterDeviceReset(source.hostname); break; case NBAction.poweron: + source.PowerOff = false; break; } }