feat:【IoT 物联网】调整“设备属性(运行状态)”的接口返回

This commit is contained in:
YunaiV
2025-06-18 21:31:18 +08:00
parent 5e9a798d0b
commit c255963b31
2 changed files with 28 additions and 36 deletions

View File

@@ -30,17 +30,15 @@ export interface DeviceVO {
groupIds?: number[] // 添加分组 ID
}
// IoT 设备数据 VO
export interface DeviceDataVO {
deviceId: number // 设备编号
thinkModelFunctionId: number // 物模型编号
productKey: string // 产品标识
deviceName: string // 设备名称
// IoT 设备属性详细 VO
export interface IotDevicePropertyDetailRespVO {
identifier: string // 属性标识符
value: string // 最新值
updateTime: Date // 更新时间
name: string // 属性名称
dataType: string // 数据类型
updateTime: Date // 更新时间
value: string // 最新值
dataSpecs: any // 数据定义
dataSpecsList: any[] // 数据定义列表
}
// IoT 设备数据 VO