public T_MenuInfo SetModelDefaultValue(T_MenuInfo model) { model.MenuType = 1; model.MenuStatus = 1; model.IsDel = 1; model.SafeLevel = 1; string strError = string.Empty; Tree_Model treeModel = model as Tree_Model; Tree_Func treefunc = new Tree_Func(); if (treefunc.GetTreeNo(ref treeModel, ref strError)) { treeModel.MenuNo = treeModel.TreeNo; model = treeModel as T_MenuInfo; } return(model); }
public bool GetTreeNo(ref Tree_Model model, ref string strError) { Tree_Func tfunc = new Tree_Func(); return(tfunc.GetTreeNo(ref model, ref strError)); }