1
0
mirror of synced 2024-11-15 01:23:49 +00:00
FSFlightLogger/FlightLoggerLib/IFlightLogger.cs

23 lines
486 B
C#
Raw Normal View History

2020-09-02 10:49:09 +00:00
using System;
using System.Threading.Tasks;
namespace FlightLoggerLib
{
public class FlightPosition
{
public float Latitude { get; set; }
public float Longitude { get; set; }
public float Altitude { get; set; }
public float Airspeed { get; set; }
}
public interface IFlightLogger : IAsyncDisposable
2020-09-02 10:49:09 +00:00
{
Task NewLog();
2020-09-02 10:49:09 +00:00
Task LogPosition(DateTime eventTime, FlightPosition position);
//void LogEvent
}
}