예제 #1
0
 public PropModeTreeMng(PropagationModelCollection propModelCollection, PropagationModelLoadManager propationModelMng, PropModelTreeUserControl propModelTree, IBaseService iBaseService)
 {
     this.m_PropModelCollection = propModelCollection;
     this.m_PropationModelMng = propationModelMng;
     this.m_PropModelTree = propModelTree;
     this.m_IBaseService = iBaseService;
 }
예제 #2
0
 private bool AddPropModelCategory(System.Type modelType, List<DataAccessDefine> dataAccessDef, PropagationModelCollection propModelCollection)
 {
     foreach (DataAccessDefine define in dataAccessDef)
     {
         List<PropagationModelCategory> list = (Activator.CreateInstance(this.m_PropationModelMng.GetTypeByName(define.ClassName)) as IPropagationModelDataAccess).ParameterInit(define.Name, modelType);
         foreach (PropagationModelCategory category in list)
         {
             propModelCollection.AddPropModelCategory(category);
         }
     }
     return true;
 }
예제 #3
0
 private void LoadModelManager()
 {
     this.m_PropModelCollection = new PropagationModelCollection(this.applicationContext);
     this.m_PropModelCollection.PropationModelMng = this.m_PropMng;
     this.propModelTreeUserControl = new PropModelTreeUserControl(this.applicationContext);
     this.m_ModelsMngr = new PropModeTreeMng(this.m_PropModelCollection, this.m_PropMng, this.propModelTreeUserControl, this.applicationContext);
     if (null != this.m_PropModelCategoryList)
     {
         this.m_ModelsMngr.PropModelCategoryList = this.m_PropModelCategoryList;
     }
     this.m_ModelsMngr.Initialize();
 }