Convert binary string to integer in DoorLockService

This commit is contained in:
faris Aljohari
2024-06-28 20:54:35 +03:00
parent 05e51c79eb
commit 53e2be63db

View File

@ -481,6 +481,7 @@ export class DoorLockService {
}
});
// Convert the binary string to an integer
const workingDayValue = parseInt(binaryString, 2);
return workingDayValue;