package tech.glinfo.enbao.modules.job.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import tech.glinfo.enbao.modules.sh.service.OtherShDeviceTimingService;

@Component("shDeviceSwitchTimingTask")
public class ShDeviceSwitchTimingTask implements ITask {

    private Logger logger = LoggerFactory.getLogger(getClass());
    @Autowired
    private OtherShDeviceTimingService otherShDeviceTimingService;

    @Override
    public void run(String params) {
        otherShDeviceTimingService.listTimingByTime();
    }
}
