using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MES.Production.Entity { public class StepItem { [JsonProperty("instruction")] public string Instruction { get; set; } [JsonProperty("orientation")] public string Orientation { get; set; } [JsonProperty("distance")] public string Distance { get; set; } [JsonProperty("tolls")] public string Tolls { get; set; } [JsonProperty("toll_distance")] public string TollDistance { get; set; } [JsonProperty("toll_road")] public IList TollRoad { get; set; } [JsonProperty("duration")] public string Duration { get; set; } [JsonProperty("polyline")] public string Polyline { get; set; } [JsonProperty("action")] public object Action { get; set; } [JsonProperty("assistant_action")] public object AssistantAction { get; set; } [JsonProperty("road")] public string Road { get; set; } } public class PathsItem { [JsonProperty("distance")] public string Distance { get; set; } [JsonProperty("duration")] public string Duration { get; set; } [JsonProperty("strategy")] public string Strategy { get; set; } [JsonProperty("tolls")] public string Tolls { get; set; } [JsonProperty("toll_distance")] public string TollDistance { get; set; } [JsonProperty("steps")] public IList Steps { get; set; } [JsonProperty("restriction")] public string Restriction { get; set; } [JsonProperty("traffic_lights")] public string TrafficLights { get; set; } } public class Route { [JsonProperty("origin")] public string Origin { get; set; } [JsonProperty("destination")] public string Destination { get; set; } [JsonProperty("paths")] public IList Paths { get; set; } } public class Sample { [JsonProperty("status")] public string Status { get; set; } [JsonProperty("info")] public string Info { get; set; } [JsonProperty("infocode")] public string Infocode { get; set; } [JsonProperty("count")] public string Count { get; set; } [JsonProperty("route")] public Route Route { get; set; } } }