12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- using Newtonsoft.Json;
- namespace Model;
- public class FlightPlanEditor
- {
- public AircraftParameter aircraftparameter;
- public CityWeather cityweather;
-
- public Base originbase;
-
- public Base fuelbase;
-
- public Base endbase;
-
- public AirRoute[] airroute = new AirRoute[1];
-
- [JsonProperty("任务点")]
- public MissionPoint missionpoint = new MissionPoint();
- [JsonProperty("火点")]
- public FirePoint[] firepoint = new FirePoint[1];
- [JsonProperty("搜救目标初始点")]
- public TargetPoint[] targetpoint = new TargetPoint[1];
- public static FlightPlanEditor Create(AircraftParameter aircraftparameter, CityWeather cityweather, Base originbase, Base fuelBase, Base endBase,AirRoute[] airroute, MissionPoint missionpoint, FirePoint[] firepoint)
- {
- FlightPlanEditor flightPlanEditor = new FlightPlanEditor();
- flightPlanEditor.aircraftparameter = aircraftparameter;
- flightPlanEditor.fuelbase = fuelBase;
- flightPlanEditor.endbase = endBase;
- flightPlanEditor.cityweather = cityweather;
- flightPlanEditor.originbase = originbase;
- flightPlanEditor.airroute = airroute;
- flightPlanEditor.missionpoint = missionpoint;
- flightPlanEditor.firepoint = firepoint;
- return flightPlanEditor;
- }
- public static FlightPlanEditor Create(AircraftParameter aircraftparameter, CityWeather cityweather, Base originbase, Base fuelBase, Base endBase, MissionPoint missionpoint, FirePoint[] firepoint)
- {
- FlightPlanEditor flightPlanEditor = new FlightPlanEditor();
- flightPlanEditor.aircraftparameter = aircraftparameter;
- flightPlanEditor.cityweather = cityweather;
- flightPlanEditor.originbase = originbase;
- flightPlanEditor.fuelbase = fuelBase;
- flightPlanEditor.endbase = endBase;
- flightPlanEditor.missionpoint = missionpoint;
- flightPlanEditor.firepoint = firepoint;
- return flightPlanEditor;
- }
-
- public static FlightPlanEditor Create(AircraftParameter aircraftparameter, CityWeather cityweather, Base originbase, Base fuelBase, Base endBase, TargetPoint[] targetPoints)
- {
- FlightPlanEditor flightPlanEditor = new FlightPlanEditor();
- flightPlanEditor.aircraftparameter = aircraftparameter;
- flightPlanEditor.cityweather = cityweather;
- flightPlanEditor.originbase = originbase;
- flightPlanEditor.fuelbase = fuelBase;
- flightPlanEditor.endbase = endBase;
- flightPlanEditor.targetpoint = targetPoints;
- return flightPlanEditor;
- }
- }
|