You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.1 KiB
Java

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.ipsplm.controller.simulation;
import com.ipsplm.entity.dto.ResponseDTO;
import com.ipsplm.service.simulation.ISimulationAnalysisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.math.BigInteger;
/**
* @Description 仿真分析Controller层
* @Author lulicheng
* @Date 2024-07-31 1011
* @Version 1.0
*/
@RestController
@RequestMapping("/simulation")
public class SimulationAnalysisController {
@Autowired
private ISimulationAnalysisService simulationAnalysisService;
/**
* 获取工厂设备利用率信息
* @param flag
* @return
*/
@GetMapping("/get-plant-equipment-utilization/{flag}")
public ResponseDTO getPlantEquipmentUtilization(@PathVariable(required = false) Long flag) {
return ResponseDTO.ok(simulationAnalysisService.getPlantEquipmentUtilization(flag));
}
}