switchAS100DataType

切换点检仪接受数据类型

APP最低版本: 4.11.0

参数 params

属性 类型 含义 默认 必须 APP版本
type number type 规定了传感器的检测类型
tag string 如果不传则默认位type+type具体数值。 (比如温度 type1)

返回 Promise<response>

属性 类型 含义 APP版本
code string 200:成功 | 404:失败
msg string 响应信息
data unknown 响应数据

示例

import { switchAS100DataType } from '@suplink/jssdk';

switchAS100DataType().then((res) => console.log(res))