public AxisGroup RegisterAxisGroup(string[] nodeNameSet, string name, AxisGroup.AxisGroupType groupType, double safetyOffset) { if (axisGroupMap.ContainsKey(name)) { throw new Exception("The axis group already exist."); } AxisGroup axisGroup = new AxisGroup(a3200HC, name, nodeNameSet, groupType, safetyOffset); axisGroupMap.Add(name, axisGroup); return(axisGroup); }
public AxisGroup RegisterAxisGroup(uint[] axisNoSet, string name) { if (axisGroupMap.ContainsKey(name)) { throw new Exception("The axis group already exist."); } AxisGroup axisGroup = new AxisGroup(a3200HC, name, axisNoSet); axisGroupMap.Add(name, axisGroup); return(axisGroup); }