Browse Source

恢复告警码更改

dev
18209 2 days ago
parent
commit
6f63b0be35
  1. 4
      consumers/consumerSavoirTheme.go

4
consumers/consumerSavoirTheme.go

@ -164,8 +164,8 @@ func (the *consumerSavoirTheme) judgeOffline() {
StructureName: gap.StructName, StructureName: gap.StructName,
SourceId: fmt.Sprintf("%d", theme.Sensor), SourceId: fmt.Sprintf("%d", theme.Sensor),
SourceName: theme.SensorName, SourceName: theme.SensorName,
AlarmTypeCode: "3004", AlarmTypeCode: "8004",
AlarmCode: "********", AlarmCode: "80040003",
Content: "", Content: "",
Time: time.Now().Format("2006-01-02T15:04:05+0800"), Time: time.Now().Format("2006-01-02T15:04:05+0800"),
SourceTypeId: 2, // 0:DTU, 1:传感器, 2:测点 SourceTypeId: 2, // 0:DTU, 1:传感器, 2:测点

Loading…
Cancel
Save