make doaction work for power off and on
This commit is contained in:
parent
e2de5b50f1
commit
4b70e9b2ff
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user