- MachiningLib scrittura parametri di sistema

- Piccola correzione STR0002 per uniformare a nuovi nomi parametri
This commit is contained in:
andrea.villa
2024-05-22 09:26:33 +02:00
parent 32a16f97f3
commit 69f97362b9
3 changed files with 19 additions and 11 deletions
+10 -1
View File
@@ -298,7 +298,16 @@ function MachiningLib.AddNewMachining( Machining)
if Machining.dThrouAddLen then
EgtSetMachiningParam( MCH_MP.THROUADDLEN, Machining.dThrouAddLen)
end
-- parametri da settare nelle note
-- parametri da settare nelle note di sistema
-- TODO da decidere quali sono le note da salvare qui. Probabilmente tutte quelle relative all'ordine delle lavorazioni
local sSystemNotes = EgtGetMachiningParam( MCH_MP.SYSNOTES)
--if Machining.nMachiningOrder then
-- sSystemNotes = EgtSetValInNotes( sSystemNotes, 'MachiningOrder', Machining.nMachiningOrder)
--end
EgtSetMachiningParam( MCH_MP.SYSNOTES, sSystemNotes)
-- parametri da settare nelle note utente
local sUserNotes = EgtGetMachiningParam( MCH_MP.USERNOTES)
if Machining.dMaxElev then
sUserNotes = EgtSetValInNotes( sUserNotes, 'MaxElev', Machining.dMaxElev)