| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- 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 = <AirspaceInfo.AirspaceInfoCircleLocal>{"addr": "loc name", "airspaceId": 123, "airspaceType": 1, "height": "1000", "heightStandard": "米/真高", "lat": "123°24′00″", "lng": "40°18′00″", "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°24′00″", "lng": "40°18′00″"}]}
- 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°24′00″", "lng": "40°18′00″"}, "dep": {"addr": "start loc", "height": "111", "heightStandard": "米(含以下)/标高", "lat": "123°24′00″", "lng": "40°18′00″"}, "name": "test", "note": "notes note", "passPoints": [{"addr": "test point", "height": "1000", "heightStandard": "米/标高", "lat": "123°24′00″", "lng": "40°18′00″", "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°24′00″", "lng": "40°18′00″", "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°24′00″", "lng": "40°18′00″"}, "dep": {"addr": "start loc", "height": "111", "heightStandard": "米(含以下)/标高", "lat": "123°24′00″", "lng": "40°18′00″"}, "name": "test", "note": "notes note", "passPoints": [{"addr": "test point", "height": "1000", "heightStandard": "米/标高", "lat": "123°24′00″", "lng": "40°18′00″", "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°24′00″", "lng": "40°18′00″", "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°24′00″", "lng": "40°18′00″"}, "dep": {"addr": "start loc", "height": "111", "heightStandard": "米(含以下)/标高", "lat": "123°24′00″", "lng": "40°18′00″"}, "name": "test", "note": "notes note", "passPoints": []}
|