Added Poll response function
JSON is not properly serialised... still in progress
This commit is contained in:
19
Models/JSON/PollResponse.cs
Normal file
19
Models/JSON/PollResponse.cs
Normal 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; }
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user