helongyang
3 天以前 ac8813cde64f7bf9882657416a1d102191aae960
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/WIDESEA_Core/App.cs
@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Hosting;
using HslCommunication.WebSocket;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
@@ -21,6 +22,8 @@
        static App()
        {
            EffectiveTypes = Assemblies.SelectMany(GetTypes);
            //SocketServer = new WebSocketServer();
            //SocketServer.ServerStart(9295);
        }
        private static bool _isRun;
@@ -34,6 +37,11 @@
            set => _isRun = IsBuild = value;
        }
        /// <summary>
        /// æœ‰æ•ˆæœŸ
        /// </summary>
        public static DateTime? ExpDateTime = null;
        /// <summary>应用有效程序集</summary>
        public static readonly IEnumerable<Assembly> Assemblies = RuntimeExtension.GetAllAssemblies();