Пример #1
0
 //Extinguishes all Units in the wanted group
 //then resets to main menu
 private void ExtinguishGroup(object sender, EventArgs e)
 {
     DALIController.Extinguishgroup(_currentGroup);
     SetUpFirstButtons();
 }
Пример #2
0
 public void ExtinguishGroupTest()
 {
     Controller.AddUnitToGroup(Controller.AllLights[0], 0);
     Controller.Extinguishgroup(0);
     Assert.AreEqual(false, Controller._groups[0].GroupOfLights[0].IsUnitOn);
 }