/// <summary> /// 添加刀路名 /// </summary> /// <param name="model"></param> public bool AddOperationNameModel(AbstractCreateOperation model, int count) { if (model.ToolName.Equals(this.tool, StringComparison.CurrentCultureIgnoreCase)) { Oper.Insert(count, model); UpdateProgramName(); return(true); } return(false); }