package com.usky.vpp.controller.web;

import com.usky.common.core.bean.ApiResult;
import com.usky.vpp.service.VppAnalyticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * 虚拟电厂 - Analytics 接口
 * 网关前缀: /prod-api/service-vpp
 */
@RestController
@RequestMapping("/analytics")
public class AnalyticsController {

    @Autowired
    private VppAnalyticsService vppAnalyticsService;

    @GetMapping(value = "/energy")
    public ApiResult<Object> energyReport(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @GetMapping(value = "/monthly")
    public ApiResult<Object> monthlyReport(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @GetMapping(value = "/settlement")
    public ApiResult<Object> settlementReport(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @GetMapping(value = "/dr-settlement")
    public ApiResult<Object> drSettlementReport(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @GetMapping(value = "/total-energy")
    public ApiResult<Object> totalEnergy(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @GetMapping(value = "/time-of-use")
    public ApiResult<Object> timeOfUse(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @GetMapping(value = "/compare")
    public ApiResult<Object> compare(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @PostMapping(value = "/export")
    public ApiResult<Object> export(@RequestBody(required = false) Object body) {
        return ApiResult.success(null);
    }
}
