Compare commits
1 Commits
3.1a2_DEV7
...
3.1a2_DEV8
| Author | SHA1 | Date | |
|---|---|---|---|
| 4f43b42149 |
@@ -1984,9 +1984,18 @@ function PrepareResidue( sCmd, nInd)
|
||||
else
|
||||
EMT.UNL = true
|
||||
end
|
||||
-- se è scarico al carico
|
||||
if Cmd[2] == 'Unload-On-Load' then
|
||||
EMT.UNL2 = true
|
||||
end
|
||||
elseif Cmd[1] == '1' then
|
||||
if Cmd[2] ~= 'Z' then
|
||||
local MDChar
|
||||
-- se scarico al carico parcheggio per sicurezza morsa e paratia lato scarico
|
||||
if EMT.UNL2 then
|
||||
MDChar = { Y2=ParkY2, V2=ParkV2, IniStatY2=1, FinStatY2=1, BeamVise=0}
|
||||
table.insert( EMT.MDCHAR, MDChar)
|
||||
end
|
||||
if not EMT.UNL then
|
||||
MDChar = { [Cmd[2]]=tonumber(Cmd[3]), IniStatY1=EMT.ISY1, FinStatY1=EMT.FSY1, IniStatY2=EMT.ISY2, FinStatY2=EMT.FSY2, BeamVise=EMT.BV}
|
||||
else
|
||||
|
||||
+6
-2
@@ -381,7 +381,7 @@ local function GetNextRawInOrd( nCurrRawId)
|
||||
end
|
||||
|
||||
-----------------------------------------------------------------------
|
||||
local function EnsureZmax( bCloseV, vCmd)
|
||||
local function EnsureZmax( bCloseV, vCmd, nInd)
|
||||
-- verifico non sia già inserito nella lista dei comandi
|
||||
for i = 1, #vCmd do
|
||||
if vCmd[i][1] == 4 then
|
||||
@@ -393,7 +393,11 @@ local function EnsureZmax( bCloseV, vCmd)
|
||||
end
|
||||
end
|
||||
-- posizionamento sicuro teste e rulli
|
||||
table.insert( vCmd, { 4, EgtIf( bCloseV, 1, 0)})
|
||||
if not nInd then
|
||||
table.insert( vCmd, { 4, EgtIf( bCloseV, 1, 0)})
|
||||
else
|
||||
table.insert( vCmd, nInd, { 4, EgtIf( bCloseV, 1, 0)})
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
require( 'EmtGenerator')
|
||||
EgtEnableDebug( false)
|
||||
|
||||
PP_VER = '3.1a2_DEV7'
|
||||
PP_VER = '3.1a2_DEV8'
|
||||
PP_NVER = '3.1.1.2'
|
||||
MIN_MACH_VER = '2.7d2'
|
||||
MACH_NAME = EgtGetCurrMachineName()
|
||||
|
||||
Reference in New Issue
Block a user