mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-16 20:05:07 +08:00
【新增】 IOT 产品管理,Topic 类列表
This commit is contained in:
@ -67,8 +67,8 @@ export const DeviceApi = {
|
||||
return await request.delete({ url: `/iot/device/delete?id=` + id })
|
||||
},
|
||||
|
||||
// 导出设备 Excel
|
||||
exportDevice: async (params) => {
|
||||
return await request.download({ url: `/iot/device/export-excel`, params })
|
||||
// 获取设备数量
|
||||
getDeviceCount: async (productId: number) => {
|
||||
return await request.get({ url: `/iot/device/count?productId=` + productId })
|
||||
}
|
||||
}
|
||||
|
@ -14,6 +14,7 @@ export interface ProductVO {
|
||||
netType: number // 联网方式, 0: Wi-Fi, 1: Cellular, 2: Ethernet, 3: 其他
|
||||
protocolType: number // 接入网关协议, 0: modbus, 1: opc-ua, 2: customize, 3: ble, 4: zigbee
|
||||
dataFormat: number // 数据格式, 0: 透传模式, 1: Alink JSON
|
||||
deviceCount: number // 设备数量
|
||||
}
|
||||
|
||||
// iot 产品 API
|
||||
|
Reference in New Issue
Block a user