Model Feature Statistics


Model Feature Statistics 节点统计前一个节点中的输出结果,如测点发送成功/失败、属性发送成功/失败等,保存至 EnOS 管理控制台 > 设备监控 > 实时统计 中。

节点类型

EnOS。

输入和输出能力

该节点具有多个入口点和 2 个出口点 (成功/失败)。

节点属性

../../../_images/model_feature_statistics.png


名称

该节点的名称。


覆盖上一节点状态

打开该开关将该节点处理的结果覆盖上一个节点的结果。


上个节点的结果 Model Feature Statistics 节点的结果 开关 输出结果
“componentResult”: “Success” “componentResult”: “Failure” “componentResult”: “Success”
“componentResult”: “Success” “componentResult”: “Failure” “componentResult”: “Failure”


描述

该节点的描述。

使用限制

  • 输入 msg 必须为 EnOS 标准数据格式,metadata 中需包含 asset ID,device key,product key 和 OU ID。

示例

输入示例

{
  "MetaData": {
    "messageType": "PostAttribute",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId"
  },
  "Body": {
    "capacity":"82"
  }
}

输出示例

{
  "MetaData": {
    "messageType": "PostAttribute",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId",
    "componentResult": "Success"
  },
  "Body": {
    "capacity":"82"
  }
}