예제 #1
0
        public static HomePageNodeModel GetHomePageNodeModel(int nodeId)
        {
            HomePageNodeModel model = null;

            XMLDataManage.Manage().homePageNodeDict.TryGetValue(nodeId, out model);
            return(model);
        }
예제 #2
0
        public static GridControlModel GetGridControlModel(string type)
        {
            GridControlModel model = null;

            XMLDataManage.Manage().gridControlDict.TryGetValue(type, out model);
            return(model);
        }
예제 #3
0
 /// <summary>
 /// 获取主页树节点的数据
 /// </summary>
 public static List <HomePageNodeModel> GetNodesXML()
 {
     return(XMLDataManage.Manage().homepageNodes);
 }
예제 #4
0
 public static void Init()
 {
     XMLDataManage.Manage();
 }