/*
 * @Author: zxf 1532322479@qq.com
 * @Date: 2026-03-16 16:59:08
 * @LastEditors: zxf 1532322479@qq.com
 * @LastEditTime: 2026-05-04 23:13:10
 * @FilePath: \bs-jxc-test1\bs-jxc\bs-loader\src\main\java\com\data\emqx\EmqxTimer.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package com.data.emqx;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author licd
 * @className EmqxTimer
 * @description com.data.emqx
 * @date 2024/12/16 15:19
 */

@Component
public class EmqxTimer {
    @Autowired
    private MqttSubscribeSample mqtt;
    @Scheduled(fixedDelay = Long.MAX_VALUE)
    public void getEmqxData() {
        mqtt.getEmqsData();
    }
}
