added Modbus Invalid Transition Alert

This commit is contained in:
Luca Deri 2023-06-05 00:53:27 +02:00
parent c702624359
commit e86cd0f2ce
19 changed files with 225 additions and 9 deletions

View file

@ -346,6 +346,9 @@ end
-- ##############################################
function truncate(x)
if(x == nil) then
tprint(debug.traceback())
end
return x<0 and math.ceil(x) or math.floor(x)
end