code optimization

This commit is contained in:
2025-09-02 15:21:13 +05:30
parent 175f6eac4f
commit 4f8bf81a60
162 changed files with 2381 additions and 2822 deletions

View File

@@ -100,7 +100,6 @@ export default function ThroughPutData() {
.forEach(storage => {
if (storage.activeTime > 0) {
// totalActiveTime += storage.activeTime;
//
}
});
}
@@ -178,7 +177,7 @@ export default function ThroughPutData() {
}
const allInactive = !anyArmActive && !anyVehicleActive && !anyMachineActive;
if (materials.length >= 0 && materialHistory.length > 0) {
if (materialHistory.length > 0) {
let totalCycleTimeSum = 0;
let cycleCount = 0;