diff --git a/Client.Config/Config.xml b/Client.Config/Config.xml
index 748c96c4..233d4f8f 100644
--- a/Client.Config/Config.xml
+++ b/Client.Config/Config.xml
@@ -6,7 +6,7 @@
GPU
false
false
- true
+ false
localhost
diff --git a/Libs/CMS_CORE_Library.dll b/Libs/CMS_CORE_Library.dll
index 59dd457b..a6faa466 100644
Binary files a/Libs/CMS_CORE_Library.dll and b/Libs/CMS_CORE_Library.dll differ
diff --git a/Step.Config/Config/toolManagerConfig.xml b/Step.Config/Config/toolManagerConfig.xml
index 0e7cddc2..9f792970 100644
--- a/Step.Config/Config/toolManagerConfig.xml
+++ b/Step.Config/Config/toolManagerConfig.xml
@@ -15,6 +15,7 @@
true
true
true
+ true
diff --git a/Step.Config/Config/toolManagerConfigValidator.xsd b/Step.Config/Config/toolManagerConfigValidator.xsd
index 305328ba..761be1d8 100644
--- a/Step.Config/Config/toolManagerConfigValidator.xsd
+++ b/Step.Config/Config/toolManagerConfigValidator.xsd
@@ -20,6 +20,7 @@
+
diff --git a/Step.Config/ServerConfigController.cs b/Step.Config/ServerConfigController.cs
index 42318e30..e63ffad3 100644
--- a/Step.Config/ServerConfigController.cs
+++ b/Step.Config/ServerConfigController.cs
@@ -500,7 +500,8 @@ namespace Step.Config
MultidimensionalShankOpt = Convert.ToBoolean(x.Element("multidimensionalShankOpt").Value),
SelfAdaptivePathOpt = Convert.ToBoolean(x.Element("selfAdaptivePathOpt").Value),
DynamicCompensationOpt = Convert.ToBoolean(x.Element("dynamicCompensationOpt").Value),
- BallufOpt = Convert.ToBoolean(x.Element("ballufOpt").Value)
+ BallufOpt = Convert.ToBoolean(x.Element("ballufOpt").Value),
+ IntegrityCheckOpt = Convert.ToBoolean(x.Element("integrityCheckOpt").Value)
})
.FirstOrDefault();
diff --git a/Step.Model/ConfigModels/ToolManagerConfigModel.cs b/Step.Model/ConfigModels/ToolManagerConfigModel.cs
index 17b21ac4..789c0196 100644
--- a/Step.Model/ConfigModels/ToolManagerConfigModel.cs
+++ b/Step.Model/ConfigModels/ToolManagerConfigModel.cs
@@ -23,6 +23,7 @@ namespace Step.Model.ConfigModels
public bool SelfAdaptivePathOpt { get; set; }
public bool DynamicCompensationOpt { get; set; }
public bool BallufOpt { get; set; }
+ public bool IntegrityCheckOpt { get; set; }
public CooligTranslations CooligsTranslations { get; set; }
diff --git a/Step.Model/DTOModels/ToolModels/DTONcToolModel.cs b/Step.Model/DTOModels/ToolModels/DTONcToolModel.cs
index bc491c5b..1dbbc7d5 100644
--- a/Step.Model/DTOModels/ToolModels/DTONcToolModel.cs
+++ b/Step.Model/DTOModels/ToolModels/DTONcToolModel.cs
@@ -30,6 +30,9 @@ namespace Step.Model.DTOModels.ToolModels
[Required]
public bool Measured { get; set; }
+ [Required]
+ public bool IntegrityCheck { get; set; }
+
[Required]
public bool ClockwiseRotation { get; set; }
@@ -55,15 +58,16 @@ namespace Step.Model.DTOModels.ToolModels
Disabled = bits[0],
Broken = bits[1],
Measured = bits[2],
- ClockwiseRotation = bits[3],
- CounterClockwiseRotation = bits[4],
+ IntegrityCheck = bits[3],
+ ClockwiseRotation = bits[4],
+ CounterClockwiseRotation = bits[5],
};
}
public static explicit operator DbNcToolModel(DTONcTool obj)
{
// Prepare status byte
- bool[] result = new bool[8] { obj.Disabled, obj.Broken, obj.Measured, obj.ClockwiseRotation, obj.CounterClockwiseRotation, false, false, false };
+ bool[] result = new bool[8] { obj.Disabled, obj.Broken, obj.Measured, obj.IntegrityCheck, obj.ClockwiseRotation, obj.CounterClockwiseRotation, false, false };
byte status = ConvertArrayToByte(result);
return new DbNcToolModel()
@@ -116,8 +120,9 @@ namespace Step.Model.DTOModels.ToolModels
Disabled = bits[0],
Broken = bits[1],
Measured = bits[2],
- ClockwiseRotation = bits[3],
- CounterClockwiseRotation = bits[4],
+ IntegrityCheck = bits[3],
+ ClockwiseRotation = bits[4],
+ CounterClockwiseRotation = bits[5],
OffsetId1 = obj.OffsetId1,
OffsetId2 = obj.OffsetId2,
OffsetId3 = obj.OffsetId3
@@ -127,7 +132,7 @@ namespace Step.Model.DTOModels.ToolModels
public static explicit operator DbNcToolModel(DTONcToolModel obj)
{
// Prepare status byte
- bool[] result = new bool[8] { obj.Disabled, obj.Broken, obj.Measured, obj.ClockwiseRotation, obj.CounterClockwiseRotation, false, false, false };
+ bool[] result = new bool[8] { obj.Disabled, obj.Broken, obj.Measured, obj.IntegrityCheck, obj.ClockwiseRotation, obj.CounterClockwiseRotation, false, false };
byte status = ConvertArrayToByte(result);
return new DbNcToolModel()
@@ -172,8 +177,9 @@ namespace Step.Model.DTOModels.ToolModels
Disabled = bits[0],
Broken = bits[1],
Measured = bits[2],
- ClockwiseRotation = bits[3],
- CounterClockwiseRotation = bits[4],
+ IntegrityCheck = bits[3],
+ ClockwiseRotation = bits[4],
+ CounterClockwiseRotation = bits[5],
OffsetId1 = obj.OffsetId1,
OffsetId2 = obj.OffsetId2,
OffsetId3 = obj.OffsetId3
@@ -183,7 +189,7 @@ namespace Step.Model.DTOModels.ToolModels
public static explicit operator DbNcToolModel(DTONewNcToolModel obj)
{
// Prepare status byte
- bool[] result = new bool[8] { obj.Disabled, obj.Broken, obj.Measured, obj.ClockwiseRotation, obj.CounterClockwiseRotation, false, false, false};
+ bool[] result = new bool[8] { obj.Disabled, obj.Broken, obj.Measured, obj.IntegrityCheck, obj.ClockwiseRotation, obj.CounterClockwiseRotation, false, false};
byte status = ConvertArrayToByte(result);
return new DbNcToolModel()
diff --git a/Step.NC/SiemensToolTableAdapter.cs b/Step.NC/SiemensToolTableAdapter.cs
index 743c95e6..ac87da98 100644
--- a/Step.NC/SiemensToolTableAdapter.cs
+++ b/Step.NC/SiemensToolTableAdapter.cs
@@ -97,12 +97,15 @@ namespace Step.NC
if (!ToolManagerConfig.ReviveOpt)
categories.Add("revive");
+ if (!ToolManagerConfig.IntegrityCheckOpt)
+ categories.Add("integrityCheck");
+
// Remove category from configurations
- config.ToolsConfiguration = config.ToolsConfiguration.Where(x => !categories.Contains(x.Category)).ToList();
+ config.ToolsConfiguration = config.ToolsConfiguration.Where(x => !categories.Contains(x.Category) && !categories.Contains(x.SubCategory)).ToList();
// Remove categories from familyConfig
config.FamiliesConfiguration.FamilyConfiguration = config.FamiliesConfiguration.FamilyConfiguration.Where(x => !categories.Contains(x.Category)).ToList();
- // Filter by SUBCATEGORIES because "ReadOnlyFamily" categories are not populated
+ // Remove also SUBCATEGORIES because "ReadOnlyFamily" configuration has category field not populated
config.FamiliesConfiguration.FamilyReadOnlyConfiguration = config.FamiliesConfiguration.FamilyReadOnlyConfiguration.Where(x => !categories.Contains(x.SubCategory)).ToList();
config.ShanksConfiguration.ShankConfiguration = config.ShanksConfiguration.ShankConfiguration.Where(x => !categories.Contains(x.Category)).ToList();
diff --git a/Step/Properties/AssemblyInfo.cs b/Step/Properties/AssemblyInfo.cs
index 19c9ec00..cfffbb4b 100644
--- a/Step/Properties/AssemblyInfo.cs
+++ b/Step/Properties/AssemblyInfo.cs
@@ -31,4 +31,4 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.3.1")]
+[assembly: AssemblyVersion("1.3.2")]