add:增加收片机工作模式。
This commit is contained in:
@@ -563,8 +563,7 @@ public class CockpitServiceImpl implements CockpitService {
|
||||
JSONObject jsonObject = (JSONObject) object;
|
||||
if (pointObj.getPoint_code().equals(jsonObject.getString("device_code"))) {
|
||||
one.put("move", jsonObject.getString("move") == null ? "0" : jsonObject.getString("move"));
|
||||
//todo 模式,信号缺失
|
||||
one.put("mode", jsonObject.getString("mode") == null ? "0" : jsonObject.getString("mode"));
|
||||
one.put("mode", StringUtils.isBlank(jsonObject.getString("mode"))? "运行" : jsonObject.getString("mode"));
|
||||
//todo 错误码(中文),信号缺失
|
||||
one.put("error", jsonObject.getString("error") == null ? "0" : jsonObject.getString("error"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user