package com.xiaopeng.automaticPilot.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * 自动驾驶领域对接配置 */ @Data @Component @ConfigurationProperties(prefix = "autopilot") public class AutopilotProperties { /** * 订单接近目的地触发事件的距离(米) */ private Integer orderArrivalTriggerDistance = 500; /** 测试模式特性 - 跳过目的地停靠后接下一单(0-关闭, 1-开启) */ private Integer autoChainNextOrderAtDest = 1; /** 测试模式特性 - 自动确认下车(0-关闭, 1-开启) */ private Integer testModeAutoConfirmDropoff = 1; }