Browse Source

불법드론 연계를 위한 변경

feature/document/spring-rest-docs
'kyw546' 10 months ago
parent
commit
8bdfad57bd
  1. 17
      document/dron_test/pav-warning.js
  2. 2
      pav-socket/src/main/java/com/palnet/comn/model/UtmModel.java

17
document/dron_test/pav-warning.js

@ -2,22 +2,19 @@ const { getConnection, writeData } = require('./pav-client');
const { getCoordsFormBetweenCoord, dumyData } = require('./pav-utils');
// const host = '192.168.0.30';
// const host = 'localhost';
// const host = '192.168.100.101';
const host = '121.190.193.50';
const host = 'localhost';
// const host = '211.253.11.189';
// const port = 8082;
const port = 6083;
const port = 8082;
// 기본정보
const prefix = 'PALUTM-';
const pathSampleCoord = [
[37.523771, 126.720982],
[37.524841, 126.723106],
[37.524337, 126.72333],
[37.524841, 126.723106],
[37.523771, 126.720982]
[37.571954, 126.775258],
[37.566375, 126.781266],
[37.562361, 126.783584],
[37.558143, 126.785987],
[37.553039, 126.788819]
];
// const pathSampleCoord = [
// [42.5515, 126.655],

2
pav-socket/src/main/java/com/palnet/comn/model/UtmModel.java

@ -15,7 +15,7 @@ import java.util.List;
public class UtmModel {
@JsonProperty("GPSime")
private String GPSime; // 시간 yyyyMMddHHmmss
@JsonProperty("dronInfo")
@JsonProperty("droneInfo")
private List<DronInfo> dronInfo;
@Data

Loading…
Cancel
Save