123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424 |
- syntax = "proto3";
- package KYFramework.Network;
- message C2R_Ping
- {
- int32 RpcId = 90;
- }
- message R2C_Ping
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- message C2S_Test
- {
- int32 RpcId = 90;
- string Message = 92;
- }
- message S2C_Test
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- }
- message C2S_TestMessage
- {
- string Message = 90;
- }
- message S2C_TestMessage
- {
- string Message = 90;
- }
- message Point
- {
- double Longitude = 1;
- double Latitude = 2;
- double Altitude = 3;
- }
- message Base
- {
- string BaseName = 1;
- Point BaseLocation = 2;
- }
- message CityWeather
- {
-
- string CityName = 1;
-
- string WeatherCondition = 2;
-
- string WindDirection = 3;
-
- double WindVelocity = 4;
-
- double Temperature = 5;
-
- double Humidity = 6;
-
- double Visibility = 7;
- }
- message AirRoute
- {
- string Name = 1;
- repeated Point PointArr = 2;
- }
- message NoFlyZoneCircle
- {
- string NoFlyZoneType = 1;
- Point NoFlyZoneCenterLocation = 2;
- double NoFlyZoneRadius = 3;
- }
- message NoFlyZoneRect
- {
- string NoFlyZoneType = 1;
- repeated Point NoFlyZoneRectangleLocation = 2;
- }
- message ClimbSegment
- {
- double ClimbVelocity = 1;
- double ClimbFuelConsumptionRate = 2;
- }
- message DescentSegment
- {
- double DescentVelocity = 1;
- double DescentFuelConsumptionRate = 2;
- }
- message CruiseSegment
- {
- double CruiseAltitude = 1;
- double CruiseVelocity = 2;
- double CruiseFuelConsumptionRate = 3;
- }
- message TurningSegment
- {
- double TurningRadius = 1;
- double TurningVelocity = 2;
- double ClimbFuelConsumptionRate = 3;
- }
- message C2S_FlyPlanInput
- {
-
-
-
- string MissionName = 1;
-
- string MissionType = 2;
-
- repeated Point MissionRectangle = 3;
-
-
-
-
- double MaxTakeoffWeight = 4;
-
- double TakeoffEmptyWeight = 5;
-
- double MaxFlightRange = 6;
-
- double MaxFlightTime = 7;
-
- double ServiceCeiling = 8;
-
- double MaxFuelCapacity = 9;
-
- double MaxWeightCapacity = 10;
-
- string LoadName = 11;
-
- int32 LoadQuantity = 12;
-
- double LoadWeight = 13;
-
-
-
-
- repeated CityWeather CityWeatherArr = 14;
-
-
-
-
- repeated Base BaseArr = 15;
-
-
-
-
- repeated AirRoute AirRouteArr = 16;
-
-
-
-
- string EndSelection = 17;
-
- repeated Point TerminusLocation = 18;
-
-
-
-
- repeated NoFlyZoneCircle NoFlyZoneCircleArr = 19;
-
- repeated NoFlyZoneRect NoFlyZoneRectArr = 20;
-
-
-
-
- double VisualDistance = 21;
-
- string DetourDirection = 22;
-
- int32 NumberOfDetour = 23;
-
- double DetourIntervalDistance = 24;
-
- double DetourVelocity = 25;
-
- repeated Point FirePointLocation = 26;
-
-
-
-
- double MinTurningRadius = 27;
-
- double MaxTurningVelocity = 28;
-
- double MaxClimbVelocity = 29;
-
- double MaxDescentVelocity = 30;
-
- double MaxCruiseVelocity = 31;
-
-
- repeated ClimbSegment ClimbSegmentArr = 32;
-
- repeated DescentSegment DescentSegmentArr = 33;
-
- repeated CruiseSegment CruiseSegmentArr = 34;
-
- repeated TurningSegment TurningSegmentArr = 35;
-
-
-
-
- string AircraftID = 36;
-
- }
- message S2C_FlyPlanOutput
- {
-
- string AircraftID = 1;
-
- repeated PlanTurningPoint PlanTurningPointArr = 2;
- }
- message PlanTurningPoint
- {
-
- string Name = 1;
-
- Point Location = 2;
-
- string Type = 3;
-
- double Velocity = 4;
-
- double SegmentConsumption = 5;
-
- double SegmentTime = 6;
-
- double Radius = 7;
- }
- message S2C_TurningPointOutput
- {
-
- string AircraftID = 1;
-
- string TurningPointName = 2;
-
- repeated Point TurningPointLocation = 3;
-
- string PresentMission = 4;
-
- string PresentTarget = 5;
-
- string StartDate = 6;
-
- string StartTime = 7;
-
- string EndDate = 8;
-
- string EndTime = 9;
-
- double ElapsedTime = 10;
-
- string PresentDate = 11;
-
- string PresentTime = 12;
-
- Point PresentLocation = 13;
-
- double PresentFuelConsumption = 14;
-
- double PresentRemainingFuel = 15;
-
- double PresentVelocity = 16;
- }
- message C2S_GetReport
- {
- int32 RpcId = 90;
- }
- message S2C_GetReport
- {
- int32 RpcId = 90;
- int32 Error = 91;
- string Message = 92;
- repeated ResportWithTaskName Reports = 93;
- }
- message ResportWithTaskName
- {
- int32 FirePointId = 1;
- repeated EntitySheetReportValue EntitySheetReportValueArr = 2;
- }
- message C2S_StmulationStart
- {
-
- }
- message C2S_StmulationTimeScale
- {
- int32 TimeScale = 1;
- }
- message S2C_StmulationEnd
- {
- int32 FirePointId = 1;
- repeated EntitySheetReportValue EntitySheetReportValueArr = 2;
- }
- message EntitySheetReportValue
- {
- string Name = 1;
- repeated SheetReportValue SheetReportValueArr = 2;
- }
- message SheetReportValue
- {
- string Name = 1;
- repeated ReportValue ValueArr = 2;
- }
- message ReportValue
- {
- string Name = 1;
- string Value = 2;
- }
- message C2S_SimulationResult
- {
- int32 RpcId = 90;
- }
-
- message S2C_SimulatinResult
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
-
- double TaskResponseTime = 4;
-
- double TaskTotalTime = 5;
-
- double SingleJoinTime = 6;
-
- double SingleEffectiveTaskTime = 7;
-
- double SingleAll_Peopeo = 8;
-
- double SingleEach_People = 9;
-
- double Speed_Patrol = 10;
-
- double Voyage_Patrol = 11;
-
- double Time_AllPatrol = 12;
-
- double FireJoinTime = 13;
-
- double Fuel_Single = 14;
-
- string AirportUseSituation = 15;
-
- string NavUseSituation = 16;
-
-
- double FireJoinTime_Economical = 17;
-
- double Fuel_Single_Economical = 18;
-
- string AirportUseSituation_Economical = 19;
-
- string NavUseSituation_Economical = 20;
-
- }
- message S2C_FireSpread
- {
- string AircraftId = 1;
- int32 FirePointId = 2;
- double fireGrids = 3;
- double firedGrids = 4;
- }
|