Fix per tooling Fanuc

This commit is contained in:
ext_luca.pansa@cms.it
2021-01-29 16:58:07 +01:00
parent 71432c8a58
commit bcce0a3edb
+3 -3
View File
@@ -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