Skip to content

Commit

Permalink
Merge pull request #545 from QQDQ/master
Browse files Browse the repository at this point in the history
update static tag
  • Loading branch information
QQDQ authored Feb 15, 2025
2 parents 2d2cdb4 + d9cbcd6 commit 125f286
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
7 changes: 6 additions & 1 deletion en_US/configuration/north-apps/mqtt/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,12 @@ Static tag feature supports **Boolean**, **Integer**, **Float**, and **String**
If the static tags added are shared by all collection groups in the NeuronEX instance, you can select **All Collection Groups** to add static tags, or add static tags in the **Custom** custom format, as shown in [Custom Format: Example Two](#example-two).

::: tip
Static tag naming cannot be the same as the tag name of the southbound driver collection. If the same, the static tag data will overwrite the tag of the southbound driver.
Static tag names must not be the same as the tag names collected by the southbound driver.

If the names are the same:
- When using `Values-format` for data upload, the static tag data will overwrite the tag data collected by the southbound driver.
- When using `Tags-format`, `ECP-format`, or `Custom` for data upload, both the static tag data and the southbound driver collected tag data will be reported together (resulting in duplicate reporting).

:::


Expand Down
8 changes: 6 additions & 2 deletions zh_CN/configuration/north-apps/mqtt/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,12 @@ ECP-format 格式不支持上报点位错误码。

如果添加的静态点位,为 NeuronEX 实例中所有采集组共用,既可以勾选**所有采集组**,添加静态点位,也可以在 Custom 自定义格式中,统一添加静态点位,参考 [自定义格式:示例二](#自定义格式)

::: tip
静态点位命名,不能和南向驱动采集的点位名称相同。如相同,则静态点位数据将覆盖南向驱动采集的点位数据。
::: tip 注意
静态点位命名,不能和南向驱动采集的点位名称相同。

如命名相同,则如果选择`Values-format`上报数据时,静态点位数据将覆盖南向驱动采集的点位数据.

如果选择`Tags-format``ECP-format``Custom`上报数据时,静态点位数据将和南向驱动采集的点位数据一起重复上报。
:::

## 读 Tags
Expand Down

0 comments on commit 125f286

Please sign in to comment.