Riordino lua script x DECODER

This commit is contained in:
Samuele Locatelli
2022-03-21 18:51:03 +01:00
parent 67c8e883fe
commit a87fee41f5
5 changed files with 55 additions and 245 deletions
-12
View File
@@ -119,17 +119,6 @@ local function displayTestInfo()
end
end
-- calcolo maschera...
local function setupDisableMask()
if (callMode ~= 'NLua') then
for i = 1, numAlarm, 1 do
if (string.sub(alarmListTable[i], 0, 2) ~= '##') then
disableMask = disableMask + 2 ^ (i - 1)
end
end
disableMask = math.tointeger(disableMask)
end
end
-- MAIN
alarmListTable = {}
@@ -138,7 +127,6 @@ alarmStatus = ""
checkInit()
setupTable()
--setupDisableMask()
checkVariation()
checkActiveAlarms()