protected virtual void OnRaisedSerparationEvent(SeperationsEventArgs e)
 {
     RaisedSerparationEvent?.Invoke(this, e);
 }
Example #2
0
 public void WriteSeperationToLog(object sender, SeperationsEventArgs e)
 {
     WriteToLog(e.Message.plane1.Tag, e.Message.plane2.Tag, e.Message.timestamp.ToString());
 }
Example #3
0
 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}");
 }