chore: 初始化平芝126KV总装线 WebApi
This commit is contained in:
29
Helpers/Gl.cs
Normal file
29
Helpers/Gl.cs
Normal 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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user