コード例 #1
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();
        }