public void Disable() { if (TugActive) { myManager.TransmitEvent(EventsEnum.KEY_PUSHBACK_SET, 1); myManager.SetData(DefinitionsEnum.PushbackWait, 0); fastTimer.Stop(); SetTugSpeed(0); SetTugRotation(0); } }
public void ToggleExit(ExitType exitType) { if (myManager.Connected) { //Increase index by 1 for the toggle event. This works better but seems incorrect since 0 is a valid exit index as well if (exitType == ExitType.Main) { myManager.TransmitEvent(EventsEnum.KEY_TOGGLE_AIRCRAFT_EXIT, mainExitIndex + 1); } else if (exitType == ExitType.Cargo) { myManager.TransmitEvent(EventsEnum.KEY_TOGGLE_AIRCRAFT_EXIT, cargoExitIndex + 1); } else if (exitType == ExitType.Emergency) { myManager.TransmitEvent(EventsEnum.KEY_TOGGLE_AIRCRAFT_EXIT, emergencyExitIndex + 1); } } }
public void ToggleJetway() { myManager.TransmitEvent(EventsEnum.TOGGLE_JETWAY, 1); }