123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- 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<object> 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<StepItem> 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<PathsItem> 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; }
- }
- }
|