public FocusView() { Region = new RegionView(); Region.RefreshZoom(Zoom); Star = new StarView(); var samples = new ObservableCollection <DataPoint>(); ProfileSamples = samples; MeasurementCategories = new ObservableCollection <string>(); for (var i = 0; i < 20; i++) { MeasurementCategories.Add(i.ToString()); } Measurements = new ObservableCollection <ColumnItem>(); Measurements.Add(new ColumnItem(5, 0)); Measurements.Add(new ColumnItem(5, 1)); Measurements.Add(new ColumnItem(5, 2)); Measurements.Add(new ColumnItem(5, 3)); Measurements.Add(new ColumnItem(5, 4)); Measurements.Add(new ColumnItem(5, 5)); Measurements.Add(new ColumnItem(5, 6)); Measurements.Add(new ColumnItem(5, 7)); Measurements.Add(new ColumnItem(5, 8)); Measurements.Add(new ColumnItem(5, 9)); Measurements.Add(new ColumnItem(5, 10)); Measurements.Add(new ColumnItem(5, 11)); Measurements.Add(new ColumnItem(10, 12)); Measurements.Add(new ColumnItem(9, 13)); Measurements.Add(new ColumnItem(7, 14)); Measurements.Add(new ColumnItem(8, 15)); Measurements.Add(new ColumnItem(6.2, 16)); Measurements.Add(new ColumnItem(5, 17)); Measurements.Add(new ColumnItem(4.2, 18)); Measurements.Add(new ColumnItem(2, 19)); Measurements.Add(new ColumnItem(2, 20)); }
public void SetSelectedStar(StarView star) { Star = star; PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Star))); }