Example #1
0
        private void btnImportTle_Click(object sender, EventArgs e)
        {
            if (openTleFileDialog.ShowDialog() == DialogResult.OK)
            {
                currentTle                = new TLE(openTleFileDialog.FileName);
                this.lblTleEpoch.Text     = currentTle.GetTleEpoch().ToString("dd MMM yyyy hh:mm:ss.fff");
                this.lblSatNumber.Text    = currentTle.GetSatNumber();
                this.lblInclination.Text  = currentTle.GetInclination();
                this.lblEccentricity.Text = currentTle.GetEccentricity();
                this.lblRevNumber.Text    = currentTle.GetRevNumber();
                this.lblMeanMotion.Text   = currentTle.GetMeanMotion();

                this.btnCreateScenarioTle.Enabled = true;
            }
        }
Example #2
0
        private void createScenarioSatcatCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            this.lblTleEpoch.Text     = currentTle.GetTleEpoch().ToString("dd MMM yyyy hh:mm:ss.fff");
            this.lblSatNumber.Text    = currentTle.GetSatNumber();
            this.lblInclination.Text  = currentTle.GetInclination();
            this.lblEccentricity.Text = currentTle.GetEccentricity();
            this.lblRevNumber.Text    = currentTle.GetRevNumber();
            this.lblMeanMotion.Text   = currentTle.GetMeanMotion();

            this.progressBar.Style     = ProgressBarStyle.Blocks;
            this.statusLabel.Text      = "Scenario created";
            this.gbSatData.Enabled     = true;
            this.gbUncertainty.Enabled = true;
            this.gbAnalysis.Enabled    = true;
        }