package com.huijy.quartz.task;

import com.huijy.management.service.ICameraService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("cameraTask")
public class CameraTask {

    //
    @Autowired
    private ICameraService cameraService;

    public void checkCameraLine(){
        cameraService.checkAllCameraIsOnline();
    }

}
