示例#1
0
        public void LogTrackLeft(object sender, TrackLeavesAirSpaceArgs args)
        {
            StringBuilder stringBuilder = new StringBuilder();

            stringBuilder.AppendLine(
                $"At time: {args.Track.TimeStamp} the following plane {args.Track.TagId} left the airspace");

            File.AppendAllText(fileLogPath, stringBuilder.ToString());
        }
 public void LogTrackLeft(object sender, TrackLeavesAirSpaceArgs args)
 {
     Console.WriteLine($"At time: {args.Track.TimeStamp} the following plane {args.Track.TagId} left the airspace");
 }