diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc
index 2daa5cc..f55ad18 100644
Binary files a/EgtMachKernel.rc and b/EgtMachKernel.rc differ
diff --git a/EgtMachKernel.vcxproj b/EgtMachKernel.vcxproj
index bd6e0e8..e9d6124 100644
--- a/EgtMachKernel.vcxproj
+++ b/EgtMachKernel.vcxproj
@@ -331,6 +331,7 @@ copy $(TargetPath) \EgtProg\Dll64
+
@@ -348,6 +349,7 @@ copy $(TargetPath) \EgtProg\Dll64
+
@@ -368,12 +370,15 @@ copy $(TargetPath) \EgtProg\Dll64
+
+
+
@@ -480,6 +485,7 @@ copy $(TargetPath) \EgtProg\Dll64
+
diff --git a/EgtMachKernel.vcxproj.filters b/EgtMachKernel.vcxproj.filters
index c633d5e..f15de50 100644
--- a/EgtMachKernel.vcxproj.filters
+++ b/EgtMachKernel.vcxproj.filters
@@ -785,6 +785,24 @@
Header Files
+
+ Header Files
+
+
+ Header Files\Include
+
+
+ Header Files\Include
+
+
+ Header Files\Include
+
+
+ Header Files\Include
+
+
+ Header Files\Include
+
diff --git a/MachMgrDBTools.cpp b/MachMgrDBTools.cpp
index 5af1a16..17c33f3 100644
--- a/MachMgrDBTools.cpp
+++ b/MachMgrDBTools.cpp
@@ -15,6 +15,7 @@
#include "stdafx.h"
#include "DllMain.h"
#include "MachMgr.h"
+#include "ToolUserNotesConst.h"
#include "/EgtDev/Include/EXeConst.h"
#include "/EgtDev/Include/EGnFileUtils.h"
#include "/EgtDev/Include/EgtIniFile.h"
@@ -881,7 +882,7 @@ MachMgr::GetToolHolderPath( const string& sHeadName, int nExit, int nType, const
// Verifico se sovrascritto da nota dell'utensile
string sVal ;
if ( ! sUserNotes.empty() &&
- GetValInNotes( sUserNotes, "TH", sVal) &&
+ GetValInNotes( sUserNotes, TUN_TH, sVal) &&
ExistsFile( sToolHolderDir + "\\" + sVal))
sToolHolder = sVal ;
// Se non trovato ancora, esco
diff --git a/Machining.cpp b/Machining.cpp
index f14ac0f..8827c41 100644
--- a/Machining.cpp
+++ b/Machining.cpp
@@ -17,6 +17,7 @@
#include "MachMgr.h"
#include "Machining.h"
#include "OperUserNotesConst.h"
+#include "ToolUserNotesConst.h"
#include "/EgtDev/Include/EGkGeoPoint3d.h"
#include "/EgtDev/Include/EGkCurve.h"
#include "/EgtDev/Include/EGkGeoVector3d.h"
@@ -1061,7 +1062,7 @@ Machining::GetDoubleToolData( string& sDblTool, string& sDblTcPos, string& sDblH
if ( pTMgr == nullptr)
return false ;
// recupero dati utensile in doppio
- if ( ! GetValInNotes( GetToolData().m_sUserNotes, "DOUBLE", sDblTool))
+ if ( ! GetValInNotes( GetToolData().m_sUserNotes, TUN_DOUBLE, sDblTool))
return false ;
if ( ! m_pMchMgr->GetCurrSetupMgr().GetToolData( sDblTool, sDblTcPos, sDblHead, nDblExit)) {
const ToolData* pTdata = pTMgr->GetTool( sDblTool) ;
diff --git a/OperUserNotesConst.h b/OperUserNotesConst.h
index 1dbe54a..b9634e3 100644
--- a/OperUserNotesConst.h
+++ b/OperUserNotesConst.h
@@ -26,6 +26,7 @@ static const std::string UN_DOUBLE = "DOUBLE" ;
static const std::string UN_MIRRORAX = "MirrorAx" ;
static const std::string UN_DELTAZ = "DeltaZ" ;
static const std::string UN_VTAUXDIR = "VtAuxDir" ;
+static const std::string UN_STARTZMAX = "StartZmax" ;
// Solo per Drilling
static const std::string UN_LASTSTEP = "LastStep" ;
diff --git a/Operation.cpp b/Operation.cpp
index 5ac8f51..c17c633 100644
--- a/Operation.cpp
+++ b/Operation.cpp
@@ -5297,7 +5297,7 @@ Operation::GetUserNotesZmax( void) const
string sUserNotes ;
if ( m_pMchMgr != nullptr && m_pMchMgr->GetMachiningParam( MPA_USERNOTES, sUserNotes)) {
int nVal ;
- if ( FromString( ExtractInfo( sUserNotes, "StartZmax="), nVal))
+ if ( GetValInNotes( sUserNotes, UN_STARTZMAX, nVal))
return nVal ;
}
return 0 ;
diff --git a/ToolUserNotesConst.h b/ToolUserNotesConst.h
new file mode 100644
index 0000000..5574444
--- /dev/null
+++ b/ToolUserNotesConst.h
@@ -0,0 +1,22 @@
+//----------------------------------------------------------------------------
+// EgalTech 2026-2026
+//----------------------------------------------------------------------------
+// File : ToolUserNotesConst.h Data : 09.04.26 Versione : 3.1d3
+// Contenuto : Costanti per le note utente degli utensili.
+//
+//
+//
+// Modifiche : 10.11.25 DS Creazione modulo.
+//
+//
+//
+//----------------------------------------------------------------------------
+
+#pragma once
+
+#include
+
+//----------------------------------------------------------------------------
+// Generali
+static const std::string TUN_TH = "TH" ;
+static const std::string TUN_DOUBLE = "DOUBLE" ;