package com.zy.iot.service; import com.zy.iot.entity.IotTopicConfig; import java.util.Map; public interface IotDbConfigService { void refreshCache(); boolean isMqttEnabled(); IotTopicConfig getEffectiveTopics(); /** 当前生效开关与 topic,供后台表单展示。 */ Map snapshotForAdmin(); }