Browse Source

deviceIds.add

dev
巴林闲侠 2 years ago
parent
commit
200db1292b
  1. 2
      api/app/lib/schedule/alarms_push.js

2
api/app/lib/schedule/alarms_push.js

@ -723,7 +723,7 @@ module.exports = function (app, opts) {
// SourceTypeId 0: 'DTU' / 1: '传感器' / 2: '测点' // SourceTypeId 0: 'DTU' / 1: '传感器' / 2: '测点'
if (d.SourceTypeId != 2) { if (d.SourceTypeId != 2) {
deviceIds.push(d.SourceId) deviceIds.add(d.SourceId)
} }
if (apMergeDeVeAlarms[d.StructureId]) { if (apMergeDeVeAlarms[d.StructureId]) {
apMergeDeVeAlarms[d.StructureId].data_exception.push(d) apMergeDeVeAlarms[d.StructureId].data_exception.push(d)

Loading…
Cancel
Save