コード例 #1
0
 public void ClearAllGroupsTest()
 {
     Controller.AddUnitToGroup(Controller.AllLights[0], 0);
     Controller.AddUnitToGroup(Controller.AllLights[1], 1);
     Controller.ClearAllGroups();
     Assert.IsEmpty(Controller._groups[0].GroupOfLights);
     Assert.IsEmpty(Controller._groups[1].GroupOfLights);
 }
コード例 #2
0
 //clear ALL groups including the broadcast group(16)
 private void ClearAllGroups(object sender, EventArgs e)
 {
     DALIController.ClearAllGroups();
     SetUpFirstButtons();
 }