吉安感知网项目-后端
xiebin
2026-01-06 d207a86cdf1ab52ef8cb7cd83bad8fceab8038cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.sxkj.common.config;
 
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;
 
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "wayline")
public class WaylineConfig {
 
    /**
     * 是否启用TIF分析功能
     */
    private Boolean enableAnalysisTif = false;
    // 是否使用Java 还是 python  计算
    private String waylineCalculateType = "java";
    // python 脚本文件路径
    private String waylinePythonScriptPath = "D:\\wayline\\wayline.py";
}