/// <summary> /// Add compass data to the compass rose. /// </summary> private void AddCompassData() { if (_ensemble != null) { if (_ensemble.IsAncillaryAvail) { CompassPlot.AddIncomingData(_ensemble.AncillaryData.Heading, _ensemble.AncillaryData.Pitch, _ensemble.AncillaryData.Roll); } else if (_ensemble.IsBottomTrackAvail) { CompassPlot.AddIncomingData(_ensemble.BottomTrackData.Heading, _ensemble.BottomTrackData.Pitch, _ensemble.AncillaryData.Roll); } } }
/// <summary> /// Shutdown the view model /// </summary> public void Dispose() { CompassPlot.Dispose(); }