feat:iothome

This commit is contained in:
alwayssuper
2025-04-15 11:27:41 +08:00
parent feab54c11e
commit 89a8b25f17
4 changed files with 107 additions and 41 deletions

View File

@ -16,10 +16,15 @@ export interface IotStatisticsSummaryRespVO {
productCategoryDeviceCounts: Record<string, number>
}
/** 时间戳-数值的键值对类型 */
interface TimeValueItem {
[key: string]: number
}
/** IoT 消息统计数据类型 */
export interface IotStatisticsDeviceMessageSummaryRespVO {
upstreamCounts: Record<number, number>
downstreamCounts: Record<number, number>
upstreamCounts: TimeValueItem[]
downstreamCounts: TimeValueItem[]
}
// IoT 数据统计 API