feat: 新增录像机环境状态卡片和网卡信息

This commit is contained in:
yangsy
2026-05-20 12:52:24 +08:00
parent 161f7db147
commit 983b865ff7
4 changed files with 116 additions and 12 deletions
+43 -8
View File
@@ -10,6 +10,37 @@ export interface NdmNvrDiagInfo {
totalSize?: number;
}[];
};
ethInfo: {
adminStatus?: string; // '1'
desc?: string; // 'bond1'
ifType?: string; // '6'
inDiscards?: string; // '17931688'
inErrors?: string; // '0'
inNUcastPkts?: string; // '40945433'
inOctets?: string; // '3453544614'
inUcastPkts?: string; // '3375411816'
inUnknownProtos?: string; // '0'
index?: string; // '8'
lastChange?: string; // '0:05:42.15'
mTU?: string; // '1500'
macAddress?: string; // '04:7b:cb:69:92:58'
operStatus?: string; // '1'
outDiscards?: string; // '0'
outErrors?: string; // '0'
outNUcastPkts?: string; // '0'
outOctets?: string; // '3443476717'
outQLen?: string; // '0'
outUcastPkts?: string; // '415381735'
specific?: string; // '0.0'
speed?: string; // '2000000000'
};
ipInfo: {
broadcastAddress?: string; // '1'
iPAddress?: string; // '10.14.1.22'
index?: string; // '8'
mASK?: string; // '255.255.255.0'
reasmMaxSize?: string; // '0'
};
stCommonInfo?: {
设备ID?: string;
软件版本?: string;
@@ -20,12 +51,16 @@ export interface NdmNvrDiagInfo {
内存使用率?: string;
CPU使用率?: string;
};
cdFanInfo?: {
索引号?: string;
'风扇转速(rpm)'?: string;
}[];
cdPowerSupplyInfo?: {
索引号?: string;
电源状态?: string;
}[];
cdFanInfo?: NdmNvrFanInfo[];
cdPowerSupplyInfo?: NdmNvrPowerSupplyInfo[];
}
export interface NdmNvrFanInfo {
索引号?: string;
'风扇转速(rpm)'?: string;
}
export interface NdmNvrPowerSupplyInfo {
索引号?: string;
电源状态?: string;
}