예제 #1
0
 //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();
 }
예제 #2
0
 public void TurnGroupOnTest()
 {
     Controller.AddUnitToGroup(Controller.AllLights[0], 0);
     Controller.TurnOnGroup(0);
     Assert.AreEqual(true, Controller._groups[0].GroupOfLights[0].IsUnitOn);
 }