Пример #1
0
        /// <summary>
        /// 开始运行主应用程序
        /// </summary>
        static public void StartThisApp()
        {
            GlobalParameter.SetGlobalParameter();
            Logger.LogRootDirectory = GlobalParameter.logRootDirectory;

            if (GlobalParameter.httpServerRun)
            {
                mainFunction = new MainFunction();
                mainFunction.RunMainFunctionThread();
            }
            if (GlobalParameter.httpServerRun)
            {
                httpHandle = new HttpHandle();
                httpHandle.RunHttpServerThread();
            }
        }