send value for correct table update
This commit is contained in:
@@ -349,12 +349,14 @@ func (d *Datapoint) RemoveDatapoint(set json_dataModels.Set) (sets []json_dataMo
|
|||||||
Event: OnChange,
|
Event: OnChange,
|
||||||
Uuid: dp.Uuid,
|
Uuid: dp.Uuid,
|
||||||
Path: dp.Path,
|
Path: dp.Path,
|
||||||
|
Value: dp.Value,
|
||||||
Drivers: &dp.Drivers,
|
Drivers: &dp.Drivers,
|
||||||
})
|
})
|
||||||
sets = append(sets, json_dataModels.Set{
|
sets = append(sets, json_dataModels.Set{
|
||||||
Uuid: dp.Uuid,
|
Uuid: dp.Uuid,
|
||||||
Path: dp.Path,
|
Path: dp.Path,
|
||||||
Drivers: &dp.Drivers,
|
Drivers: &dp.Drivers,
|
||||||
|
Value: dp.Value,
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
s, pubs := removeChildren(dp)
|
s, pubs := removeChildren(dp)
|
||||||
|
Reference in New Issue
Block a user