Have device blowing up with power working, except for animation.
This commit is contained in:
parent
64dce3d907
commit
9bb974c70a
@ -514,6 +514,8 @@ namespace EduNetworkBuilder
|
|||||||
case NetTestType.ReadContextHelp:
|
case NetTestType.ReadContextHelp:
|
||||||
case NetTestType.FailedPing:
|
case NetTestType.FailedPing:
|
||||||
case NetTestType.DeviceIsFrozen:
|
case NetTestType.DeviceIsFrozen:
|
||||||
|
case NetTestType.DeviceBlowsUpWithPower:
|
||||||
|
case NetTestType.DeviceNeedsUPS:
|
||||||
return TaskWasDone; //This variable will tell us if these tests have been done.
|
return TaskWasDone; //This variable will tell us if these tests have been done.
|
||||||
case NetTestType.DHCPServerEnabled:
|
case NetTestType.DHCPServerEnabled:
|
||||||
if (Source == null) return false; //Unable to do it. Do not count it against them.
|
if (Source == null) return false; //Unable to do it. Do not count it against them.
|
||||||
|
@ -726,6 +726,11 @@ namespace EduNetworkBuilder
|
|||||||
{
|
{
|
||||||
PuzzleCount++;
|
PuzzleCount++;
|
||||||
}
|
}
|
||||||
|
if(nt.TheTest == NetTestType.DeviceBlowsUpWithPower && !nt.TaskWasDone)
|
||||||
|
{
|
||||||
|
NetworkDevice ND = DeviceFromName(nt.sHost);
|
||||||
|
if (ND != null) ND.PowerOff = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (report_as_done && PuzzleCount == 0 && PreviouslyUnsolved)
|
if (report_as_done && PuzzleCount == 0 && PreviouslyUnsolved)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user