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";
|
}
|