package com.njcn.energy.pojo.api;

import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.energy.pojo.api.fallback.EleOnlineRateFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;


/**
 * pqs
 *
 * @author cdf
 * @date 2022/4/22
 */
@FeignClient(value = ServerInfo.ENERGY,path = "/energyJob",fallbackFactory = EleOnlineRateFallbackFactory.class)
public interface EnergyStatisticFeignClient {

    /**
     * 获取策略下的监测点
     * @author cdf
     * @date 2022/4/22
     */
    @GetMapping("electricCalJob")
    void electricCalJob();

    @GetMapping("eleOnlineRateJob")
    void eleOnlineRateJobHandler();

    @GetMapping("eleIntegrityJob")
    void eleIntegrityJobHandler();

}
