neuron icon indicating copy to clipboard operation
neuron copied to clipboard

Whether the tag can be added Unit Attribute

Open Jimmy-Wen opened this issue 2 years ago • 4 comments

在南向设备-点位配置中,点位的属性能否增加一列,”单位“”量程上下限“ ”报价上下限“等扩展属性; 这样的话,在数据监控页面中就可以显示数值和单位了

In the Southbound Device - Tags configuration, can you add a column for the properties of the tags, with extended properties such as "Units", "Range Upper and Lower Limits", "Quote Upper and Lower Limits", etc.. In this way, the values and units can be displayed in the data monitoring page.

Jimmy-Wen avatar Jul 13 '23 14:07 Jimmy-Wen

不是所有驱动的点位都需要这些属性的,所以可以在点位中的描述字段添加单位、量程上下限等参数。

Not all driven tags need these attributes, so you can add parameters such as unit, upper and lower range limits, etc. to the description field in the tag.

yuxi311 avatar Jul 20 '23 05:07 yuxi311

不是所有驱动的点位都需要这些属性的,所以可以在点位中的描述字段添加单位、量程上下限等参数。

是不是这样理解,在描述字段中,把”报警上限、报警下限、量程上限、量程下限、单位“等这些字段以字符串的形式都放在一起,在北向应用或者南向驱动中对这个字段进行自定义解析?

Is it understood that in the description field, "upper alarm limit, lower alarm limit, upper range limit, lower range limit, unit" and so on are all put together in the form of a string, and this field is customized and parsed in the northbound application or southbound driver?

Jimmy-Wen avatar Jul 21 '23 08:07 Jimmy-Wen

这些字段除了在Neuron监控页面展示使用,还需要通过mqtt发出去吗?

Do these fields need to be sent out via mqtt in addition to being used in the Neuron monitoring page display?

fengzeroz avatar Jul 25 '23 06:07 fengzeroz

有可能通过MQTT发出去,供其他平台用于展示用,不然平台端只能拿到数据,拿不到单位等属性

It is possible to send it out via MQTT for other platforms to use for display purposes, otherwise the platform side can only get the data, not the units and other attributes.

Jimmy-Wen avatar Jul 27 '23 05:07 Jimmy-Wen