interface Params { type: number; tag?: string; } /** * * @name switchAS100DataType * @title 切换点检仪接受数据类型 * @param {number} type - type 规定了传感器的检测类型 * @param {string} tag - 如果不传则默认位type+type具体数值。 (比如温度 type1) * @return {string} code - 200:成功 | 404:失败 * @return {string} msg - 响应信息 * @return {unknown} data - 响应数据 * @since 4.11.0 * @fragment featch(params, callback) { const { type, tag } = params return suplink.switchAS100DataType({ type, tag }) } * @example * import { switchAS100DataType } from '@suplink/jssdk'; * * switchAS100DataType().then((res) => console.log(res)) */ export default function switchAS100DataType(params: Params): Promise>; export {};