From bcce0a3edb53613510318a5a5fcff29f44e1f177 Mon Sep 17 00:00:00 2001 From: "ext_luca.pansa@cms.it" Date: Fri, 29 Jan 2021 16:58:07 +0100 Subject: [PATCH] Fix per tooling Fanuc --- CMS_CORE_Library/Fanuc/Nc_Fanuc.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMS_CORE_Library/Fanuc/Nc_Fanuc.cs b/CMS_CORE_Library/Fanuc/Nc_Fanuc.cs index a989beb..ae4c85a 100644 --- a/CMS_CORE_Library/Fanuc/Nc_Fanuc.cs +++ b/CMS_CORE_Library/Fanuc/Nc_Fanuc.cs @@ -4656,13 +4656,13 @@ namespace CMS_CORE_Library.Fanuc // Add obj index to the parameter memory int currentFieldIndex = nextFieldIndex + objOffset * size; string propertyName = property.Name; - if ((propertyName + "").StartsWith("_")) + if ((propertyName + "").StartsWith("_") || propertyName == "ResidualPresetting") { - if (propertyName == "_PresettingDelta") + if (propertyName == "_PresettingDelta" || propertyName == "ResidualPresetting") { //properties[propertyIndex].SetValue(models[objIndex],byteValues[memoryIndex]); //memoryIndex += 2; - continue; + //continue; } } else