@ -33,9 +33,9 @@ func (the *AggData) GetThingId() string {
return the.ThingId
}
// GetDeviceId 功能未实现的功能,会返回“”,只是未了实现接口 IDataTrace
// GetDeviceId 返回SensorId
func (the *AggData) GetDeviceId() string {
return "unknown"
return fmt.Sprintf("%d", the.SensorId)
var typeDict = map[int]string{