//Resets the Units in the given group to allow for them to turn on again //then resets to main menu private void TurnGroupOn(object sender, EventArgs e) { DALIController.TurnOnGroup(_currentGroup); SetUpFirstButtons(); }
public void TurnGroupOnTest() { Controller.AddUnitToGroup(Controller.AllLights[0], 0); Controller.TurnOnGroup(0); Assert.AreEqual(true, Controller._groups[0].GroupOfLights[0].IsUnitOn); }