明树Git Lab

Commit 824069bd authored by zfp1's avatar zfp1

update

parent ec8b18c2
...@@ -201,8 +201,10 @@ async function getJiankong(req, res, next) { ...@@ -201,8 +201,10 @@ async function getJiankong(req, res, next) {
let onlineArr = await deviceModule.getDeviceOnlineMap(); let onlineArr = await deviceModule.getDeviceOnlineMap();
smc.onLineState = onlineArr.includes(smc.deviceNumber) ? 1 : 0; smc.onLineState = onlineArr.includes(smc.deviceNumber) ? 1 : 0;
ws.onLineState = onlineArr.includes(ws.deviceNumber) ? 1 : 0; ws.onLineState = onlineArr.includes(ws.deviceNumber) ? 1 : 0;
ws.onlineArr = onlineArr;
traccode.smc = smc; traccode.smc = smc;
traccode.ws = ws; traccode.ws = ws;
traccode.onlineArr = onlineArr;
} }
if (traccode.indEnvOnOff) { if (traccode.indEnvOnOff) {
// 工业环境 // 工业环境
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment