|
@@ -1749,3 +1749,58 @@ export interface AlarmEventHistoryItem {
|
|
|
type: number;
|
|
|
errorMsg: string;
|
|
|
}
|
|
|
+
|
|
|
+export interface EnergyCardItem {
|
|
|
+ value: string | number;
|
|
|
+ unit: string;
|
|
|
+ description: string;
|
|
|
+ icon: string;
|
|
|
+ bgColor: string;
|
|
|
+}
|
|
|
+
|
|
|
+export interface ElectricityStatisticsQuery {
|
|
|
+ deviceId?: number | string;
|
|
|
+ deviceGroupId: number;
|
|
|
+ deviceTypes?: number[];
|
|
|
+ startTime: string;
|
|
|
+ endTime: string;
|
|
|
+}
|
|
|
+
|
|
|
+export interface ElectricityDeviceValue {
|
|
|
+ deviceName: string;
|
|
|
+ deviceId: number;
|
|
|
+ time: string;
|
|
|
+ bill: number;
|
|
|
+ energy: number;
|
|
|
+ dailyUse: number;
|
|
|
+ ratio: number;
|
|
|
+}
|
|
|
+
|
|
|
+export interface ElectricityHisQueryVo {
|
|
|
+ deviceType: string;
|
|
|
+ deviceTypeName: string;
|
|
|
+ groupName?: string | null;
|
|
|
+ valueList: ElectricityDeviceValue[];
|
|
|
+}
|
|
|
+
|
|
|
+export interface ElectricityGroupQueryVo {
|
|
|
+ deviceType: string;
|
|
|
+ deviceTypeName: string;
|
|
|
+ groupName?: string | null;
|
|
|
+ valueList: ElectricityDeviceValue[];
|
|
|
+ totalRatio: number;
|
|
|
+ totalEnergy: number;
|
|
|
+ totalEnergyW: number;
|
|
|
+ totalBill: number;
|
|
|
+ totalBillW: number;
|
|
|
+ totalDailyUse: number;
|
|
|
+}
|
|
|
+
|
|
|
+export interface ElectricityStatisticsResult {
|
|
|
+ cumulativeEnergy: number;
|
|
|
+ cumulativeBill: number;
|
|
|
+ ringGrowth: number;
|
|
|
+ cumulativeDailyUse: number;
|
|
|
+ hisQueryVos: ElectricityHisQueryVo[];
|
|
|
+ groupQueryVos: ElectricityGroupQueryVo[];
|
|
|
+}
|