private void MasterKeyButtonCommand() { _ = new ToggleMasterKeyCommand(Viewer.Log, !electricLocomotive.LocomotivePowerSupply.MasterKey.CommandSwitch); }
private void MasterKeyCommand() { _ = new ToggleMasterKeyCommand(Viewer.Log, !dieselLocomotive.LocomotivePowerSupply.MasterKey.CommandSwitch); }