haoxinlei 7 years ago
parent
commit
19ea1807cd
1 changed files with 6 additions and 6 deletions
  1. 6 6
      index.ts

+ 6 - 6
index.ts

@@ -84,7 +84,7 @@ export interface PassingPointNormalServer extends CoordinateShort{
 export interface AirspaceInfoCircleServer {
     airspace_name: string;
     airspace_type: 1;
-    airspace_id: number;
+    airspace_id: string;
     note: string;
 
     center_loc: string;
@@ -97,7 +97,7 @@ export interface AirspaceInfoCircleServer {
 export interface AirspaceInfoLineServer {
     airspace_name: string;
     airspace_type: 2;
-    airspace_id: number;
+    airspace_id: string;
     note: string;
 
     start_loc: string;
@@ -111,7 +111,7 @@ export interface AirspaceInfoLineServer {
 export interface AirspaceInfoPolygonServer {
     airspace_name: string;
     airspace_type: 3;
-    airspace_id: number;
+    airspace_id: string;
     note: string;
 
     points: Array<LatLngAddrServer>;
@@ -166,7 +166,7 @@ export interface PassingPointNormalLocal extends CoordinateShortString {
 // Airspace
 export interface AirspaceInfoCircleLocal {
     airspaceType: 1;
-    airspaceId: number;
+    airspaceId: string;
     name: string;
     note: string;
 
@@ -180,7 +180,7 @@ export interface AirspaceInfoCircleLocal {
 
 export interface AirspaceInfoLineLocal {
     airspaceType: 2;
-    airspaceId: number;
+    airspaceId: string;
     name: string;
     note: string;
 
@@ -192,7 +192,7 @@ export interface AirspaceInfoLineLocal {
 
 export interface AirspaceInfoPolygonLocal {
     airspaceType: 3;
-    airspaceId: number;
+    airspaceId: string;
     name: string;
     note: string;