lavoce #42

Merged
bragaz_rexita merged 18 commits from lavoce into main 2026-04-10 05:35:38 +00:00
Showing only changes of commit b64fa47a38 - Show all commits

View File

@@ -74,19 +74,6 @@ const listenMessage = (callback) => {
});
};
const dryerIds = ['c_4018', 'c_4021', 'c_5018', 'c_5021', 'c_6018', 'c_6021'];
const DryerColor = (condition) => {
switch (condition) {
case 1:
c_4018.style.fill = 'yellow';
c_4021.style.fill = 'rgb(216,216,216)';
break;
default:
c_4018.style.fill = 'rgb(216,216,216)';
c_4021.style.fill = 'yellow';
}
};
const colorIds = ['c_1023', 'c_2023', 'c_2023'];
const StatusColor = (el, num) => {
switch (num) {
@@ -101,6 +88,7 @@ const StatusColor = (el, num) => {
}
};
const dryerIds = ['c_4018', 'c_4021', 'c_5018', 'c_5021', 'c_6018', 'c_6021'];
const handleBoolean = (svg, el, value) => {
if (!dryerIds.includes(el.id)) {
el.style.display = value ? '' : 'none';