Product_Wms/WcsMain/Common/CommonData.cs
icewint 03c600bc70 1、修改文件结构
2、删除不使用的 using
2024-11-15 11:38:01 +08:00

60 lines
1.4 KiB
C#

using System.Diagnostics.CodeAnalysis;
using WcsMain.AppEntity.SystemData;
using WcsMain.DataBase.TableEntity;
namespace WcsMain.Common;
/// <summary>
/// 共享数据
/// </summary>
public static class CommonData
{
/// <summary>
/// 系统设置项,加载于 appsettings.json
/// </summary>
[NotNull]
public static AppSettingJsonEntity? Settings { get; set; }
/// <summary>
/// 数据库的 Config 配置
/// </summary>
[NotNull]
public static AppConfigEntity? AppConfig { get; set; }
/// <summary>
/// 堆垛机数据
/// </summary>
[NotNull]
public static List<AppStacker>? AppStackers { get; set; }
/// <summary>
/// 点位信息
/// </summary>
[NotNull]
public static List<AppLocation>? AppLocations { get; set; }
/// <summary>
/// 电子标签基础资料
/// </summary>
[NotNull]
public static List<AppElTagLocation>? AppElTags { get; set; }
/// <summary>
/// 输送线的站台
/// </summary>
[NotNull]
public static List<AppConveyStand>? AppConveyStands { get; set; }
/// <summary>
/// 基础 api 资料
/// </summary>
[NotNull]
public static List<AppApiBaseInfo>? AppApiBaseInfos { get; set; }
/// <summary>
/// 指示是否连接PLC
/// </summary>
public static bool IsConnectPlc { get; set; } = false;
}