Files
46-Pingzhi126-ZZ-WebApi/Helpers/Gl.cs
2026-06-08 17:19:25 +08:00

29 lines
753 B
C#

using System;
using System.Collections.Concurrent;
using WebApi.Models;
namespace WebApi.Helpers
{
/// <summary>
/// 全局变量类
/// </summary>
public class Gl
{
/// <summary>
/// SQL Server连接状态
/// </summary>
public static bool OnLine_Sql { get; set; } = false;
/// <summary>
/// AGV连接状态
/// </summary>
public static bool OnLine_AGV { get; set; } = false;
/// <summary>
/// MQTT连接状态
/// </summary>
public static bool OnLine_MQTT { get; set; } = false;
public static ConcurrentDictionary<string, TightenTool> TightenList { get; set; } = new ConcurrentDictionary<string, TightenTool>();
}
}