fix(func): remove unuse function

This commit is contained in:
zain94rif
2026-04-08 14:35:02 +07:00
parent 4cca3fb95a
commit b64fa47a38

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 colorIds = ['c_1023', 'c_2023', 'c_2023'];
const StatusColor = (el, num) => { const StatusColor = (el, num) => {
switch (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) => { const handleBoolean = (svg, el, value) => {
if (!dryerIds.includes(el.id)) { if (!dryerIds.includes(el.id)) {
el.style.display = value ? '' : 'none'; el.style.display = value ? '' : 'none';