Per macro M26, il default è 1 anziché 0

This commit is contained in:
andrea.villa
2026-04-08 12:09:20 +02:00
parent 421b8dd8a5
commit f59b55e723
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ function OnDispositionEnd()
-- N.B.: si utilizza LOAD90 perchè è un parametro che già leggiamo e che sulle WALL non viene utilizzato
local BtlInfoId = EgtGetFirstNameInGroup( GDB_ID.ROOT, 'BtlInfo') or EgtGetCurrMachGroup() or GDB_ID.NULL
local nLoad90 = EgtGetInfo( BtlInfoId, 'LOAD90', 'i') or 0
if nLoad90 > 0 then nLoad90 = 4 end
if nLoad90 > 0 then nLoad90 = 4 else nLoad90 = 1 end
EmtOutput( 'M26 E30054='..EgtNumToString( nLoad90, 0))
-- Posizione cuffia
local dHCuff = b3Raw:getDimZ() + 32