protected virtual void OnRaisedSerparationEvent(SeperationsEventArgs e) { RaisedSerparationEvent?.Invoke(this, e); }
public void WriteSeperationToLog(object sender, SeperationsEventArgs e) { WriteToLog(e.Message.plane1.Tag, e.Message.plane2.Tag, e.Message.timestamp.ToString()); }
public void HandleSeparationEvent(object sender, SeperationsEventArgs e) { Console.WriteLine($"The two planes {e.Message.plane1.Tag} and {e.Message.plane2.Tag} had a separation event at {e.Message.timestamp}"); }