|
@ -33,6 +33,11 @@ func (the *AggData) GetThingId() string { |
|
|
return the.ThingId |
|
|
return the.ThingId |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// GetDeviceId 功能未实现的功能,会返回“”,只是未了实现接口 IDataTrace
|
|
|
|
|
|
func (the *AggData) GetDeviceId() string { |
|
|
|
|
|
return "unknown" |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
var typeDict = map[int]string{ |
|
|
var typeDict = map[int]string{ |
|
|
2001: "d", |
|
|
2001: "d", |
|
|
2002: "w", |
|
|
2002: "w", |
|
|