import * as AirspaceInfo from '../index'; export const circleServer: AirspaceInfo.AirspaceInfoCircleServer = { airspace_name: "test", airspace_type: 1, airspace_id: "123", note: "notes note", center_loc: "loc name", center_point_of_flying: { lat: 123.4, lng: 40.3 }, radius_of_flying: 123, altitude: 1000, unit: 1 } export const circleLocal = {"addr": "loc name", "airspaceId": "123", "airspaceType": 1, "height": "1000", "heightStandard": "米/真高", "lat": 123.4, "lng": 40.3, "name": "test", "note": "notes note", "radius": 123} export const polygonServer: AirspaceInfo.AirspaceInfoPolygonServer = { airspace_name: 'test', airspace_type: 3, airspace_id: "123", note: 'notes', points: [{ addr: 'test', lat: 123.4, lng: 40.3 }], altitude: 123, unit: 1 } export const polygonLocal: AirspaceInfo.AirspaceInfoPolygonLocal = {"airspaceId": "123", "airspaceType": 3, "height": "123", "heightStandard": "米/真高", "name": "test", "note": "notes", "polygonPoints": [{"addr": "test", "lat": 123.4, "lng": 40.3}]} export const lineServer1: AirspaceInfo.AirspaceInfoLineServer = { airspace_name: "test", airspace_type: 2, airspace_id: "123", note: "notes note", start_loc: "start loc", start_point: { lat: 123.4, lng: 40.3, altitude: 111, unit: 2 }, end_loc: "end loc", end_point: { lat: 123.4, lng: 40.3 }, passing_points: [{ point_type: 3, altitude: 1000, unit: 0, point_name: "test point", lat: 123.4, lng: 40.3 },{ point_type: 2, altitude: 1111, unit: 1, airway: 123, air_route_code: "B334", points: [{ point_id: 123, point_name: 'test point', point_code: 'UAV22', lat: 123.4, lng: 40.3 }] },{ point_type: 1, altitude: 12222, unit: 3, point_id: 123, point_code: '123', point_name: 'test point', lat: 123.4, lng: 40.3 }], airline_width: 12 } export const lineLocal1: AirspaceInfo.AirspaceInfoLineLocal = {"airlineWidth": 12, "airspaceId": "123", "airspaceType": 2, "arrive": {"addr": "end loc", "lat": 123.4, "lng": 40.3}, "dep": {"addr": "start loc", "height": "111", "heightStandard": "米(含以下)/标高", "lat": 123.4, "lng": 40.3}, "name": "test", "note": "notes note", "passPoints": [{"addr": "test point", "height": "1000", "heightStandard": "米/标高", "lat": 123.4, "lng": 40.3, "pointType": 3}, {"airRouteId": 123, "airlineCode": "B334", "airlines": [{"lat": 123.4, "lng": 40.3, "point_code": "UAV22", "point_id": 123, "point_name": "test point"}], "height": "1111", "heightStandard": "米/真高", "pointType": 2}, {"height": "12222", "heightStandard": "米(含以下)/真高", "lat": 123.4, "lng": 40.3, "pointCode": "123", "pointId": 123, "pointName": "test point", "pointType": 1}]} export const lineServer2: AirspaceInfo.AirspaceInfoLineServer = { airspace_name: "test", airspace_type: 2, airspace_id: "123", note: "notes note", start_loc: "start loc", start_point: { lat: 123.4, lng: 40.3, altitude: 111, unit: 2 }, end_loc: "end loc", end_point: { lat: 123.4, lng: 40.3 }, passing_points: [{ point_type: 3, altitude: 1000, unit: 0, point_name: "test point", lat: 123.4, lng: 40.3 },{ point_type: 2, altitude: 1111, unit: 1, airway: 123, air_route_code: "B334", points: [{ point_id: 123, point_name: 'test point', point_code: 'UAV22', lat: 123.4, lng: 40.3 }] },{ point_type: 1, altitude: 12222, unit: 3, point_id: 123, point_code: '123', point_name: 'test point', lat: 123.4, lng: 40.3 }] } export const lineLocal2: AirspaceInfo.AirspaceInfoLineLocal = {"airspaceId": "123", "airspaceType": 2, "arrive": {"addr": "end loc", "lat": 123.4, "lng": 40.3}, "dep": {"addr": "start loc", "height": "111", "heightStandard": "米(含以下)/标高", "lat": 123.4, "lng": 40.3}, "name": "test", "note": "notes note", "passPoints": [{"addr": "test point", "height": "1000", "heightStandard": "米/标高", "lat": 123.4, "lng": 40.3, "pointType": 3}, {"airRouteId": 123, "airlineCode": "B334", "airlines": [{"lat": 123.4, "lng": 40.3, "point_code": "UAV22", "point_id": 123, "point_name": "test point"}], "height": "1111", "heightStandard": "米/真高", "pointType": 2}, {"height": "12222", "heightStandard": "米(含以下)/真高", "lat": 123.4, "lng": 40.3, "pointCode": "123", "pointId": 123, "pointName": "test point", "pointType": 1}]} export const lineServer3: AirspaceInfo.AirspaceInfoLineServer = { airspace_name: "test", airspace_type: 2, airspace_id: "123", note: "notes note", start_loc: "start loc", start_point: { lat: 123.4, lng: 40.3, altitude: 111, unit: 2 }, end_loc: "end loc", end_point: { lat: 123.4, lng: 40.3 }, passing_points: [] } export const lineLocal3: AirspaceInfo.AirspaceInfoLineLocal = {"airspaceId": "123", "airspaceType": 2, "arrive": {"addr": "end loc", "lat": 123.4, "lng": 40.3}, "dep": {"addr": "start loc", "height": "111", "heightStandard": "米(含以下)/标高", "lat": 123.4, "lng": 40.3}, "name": "test", "note": "notes note", "passPoints": []}