Fix mag position fields configuration
This commit is contained in:
@@ -50,7 +50,7 @@ namespace CMS_CORE_Library
|
||||
|
||||
private static Dictionary<int, string> toolTypeCodeList = new Dictionary<int, string>()
|
||||
{
|
||||
{0, "none"},
|
||||
{0, "generic"},
|
||||
{80, "disk"},
|
||||
{81, "cutter50"},
|
||||
{83, "cutter70"},
|
||||
@@ -332,10 +332,10 @@ namespace CMS_CORE_Library
|
||||
|
||||
public static List<FieldsConfiguration> NcMagazinePosFieldsConfig = new List<FieldsConfiguration>()
|
||||
{
|
||||
new FieldsConfiguration{ Name = "magazineId", Type = "int", SelectValues = null, Category = "general", ReadOnly = true, MinValue = 0, MaxValue = 0 },
|
||||
new FieldsConfiguration{ Name = "positionId", Type = "int", SelectValues = null, Category = "general", ReadOnly = true, MinValue = 0, MaxValue = 0 },
|
||||
new FieldsConfiguration{ Name = "type", Type = "int", SelectValues = null, Category = "magPosType", ReadOnly = true, MinValue = 0, MaxValue = 0 },
|
||||
new FieldsConfiguration{ Name = "disabled", Type = "boolean", SelectValues = null, Category = "general", ReadOnly = false, MinValue = 0, MaxValue = 0 }
|
||||
new FieldsConfiguration{ Name = "magazineId", Type = "int", SelectValues = null, Category = "general", ReadOnly = true, MinValue = 0, MaxValue = 0 },
|
||||
new FieldsConfiguration{ Name = "positionId", Type = "int", SelectValues = null, Category = "general", ReadOnly = true, MinValue = 0, MaxValue = 0 },
|
||||
new FieldsConfiguration{ Name = "type", Type = "select", SelectValues = toolTypeCodeList, Category = "magPosType", ReadOnly = false, MinValue = 0, MaxValue = 0 },
|
||||
new FieldsConfiguration{ Name = "disabled", Type = "boolean", SelectValues = null, Category = "general", ReadOnly = false, MinValue = 0, MaxValue = 0 }
|
||||
};
|
||||
|
||||
public static EdgesConfiguration NcOffsetFieldsConfiguration = new EdgesConfiguration()
|
||||
|
||||
Reference in New Issue
Block a user