1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.dji.sample.patches.config.pojo;
 
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
 
/**
 * @PROJECT_NAME: drone
 * @DESCRIPTION:
 * @USER: aix
 * @DATE: 2024/4/11 11:04
 */
 
@Configuration
@Data
public class PatchesConfigPojo {
 
    @Value("${patches.url.path.unzip}")
    private String unzip;
    @Value("${patches.url.path.kmz.destKMZFile}")
    private String destKMZFile;
    @Value("${patches.url.path.kmz.sourceDir}")
    private String sourceDir;
    @Value("${patches.url.path.kmz.planeKmzFile}")
    private String planeKMZFile;
    @Value("${patches.xml.temple.template}")
    private String template;
    @Value("${patches.xml.temple.waylines}")
    private String waylines;
 
    @Value("${patches.xml.temple.planeTemplate}")
    private String planeTemplate;
    @Value("${patches.xml.temple.planeWaylines}")
    private String planeWaylines;
 
 
    @Value("${patches.xml.target.template}")
    private String targetTemplate;
    @Value("${patches.xml.target.waylines}")
    private String targetWaylines;
 
    @Value("${patches.xml.target.planeTemplate}")
    private String planeTargetTemplate;
    @Value("${patches.xml.target.planeWaylines}")
    private String planeTargetWaylines;
 
}