Ejemplo n.º 1
0
 /// <summary>
 /// 设计时初始化
 /// </summary>
 public virtual void DesigntimeInitialize()
 {
     RuntimeService.Deactivate();
     ConfigurationManager.DesigntimeInitialize();
     LogService.DesigntimeInitialize();
     ParameterChecker.DesigntimeInitialize();
     ResultManager.DesigntimeInitialize();
     ComInterfaceManager.DesigntimeInitialize();
     SequenceManager.DesigntimeInitialize();
     DataMaintainer.DesigntimeInitialize();
     EngineController.DesigntimeInitialize();
     DesignTimeService.Activate();
 }
Ejemplo n.º 2
0
        public override void Initialize()
        {
            ModuleConfigData configData = new ModuleConfigData();

            configData.InitExtendProperties();

            this.SequenceManager     = new SequenceManager.SequenceManager();
            this.ComInterfaceManager = new ComInterfaceManager.InterfaceManager();
            this.ParameterChecker    = new ParameterChecker.ParameterChecker();

            this.LogService = new Logger.LogService();

            ComInterfaceManager.ApplyConfig(configData);
            SequenceManager.ApplyConfig(configData);
            ParameterChecker.ApplyConfig(configData);

            ComInterfaceManager.DesigntimeInitialize();
            SequenceManager.DesigntimeInitialize();
            LogService.RuntimeInitialize();
        }
Ejemplo n.º 3
0
        public override void Initialize()
        {
            this.LogService          = new LogService();
            this.DataMaintainer      = new DataMaintainer.DataMaintainer();
            this.EngineController    = new EngineHandle();
            this.SequenceManager     = new SequenceManager.SequenceManager();
            this.ComInterfaceManager = new InterfaceManager();

            ModuleConfigData configData = new ModuleConfigData();

            configData.InitExtendProperties();

            LogService.ApplyConfig(configData);
            ComInterfaceManager.ApplyConfig(configData);
            SequenceManager.ApplyConfig(configData);
            DataMaintainer.ApplyConfig(configData);
            EngineController.ApplyConfig(configData);

            LogService.RuntimeInitialize();
            ComInterfaceManager.DesigntimeInitialize();
            SequenceManager.DesigntimeInitialize();
            DataMaintainer.RuntimeInitialize();
            EngineController.RuntimeInitialize();
        }