refactor: simplify switch port speed calculation

This commit is contained in:
yangsy
2025-11-26 13:38:22 +08:00
parent 7e007e68cf
commit 41c9b4c5ed
5 changed files with 11 additions and 43 deletions

View File

@@ -10,12 +10,12 @@ export interface NdmSwitchDiagInfo {
}
export interface NdmSwitchPortInfo {
flow: number;
inBytes: number;
inFlow: number;
lastInBytes: number;
lastOutBytes: number;
outBytes: number;
flow: number;
inFlow: number;
outFlow: number;
portName: string;
upDown: number;