Exemplo n.º 1
0
 /// <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);
         }
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Shutdown the view model
 /// </summary>
 public void Dispose()
 {
     CompassPlot.Dispose();
 }