Mark van Renswoude
d6fbff68af
Added detection of sim running and paused states Added rudimentary live KML option (needs more styling)
23 lines
486 B
C#
23 lines
486 B
C#
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
|
|
{
|
|
Task NewLog();
|
|
Task LogPosition(DateTime eventTime, FlightPosition position);
|
|
//void LogEvent
|
|
}
|
|
}
|