IOT边缘 IOTEDGE-创建点位表配置:响应示例

时间:2024-06-20 17:14:28

响应示例

状态码: 201

Created

{
  "point_id" : "MotorVoltage",
  "name" : "马达电压",
  "collection_config" : {
    "address" : "ns=2;s=Root/Motor/Voltage",
    "data_type" : "int",
    "cycle" : 10000
  },
  "device_id" : "MotorVoltage",
  "property" : "Motor/Voltage",
  "data_type" : "int",
  "ds_id" : "opcua_1",
  "processing_config" : {
    "validity" : {
      "min" : 60,
      "max" : 100
    },
    "stream_formula" : "bit(0).bool()|string_to_double(-1.0)|string_to_int(0)",
    "scaling" : {
      "ratio" : 1,
      "base" : 100,
      "accuracy" : 2
    },
    "clean" : {
      "silent_window" : 60,
      "deviation" : 0.1
    }
  },
  "create_time" : "2020-05-28T11:31:29.740Z",
  "update_time" : "2020-05-28T11:31:29.740Z"
}
support.huaweicloud.com/api-iotedge/CreateDcPoint.html