Added MongoDB Methods and introduced flight sim controller
This commit is contained in:
18
Models/FlightsimModel.cs
Normal file
18
Models/FlightsimModel.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EFB.Models
|
||||
{
|
||||
public class FlightsimModel
|
||||
{
|
||||
public SimPositionModel CurrentPosition { get; set; }
|
||||
public RouteModel Route { get; set; }
|
||||
public FlightsimModel(SimPositionModel position, RouteModel route)
|
||||
{
|
||||
CurrentPosition = position;
|
||||
Route = route;
|
||||
}
|
||||
}
|
||||
}
|
@ -24,8 +24,7 @@ namespace EFB.Models
|
||||
public string Departure { get; set; }
|
||||
public string Route { get; set; }
|
||||
public string Arrival { get; set; }
|
||||
|
||||
|
||||
public RouteModel RouteObject { get; set; }
|
||||
|
||||
|
||||
public TokenModel RouteToken { get; set; } = null;
|
||||
|
Reference in New Issue
Block a user