|
@ -11,7 +11,6 @@ import org.nl.wms.ext.acs.service.WmsToAcsService; |
|
|
import org.springframework.http.HttpStatus; |
|
|
import org.springframework.http.HttpStatus; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
import java.util.Arrays; |
|
|
|
|
|
import java.util.HashMap; |
|
|
import java.util.HashMap; |
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
import java.util.Map; |
|
|
import java.util.Map; |
|
@ -158,7 +157,7 @@ public class DashboardService { |
|
|
|
|
|
|
|
|
// 设备产能利用 --------------------------------------------------------------------------------------------------
|
|
|
// 设备产能利用 --------------------------------------------------------------------------------------------------
|
|
|
JSONObject capacityRate = new JSONObject(); |
|
|
JSONObject capacityRate = new JSONObject(); |
|
|
result.put("capacityRate", capacityRate); |
|
|
result.put("capacityRate", capacityRate); |
|
|
capacityRate.put("mix", Math.random() * (90 - 50) + 50); |
|
|
capacityRate.put("mix", Math.random() * (90 - 50) + 50); |
|
|
capacityRate.put("press", Math.random() * (90 - 50) + 50); |
|
|
capacityRate.put("press", Math.random() * (90 - 50) + 50); |
|
|
capacityRate.put("dry", Math.random() * (90 - 50) + 50); |
|
|
capacityRate.put("dry", Math.random() * (90 - 50) + 50); |
|
|