Beispiel #1
0
        private void SettingsRadio()
        {
            if (isSerialPass_RequiredOn)
            {
                TimedMessageBox(2000, "Serial Pass NTRIP ON", "Turn it off before using Radio NTRIP");
                return;
            }

            if (isNTRIP_RequiredOn)
            {
                TimedMessageBox(2000, "Air NTRIP ON", "Turn it off before using Radio NTRIP");
                return;
            }

            if (isRadio_RequiredOn && isNTRIP_Connected)
            {
                ShutDownNTRIP();
                lblWatch.Text          = "Stopped";
                btnStartStopNtrip.Text = "OffLine";
                isRadio_RequiredOn     = false;
            }

            using (var form = new FormRadio(this))
            {
                form.ShowDialog(this);
            }
        }
        private void SettingsRadio()
        {
            if (isRadio_RequiredOn && isNTRIP_Connected)
            {
                ShutDownNTRIP();
                lblWatch.Text          = "Stopped";
                btnStartStopNtrip.Text = "OffLine";
                isRadio_RequiredOn     = false;
            }

            using (var form = new FormRadio(this))
            {
                form.ShowDialog(this);
            }
        }