public override sealed void Startup() { try { StartupBase("Fw 190"); //COM1 _fug16ZyPresetDcsbiosOutputPresetDial = DCSBIOSControlLocator.GetDCSBIOSOutput("RADIO_MODE"); _fug16ZyFineTuneDcsbiosOutputDial = DCSBIOSControlLocator.GetDCSBIOSOutput("FUG16_TUNING"); //COM2 _fug25aIFFDcsbiosOutputDial = DCSBIOSControlLocator.GetDCSBIOSOutput("FUG25_MODE"); //NAV1 _homingDcsbiosOutputPresetDial = DCSBIOSControlLocator.GetDCSBIOSOutput("FT_ZF_SWITCH"); if (HIDSkeletonBase.HIDReadDevice != null && !Closed) { HIDSkeletonBase.HIDReadDevice.ReadReport(OnReport); } //IsAttached = true; } catch (Exception ex) { Common.DebugP("RadioPanelPZ69Fw190.StartUp() : " + ex.Message); Common.LogError(321654, ex); } }
public sealed override void Startup() { try { StartupBase("AJS-37"); //COM1 //COM2 //NAV1 _tilsChannelSelectorDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("TILS_CHANNEL_SELECT"); _tilsChannelLayerSelectorDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("TILS_CHANNEL_LAYER"); _masterModeSelectorDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("MASTER_MODE_SELECT"); //NAV2 //ADF //XPDR StartListeningForPanelChanges(); //IsAttached = true; } catch (Exception ex) { Common.LogError(ex); } }
public override sealed void Startup() { try { StartupBase("Bf 109"); //COM1 _fug16ZyPresetDcsbiosOutputPresetDial = DCSBIOSControlLocator.GetDCSBIOSOutput("RADIO_MODE"); _fug16ZyFineTuneDcsbiosOutputDial = DCSBIOSControlLocator.GetDCSBIOSOutput("FUG16_TUNING"); //COM2 _fug25aIFFDcsbiosOutputDial = DCSBIOSControlLocator.GetDCSBIOSOutput("FUG25_MODE"); //NAV1 _homingDcsbiosOutputPresetDial = DCSBIOSControlLocator.GetDCSBIOSOutput("FT_ZF_SWITCH"); StartListeningForPanelChanges(); //IsAttached = true; } catch (Exception ex) { Common.DebugP("RadioPanelPZ69Bf109.StartUp() : " + ex.Message); Common.LogError(321654, ex); } }
public sealed override void Startup() { try { StartupBase("MiG21-Bis"); //Radio _radioDcsbiosOutputFreqSelectorPosition = DCSBIOSControlLocator.GetDCSBIOSOutput("RAD_CHAN"); //RSBN _rsbnNavChannelCockpitOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RSBN_CHAN"); _rsbnILSChannelCockpitOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("PRMG_CHAN"); //ARC _arcSectorCockpitOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("ARC_ZONE"); _arcPresetChannelCockpitOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("ARC_CHAN"); StartListeningForPanelChanges(); //IsAttached = true; } catch (Exception ex) { Common.LogError(ex); } }
public sealed override void Startup() { try { StartupBase("Fw 190"); //COM1 _fug16ZyPresetDcsbiosOutputPresetDial = DCSBIOSControlLocator.GetDCSBIOSOutput("RADIO_MODE"); _fug16ZyFineTuneDcsbiosOutputDial = DCSBIOSControlLocator.GetDCSBIOSOutput("FUG16_TUNING"); //COM2 _fug25AIFFDcsbiosOutputDial = DCSBIOSControlLocator.GetDCSBIOSOutput("FUG25_MODE"); //NAV1 _homingDcsbiosOutputPresetDial = DCSBIOSControlLocator.GetDCSBIOSOutput("FT_ZF_SWITCH"); StartListeningForPanelChanges(); //IsAttached = true; } catch (Exception ex) { Common.LogError(ex); } }
public override sealed void Startup() { try { StartupBase("MiG21-Bis"); //Radio _radioDcsbiosOutputFreqSelectorPosition = DCSBIOSControlLocator.GetDCSBIOSOutput("RAD_CHAN"); //RSBN _rsbnNavChannelCockpitOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RSBN_CHAN"); _rsbnILSChannelCockpitOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("PRMG_CHAN"); //ARC _arcSectorCockpitOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("ARC_ZONE"); _arcPresetChannelCockpitOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("ARC_CHAN"); if (HIDSkeletonBase.HIDReadDevice != null && !Closed) { HIDSkeletonBase.HIDReadDevice.ReadReport(OnReport); } //IsAttached = true; } catch (Exception ex) { Common.DebugP("RadioPanelPZ69MiG21bis.StartUp() : " + ex.Message); Common.LogError(321654, ex); } }
public override sealed void Startup() { try { StartupBase("AJS-37"); //COM1 //COM2 //NAV1 _tilsChannelSelectorDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("TILS_CHANNEL_SELECT"); _tilsChannelLayerSelectorDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("TILS_CHANNEL_LAYER"); _masterModeSelectorDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("MASTER_MODE_SELECT"); //NAV2 //ADF //TODO //XPDR StartListeningForPanelChanges(); //IsAttached = true; } catch (Exception ex) { Common.DebugP("RadioPanelPZ69AJS37.StartUp() : " + ex.Message); Common.LogError(321654, ex); } }
public sealed override void Startup() { try { StartupBase("Spitfire LF Mk. IX"); //COM1 _hfRadioOffDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_OFF"); _hfRadioChannelAPresetDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_A"); _hfRadioChannelBPresetDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_B"); _hfRadioChannelCPresetDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_C"); _hfRadioChannelDPresetDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_D"); _hfRadioMode1DialPresetDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_T_MODE1"); _hfRadioMode2DialPresetDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_T_MODE2"); //COM2 _iffBiffDcsbiosOutputDial = DCSBIOSControlLocator.GetDCSBIOSOutput("IFF_B"); _iffDiffDcsbiosOutputDial = DCSBIOSControlLocator.GetDCSBIOSOutput("IFF_D"); StartListeningForPanelChanges(); //IsAttached = true; } catch (Exception ex) { Common.LogError(ex); } }
public override sealed void Startup() { try { StartupBase("P-51D"); //VHF _vhf1DcsbiosOutputPresetButton0 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_ON_OFF"); _vhf1DcsbiosOutputPresetButton1 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_CHAN_A"); _vhf1DcsbiosOutputPresetButton2 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_CHAN_B"); _vhf1DcsbiosOutputPresetButton3 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_CHAN_C"); _vhf1DcsbiosOutputPresetButton4 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_CHAN_D"); if (HIDSkeletonBase.HIDReadDevice != null && !Closed) { HIDSkeletonBase.HIDReadDevice.ReadReport(OnReport); } //IsAttached = true; } catch (Exception ex) { Common.DebugP("RadioPanelPZ69P51D.StartUp() : " + ex.Message); Common.LogError(321654, ex); } }
private void Control_OnMouseDoubleClick(object sender, MouseButtonEventArgs e) { try { if (_dataGridValues.SelectedItems.Count == 1) { var dcsbiosControl = (DCSBIOSControl)_dataGridValues.SelectedItem; var dcsBiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput(dcsbiosControl.identifier); var textBox = (TextBox)_dataGridValues.Tag; if (Equals(textBox, TextBoxSearch1)) { _dcsbiosOutput1 = dcsBiosOutput; _dcsbiosControl1 = dcsbiosControl; TextBoxId1.Text = _dcsbiosControl1.identifier; TextBoxSearch1.Text = _typeToSearch; } if (Equals(textBox, TextBoxSearch2)) { _dcsbiosOutput2 = dcsBiosOutput; _dcsbiosControl2 = dcsbiosControl; TextBoxId2.Text = _dcsbiosControl2.identifier; TextBoxSearch2.Text = _typeToSearch; } if (Equals(textBox, TextBoxSearch3)) { _dcsbiosOutput3 = dcsBiosOutput; _dcsbiosControl3 = dcsbiosControl; TextBoxId3.Text = _dcsbiosControl3.identifier; TextBoxSearch3.Text = _typeToSearch; } if (Equals(textBox, TextBoxSearch4)) { _dcsbiosOutput4 = dcsBiosOutput; _dcsbiosControl4 = dcsbiosControl; TextBoxId4.Text = _dcsbiosControl4.identifier; TextBoxSearch4.Text = _typeToSearch; } if (Equals(textBox, TextBoxSearch5)) { _dcsbiosOutput5 = dcsBiosOutput; _dcsbiosControl5 = dcsbiosControl; TextBoxId5.Text = _dcsbiosControl5.identifier; TextBoxSearch5.Text = _typeToSearch; } SetFormState(); } _popupSearch.IsOpen = false; SetFormState(); } catch (Exception ex) { Common.ShowErrorMessageBox(ex); } }
public sealed override void Startup() { try { // VHF _vhf1DcsbiosOutputPresetButton0 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_ON_OFF"); _vhf1DcsbiosOutputPresetButton1 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_CHAN_A"); _vhf1DcsbiosOutputPresetButton2 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_CHAN_B"); _vhf1DcsbiosOutputPresetButton3 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_CHAN_C"); _vhf1DcsbiosOutputPresetButton4 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_CHAN_D"); StartListeningForHidPanelChanges(); // IsAttached = true; } catch (Exception ex) { logger.Error(ex); } }
private void Control_OnMouseDoubleClick(object sender, MouseButtonEventArgs e) { try { if (_popupDataGrid.SelectedItems.Count == 1) { _dcsbiosControl = (DCSBIOSControl)_popupDataGrid.SelectedItem; _dcsbiosDecoder.DCSBIOSOutput = DCSBIOSControlLocator.GetDCSBIOSOutput(_dcsbiosControl.identifier); TextBoxDCSBIOSId.Text = _dcsbiosControl.identifier; SetIsDirty(); SetFormState(); } _popupSearch.IsOpen = false; } catch (Exception ex) { Common.ShowErrorMessageBox(ex); } }
public sealed override void Startup() { try { // V/UHF COMM1 _comm1DcsbiosOutputFreq = DCSBIOSControlLocator.GetDCSBIOSOutput("COMM1_STRING_FREQ"); DCSBIOSStringManager.AddListeningAddress(_comm1DcsbiosOutputFreq); // V/UHF COMM2 _comm2DcsbiosOutputFreq = DCSBIOSControlLocator.GetDCSBIOSOutput("COMM2_STRING_FREQ"); DCSBIOSStringManager.AddListeningAddress(_comm2DcsbiosOutputFreq); StartListeningForHidPanelChanges(); // IsAttached = true; } catch (Exception ex) { SetLastException(ex); } }
public sealed override void Startup() { try { // COM1 _hfRadioOffDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_OFF"); _hfRadioChannelAPresetDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_A"); _hfRadioChannelBPresetDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_B"); _hfRadioChannelCPresetDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_C"); _hfRadioChannelDPresetDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_D"); _hfRadioModeDialPresetDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("RCTRL_T_MODE"); // COM2 // _iffBiffDcsbiosOutputDial = DCSBIOSControlLocator.GetDCSBIOSOutput("IFF_B"); // _iffDiffDcsbiosOutputDial = DCSBIOSControlLocator.GetDCSBIOSOutput("IFF_D"); StartListeningForHidPanelChanges(); // IsAttached = true; } catch (Exception ex) { logger.Error(ex); } }
public override sealed void Startup() { try { StartupBase("AJS-37"); //COM1 //COM2 //NAV1 _tilsChannelSelectorDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("TILS_CHANNEL_SELECT"); _tilsChannelLayerSelectorDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("TILS_CHANNEL_LAYER"); _masterModeSelectorDcsbiosOutput = DCSBIOSControlLocator.GetDCSBIOSOutput("MASTER_MODE_SELECT"); //NAV2 //ADF //TODO //XPDR if (HIDSkeletonBase.HIDReadDevice != null && !Closed) { HIDSkeletonBase.HIDReadDevice.ReadReport(OnReport); } //IsAttached = true; } catch (Exception ex) { Common.DebugP("RadioPanelPZ69AJS37.StartUp() : " + ex.Message); Common.LogError(321654, ex); } }
public sealed override void Startup() { try { StartupBase("AV-8B NA"); //V/UHF COMM1 _comm1DcsbiosOutputFreq = DCSBIOSControlLocator.GetDCSBIOSOutput("COMM1_STRING_FREQ"); DCSBIOSStringListenerHandler.AddAddress(_comm1DcsbiosOutputFreq.Address, 4, this); //V/UHF COMM2 _comm2DcsbiosOutputFreq = DCSBIOSControlLocator.GetDCSBIOSOutput("COMM2_STRING_FREQ"); DCSBIOSStringListenerHandler.AddAddress(_comm2DcsbiosOutputFreq.Address, 4, this); StartListeningForPanelChanges(); //IsAttached = true; } catch (Exception ex) { Common.DebugP("RadioPanelPZ69AV8BNA.StartUp() : " + ex.Message); SetLastException(ex); } }
public override sealed void Startup() { try { StartupBase("P-51D"); //VHF _vhf1DcsbiosOutputPresetButton0 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_ON_OFF"); _vhf1DcsbiosOutputPresetButton1 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_CHAN_A"); _vhf1DcsbiosOutputPresetButton2 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_CHAN_B"); _vhf1DcsbiosOutputPresetButton3 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_CHAN_C"); _vhf1DcsbiosOutputPresetButton4 = DCSBIOSControlLocator.GetDCSBIOSOutput("VHF_RADIO_CHAN_D"); StartListeningForPanelChanges(); //IsAttached = true; } catch (Exception ex) { Common.DebugP("RadioPanelPZ69P51D.StartUp() : " + ex.Message); Common.LogError(321654, ex); } }