package com.usky.vpp.controller.web;

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

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

    @Autowired
    private VppMonitorService vppMonitorService;

    @GetMapping(value = "/realtime")
    public ApiResult<Object> realtime(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @GetMapping(value = "/history")
    public ApiResult<Object> history(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
    @PostMapping(value = "/control")
    public ApiResult<Object> control(@RequestBody(required = false) Object body) {
        return ApiResult.success(null);
    }
    @GetMapping(value = "/control/log")
    public ApiResult<Object> controlLog(@RequestParam(required = false) java.util.Map<String, Object> params) {
        return ApiResult.success(null);
    }
}
