yeg
2026-09-28 147428971be43eed90a79f3849f15000d3855390
battery-business/src/main/java/com/battery/business/service/impl/DeviceAdapterRuntimeCoordinator.java
@@ -2,14 +2,15 @@
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.event.EventListener;
import org.springframework.context.annotation.Profile;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.battery.business.service.IDeviceAdapterService;
/** 在单采集进程内恢复启用实例,并按各自周期执行只读发现。 */
/**
 * 在单采集进程内恢复启用实例,并按各自周期执行只读发现。
 * 不限定 profile:真实来源的发现与接收要在非开发 profile 下运行。
 */
@Component
@Profile({ "dev-simulator", "bts" })
public class DeviceAdapterRuntimeCoordinator
{
    private final IDeviceAdapterService service;