|
@ -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:测点
|
|
|