Updated check of single phase
MODIFY
src/utils/Utils.ts
src/utils/Utils.ts
@@ -53,8 +53,8 @@ export default class Utils {
let threePhases = true;
if (currentType === CurrentType.AC &&
transaction.currentInstantAmpsL1 > 0 &&
- transaction.currentInstantAmpsL2 === 0 &&
- transaction.currentInstantAmpsL3 === 0) {
+ (transaction.currentInstantAmpsL2 === 0 ||
+ transaction.currentInstantAmpsL3 === 0)) {
threePhases = false;
}
return threePhases;

Updated check of single phase