This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using static CMS_CORE_Library.DataStructures;
|
||||
|
||||
namespace CMS_CORE_Library
|
||||
{
|
||||
public static class ToolConfigurations
|
||||
{
|
||||
public static List<ToolConfiguration> SiemensToolsConfig = new List<ToolConfiguration>()
|
||||
{
|
||||
new ToolConfiguration{Name = "id", Type = "int", SelectValues = null, Category = "general"},
|
||||
new ToolConfiguration{Name= "toolType", Type = "select", Category = "general",
|
||||
SelectValues = new Dictionary<int, string>()
|
||||
{
|
||||
{100, "milling"},
|
||||
{110, "ballNoseAndMill"},
|
||||
{111, "canonicalBallEnd"},
|
||||
{120, "endMill" },
|
||||
{121, "endMillCornerRounding" },
|
||||
{130, "angleHeadCutter" },
|
||||
{131, "cornRoundAngHdCut" },
|
||||
{140, "facingTool" },
|
||||
{145, "threadCutter" },
|
||||
{150, "sideMill" },
|
||||
{151, "saw" },
|
||||
{155, "bevelledCutter" },
|
||||
{156, "bevelledCutterCorner" },
|
||||
{157, "tapDieSinkCutter" },
|
||||
{160, "drillAndThreadCut" }
|
||||
}},
|
||||
new ToolConfiguration{Name = "toolLifeType", Type="select", Category = "general",
|
||||
SelectValues = new Dictionary<int, string>()
|
||||
{
|
||||
{0, "toolLifeType"},
|
||||
{1, "countLife"},
|
||||
{2, "wearLife"}
|
||||
}},
|
||||
new ToolConfiguration{Name = "familyName", Type = "string", SelectValues = null, Category = "family"},
|
||||
new ToolConfiguration{Name = "childId", Type = "int", SelectValues = null, Category = "family"},
|
||||
|
||||
new ToolConfiguration{Name = "isActive", Type = "boolean", SelectValues = null, Category = "state"},
|
||||
new ToolConfiguration{Name = "isInhibited", Type = "boolean", SelectValues = null, Category = "state"},
|
||||
new ToolConfiguration{Name = "fixedPlace", Type = "boolean", SelectValues = null, Category = "state"},
|
||||
new ToolConfiguration{Name = "isMeasured", Type = "boolean", SelectValues = null, Category = "state"},
|
||||
new ToolConfiguration{Name = "changeTool", Type = "boolean", SelectValues = null, Category = "state"},
|
||||
new ToolConfiguration{Name = "isInUse", Type = "boolean", SelectValues = null, Category = "state"},
|
||||
new ToolConfiguration{Name = "preAlarm", Type = "boolean", SelectValues = null, Category = "state"},
|
||||
|
||||
new ToolConfiguration{Name = "cooling1", Type = "boolean", SelectValues = null, Category = "cooling"},
|
||||
new ToolConfiguration{Name = "cooling2", Type = "boolean", SelectValues = null, Category = "cooling" },
|
||||
|
||||
new ToolConfiguration{Name = "magazinePositionType", Type = "int", Category = "magazine"},
|
||||
new ToolConfiguration{Name = "leftSize", Type = "int", Category = "magazine"},
|
||||
new ToolConfiguration{Name = "rightSize", Type = "int", Category = "magazine"},
|
||||
|
||||
new ToolConfiguration{Name = "rotation", Type = "select", Category = "head",
|
||||
SelectValues = new Dictionary<int, string>()
|
||||
{
|
||||
{0, "none"},
|
||||
{1, "clockWhise"},
|
||||
{2, "counterClockWhise"}
|
||||
}},
|
||||
|
||||
new ToolConfiguration{Name = "edgeId", Type = "int", SelectValues = null, Category = "edge"},
|
||||
new ToolConfiguration{Name = "edgeResidualLife", Type = "double", SelectValues = null, Category = "edge"},
|
||||
new ToolConfiguration{Name = "edgeNominalLife", Type = "double", SelectValues = null, Category = "edge"},
|
||||
new ToolConfiguration{Name = "edgeNominalLife", Type = "double", SelectValues = null, Category = "edge"},
|
||||
new ToolConfiguration{Name = "edgePreAlarmVal", Type = "double", SelectValues = null, Category = "edge"}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user