Added Poll response function

JSON is not properly serialised... still in progress
This commit is contained in:
2021-12-28 21:53:31 +00:00
parent e134751745
commit 5a2f109e65
5 changed files with 107 additions and 25 deletions

View File

@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace EFB.Models.JSON
{
[JsonArray]
public class PollResponse
{
[JsonProperty(PropertyName = "cmdname")]
public string Command { get; set; }
[JsonProperty(PropertyName = "fpl")]
public string FlightPlan { get; set; }
}
}