|
@ -161,7 +161,7 @@ func (the *consumerSavoirTheme) judgeOffline() { |
|
|
SourceId: sourceId, |
|
|
SourceId: sourceId, |
|
|
SourceName: gap.StructName, |
|
|
SourceName: gap.StructName, |
|
|
AlarmTypeCode: "8004", |
|
|
AlarmTypeCode: "8004", |
|
|
AlarmCode: "80040001", |
|
|
AlarmCode: "80040003", |
|
|
Content: strings.Join(alarmDetails, ","), |
|
|
Content: strings.Join(alarmDetails, ","), |
|
|
Time: time.Now().Format("2006-01-02T15:04:05+0800"), |
|
|
Time: time.Now().Format("2006-01-02T15:04:05+0800"), |
|
|
SourceTypeId: 1, // 0:DTU, 1:传感器, 2:测点
|
|
|
SourceTypeId: 1, // 0:DTU, 1:传感器, 2:测点
|
|
|