package cn.iocoder.yudao.module.mes.framework.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * MES 数采(设备数据采集)配置 * * @author 超级管理员 */ @Component @ConfigurationProperties(prefix = "yudao.mes.telemetry") @Data public class MesTelemetryProperties { /** * 数采服务基础地址(不含路径),如 http://192.168.0.10:8080 */ private String baseUrl; /** * 数采接口路径(默认返回近 5 分钟设备数据) */ private String path = "/api/jxjs/mesTb/getDeviceDetails"; }