package com.njcn.system.timer.tasks;

import com.njcn.supervision.api.LineWarningFeignClient;
import com.njcn.system.timer.TimerTaskRunner;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @author xy
 */
@Component
@RequiredArgsConstructor
public class LineWarningTaskRunner implements TimerTaskRunner {

    private final LineWarningFeignClient lineWarningFeignClient;

    @Override
    public void action(String date) {
        lineWarningFeignClient.heBeiNorthAdd();
    }
}
