chore: 初始化平芝126KV总装线 WebApi

This commit is contained in:
yexingqiang
2026-06-08 17:19:25 +08:00
commit 437c251f58
126 changed files with 5439 additions and 0 deletions

29
Helpers/Gl.cs Normal file
View File

@@ -0,0 +1,29 @@
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>();
}
}