public List <common_number> findCommonCodeGroup() { List <common_number> list = new List <common_number>(); common_number comm = new common_number(); comm.group_name = "文档设计编码组"; comm.id = 1; comm.parent_id = 0; common_number comm1 = new common_number(); comm1.group_name = "文档设计编码组1"; comm1.id = 2; comm1.parent_id = 1; common_number comm2 = new common_number(); comm2.group_name = "文档设计编码组2"; comm2.id = 3; comm2.parent_id = 1; common_number comm3 = new common_number(); comm3.group_name = "图纸设计编码组"; comm3.id = 4; comm3.parent_id = 0; common_number comm4 = new common_number(); comm4.group_name = "图纸设计编码组1"; comm4.id = 5; comm4.parent_id = 4; common_number comm5 = new common_number(); comm5.group_name = "图纸设计编码组2"; comm5.id = 6; comm5.parent_id = 4; list.Add(comm); list.Add(comm1); list.Add(comm2); list.Add(comm3); list.Add(comm4); list.Add(comm5); return(list); }
public bool addCommonGroup(common_number common) { return(false); }