FIx siemens library
First Osai offset test
This commit is contained in:
@@ -312,7 +312,7 @@ namespace CMS_CORE_Library
|
||||
return new CmsError(CMS_ERROR_CODES.NC_PROD_ERROR, message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public enum CMS_ERROR_CODES : uint
|
||||
{
|
||||
OK = 0,
|
||||
@@ -337,7 +337,6 @@ namespace CMS_CORE_Library
|
||||
MAGAZINE_OCCUPIED = 19,
|
||||
TOOL_IS_MOUNTED = 20,
|
||||
TOOL_AND_POSITION_NOT_MATCHING = 21
|
||||
|
||||
}
|
||||
|
||||
internal static CmsError NO_ERROR = new CmsError(CMS_ERROR_CODES.OK, "");
|
||||
@@ -361,7 +360,6 @@ namespace CMS_CORE_Library
|
||||
internal static CmsError TOOL_IS_MOUNTED_ERROR = new CmsError(CMS_ERROR_CODES.TOOL_IS_MOUNTED, "error_tool_mounted");
|
||||
internal static CmsError TOOL_AND_POSITION_NOT_MATCHING_ERROR = new CmsError(CMS_ERROR_CODES.TOOL_IS_MOUNTED, "error_tool_and_position_not_matching");
|
||||
|
||||
|
||||
#endregion Cms Errors Codes
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
@@ -434,8 +432,6 @@ namespace CMS_CORE_Library
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#region Tool Table Models
|
||||
|
||||
public enum MAGAZINE_ACTIONS
|
||||
{
|
||||
NONE = 0,
|
||||
@@ -472,6 +468,8 @@ namespace CMS_CORE_Library
|
||||
COUNTERCLOCKWHISE = 2
|
||||
}
|
||||
|
||||
#region Siemens Tool Manager Models
|
||||
|
||||
public enum SIEMENS_LIFE_TYPE
|
||||
{
|
||||
NONE = 0,
|
||||
@@ -634,6 +632,7 @@ namespace CMS_CORE_Library
|
||||
public string Name;
|
||||
public bool IsMultitool;
|
||||
}
|
||||
|
||||
///////////////// Tools Configuration
|
||||
public class FieldsConfiguration
|
||||
{
|
||||
@@ -642,8 +641,8 @@ namespace CMS_CORE_Library
|
||||
public string Category;
|
||||
public bool ReadOnly;
|
||||
public Dictionary<int, string> SelectValues;
|
||||
public int MinValue;
|
||||
public int MaxValue;
|
||||
public uint MinValue;
|
||||
public uint MaxValue;
|
||||
}
|
||||
|
||||
public class FamiliesConfiguration
|
||||
@@ -694,6 +693,19 @@ namespace CMS_CORE_Library
|
||||
public EdgesConfiguration EdgesConfiguration;
|
||||
}
|
||||
|
||||
#endregion Tool Table Models
|
||||
#endregion Siemens Tool Manager Models
|
||||
|
||||
#region Nc Tool Manager Models
|
||||
|
||||
public class OffsetModel
|
||||
{
|
||||
public short Id { get; set; }
|
||||
public double Length { get; set; }
|
||||
public double Radius { get; set; }
|
||||
public double WearLength { get; set; }
|
||||
public double WearRadius { get; set; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user