public void SeriesType_handler(tle_sat_serie_variables series_type) { try { // Add each type to the main list so the data can be represented later switch (series_type) { case tle_sat_serie_variables.Inclination: _mainSeries_dict.Add(series_type, _tle_dataset._TLE_Sat_Selected.Sat_Inclination_series); break; case tle_sat_serie_variables.RAAN: _mainSeries_dict.Add(series_type, _tle_dataset._TLE_Sat_Selected.Sat_RAAN_series); break; case tle_sat_serie_variables.Radious: _mainSeries_dict.Add(series_type, _tle_dataset._TLE_Sat_Selected.Sat_Radious_series); break; case tle_sat_serie_variables.Velocity: _mainSeries_dict.Add(series_type, _tle_dataset._TLE_Sat_Selected.Sat_Velocity_series); break; case tle_sat_serie_variables.Velocity_vs_Radious: _mainSeries_dict.Add(tle_sat_serie_variables.Velocity, _tle_dataset._TLE_Sat_Selected.Sat_Velocity_series); _mainSeries_dict.Add(tle_sat_serie_variables.Radious, _tle_dataset._TLE_Sat_Selected.Sat_Radious_series); break; } } catch (Exception ex) { Debug.WriteLine(ex.ToString()); } }
public void Get_Sat_mainTimeSeries(uint iterations, tle_sat_serie_variables series_type) { try { switch (series_type) { case tle_sat_serie_variables.Inclination: Get_SatInclination_timeSeries(iterations); break; case tle_sat_serie_variables.RAAN: Get_SatRAAN_timeSeries(iterations); break; case tle_sat_serie_variables.Radious: Get_SatRadious_timeSeries(iterations); break; case tle_sat_serie_variables.Velocity: Get_SatVelocity_timeSeries(iterations); break; case tle_sat_serie_variables.Velocity_vs_Radious: Get_SatVelocity_timeSeries(iterations); Get_SatRadious_timeSeries(iterations); break; } } catch (Exception ex) { Debug.WriteLine(ex.ToString()); } }
public bool CheckSerieInDict(tle_sat_serie_variables series_type) { try { bool result = false; result = _mainSeries_dict.ContainsKey(series_type); return(result); } catch (Exception ex) { Debug.WriteLine(ex.ToString()); return(false); } }