private void UpdateBarGraphTable(bool[] barGraphArray) { var output = barGraphOutput; DeviceList.CreateBooleanTable( output.Inlines, barGraphArray, null, "Bar Number", "Bar State", "Lit", "Not Lit" ); }
private void UpdateSwitchStateTable(bool[] switchStateArray) { var output = deviceEventsSwitches; DeviceList.CreateBooleanTable( output.Inlines, switchStateArray, previousSwitchValues, "Switch Number", "Switch State", "off", "on" ); previousSwitchValues = switchStateArray; }