forked from hbbohua-water

zhanglei
2021-03-23 834b78b8c7b7411d1a7dff1501854ecc8a56eabb
hbbohua-water-domain/src/main/java/com/hbbohua/water/domain/Flowmeter.java
@@ -13,7 +13,7 @@
 */
public class Flowmeter extends Unit {
    /**
     * 获取地图标记的类型
     * 指定地图标记的类型(点、线、圆、矩形、多边形等)
     *
     * @return 地图标记的类型
     */
@@ -113,8 +113,8 @@
            setTotalValueUnitOfMeasure(UnitOfMeasure.forId(UnitOfMeasureIdsHex.MQH));
        }
        //增加动态属性名,填充实时库标签用
        if(!containsDynamicAttribute(AttributeNames.currentValue)){
            setDynamicAttribute(AttributeNames.currentValue,null,true);
        if(!containsDynamicAttribute(AttributeNames.flowValue)){
            setDynamicAttribute(AttributeNames.flowValue,null,true);
        }
        if(!containsDynamicAttribute(AttributeNames.totalValue)){
            setDynamicAttribute(AttributeNames.totalValue,null,true);