Hi,

The following changes will be involved into metadata module of current
version(0.13)

1. It will be forbidden to set a MeasurementMNode as a device or add new
measurement under an existing MeasurementMNode, which means the
MeasurementMNode will be the leaf of MTree.

2. The implementation of Device/Entity node will be enhanced. A new class,
EntityMNode, will be introduced to implement relevant functions that
Template doesn't support. As a result of this, it will not be allowed to
set storage group to an EntityMNode. In other words, adding MeasurementMNode
to a StorageGroupMNode as child  will be forbidden. However, it  will be
allowed to set storage group to root node in future.

3. To save memory, Leveled MeasurementMNode will be introduced. A
SimpleMeasurementMNode will only support lastCache and trigger function. A
CompletedMeasurement will support  all functions, including alias,
tag/attribute. If none of these functions are used, the MeasurementMNode
won't be created if it is using Template.

Thanks,
Yukun Zhou

Reply via email to