瀏覽代碼

Merge branch 'fix_airspace_id' into 'master'

fix  id  type

See merge request BA/amap-shapes-generator!28
王冬 7 年之前
父節點
當前提交
5a0b4701f6
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      index.ts

+ 6 - 6
index.ts

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