|  |  |  | 
|---|
|  |  |  | using Microsoft.AspNetCore.Hosting; | 
|---|
|  |  |  | using HslCommunication.WebSocket; | 
|---|
|  |  |  | using Microsoft.AspNetCore.Hosting; | 
|---|
|  |  |  | using Microsoft.AspNetCore.Http; | 
|---|
|  |  |  | using Microsoft.Extensions.Configuration; | 
|---|
|  |  |  | using Microsoft.Extensions.DependencyInjection; | 
|---|
|  |  |  | 
|---|
|  |  |  | static App() | 
|---|
|  |  |  | { | 
|---|
|  |  |  | EffectiveTypes = Assemblies.SelectMany(GetTypes); | 
|---|
|  |  |  | //SocketServer = new WebSocketServer(); | 
|---|
|  |  |  | //SocketServer.ServerStart(9295); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | private static bool _isRun; | 
|---|
|  |  |  | 
|---|
|  |  |  | set => _isRun = IsBuild = value; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /// <summary> | 
|---|
|  |  |  | /// æææ | 
|---|
|  |  |  | /// </summary> | 
|---|
|  |  |  | public static DateTime? ExpDateTime = null; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /// <summary>åºç¨ææç¨åºé</summary> | 
|---|
|  |  |  | public static readonly IEnumerable<Assembly> Assemblies = RuntimeExtension.GetAllAssemblies(); | 
|---|
|  |  |  |  | 
|---|