|
@ -7,7 +7,7 @@ import com.alibaba.fastjson.JSONObject; |
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
import org.nl.modules.wql.core.bean.WQLObject; |
|
|
import org.nl.modules.wql.core.bean.WQLObject; |
|
|
import org.nl.wms.ext.acs.service.impl.WmsToAcsServiceImpl; |
|
|
import org.nl.wms.ext.acs.service.impl.WmsToAcsServiceImpl; |
|
|
import org.nl.wms.sch.manage.DeviceStatusEnum; |
|
|
import org.nl.wms.cockpit.service.enums.DeviceStatusEnum; |
|
|
import org.nl.wms.sch.manage.PointEnum; |
|
|
import org.nl.wms.sch.manage.PointEnum; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
@ -99,9 +99,10 @@ public class PointUpdateUtil { |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 查找设备状态: 单个 |
|
|
* 查找设备状态: 单个 |
|
|
|
|
|
* |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
public static String getDeviceStatus(String deviceCode) { |
|
|
public static Integer getDeviceStatus(String deviceCode) { |
|
|
WmsToAcsServiceImpl wmsToAcsService = new WmsToAcsServiceImpl(); |
|
|
WmsToAcsServiceImpl wmsToAcsService = new WmsToAcsServiceImpl(); |
|
|
// 封装
|
|
|
// 封装
|
|
|
JSONArray devices = new JSONArray(); |
|
|
JSONArray devices = new JSONArray(); |
|
|