wcs_server_kate_suzhou/WcsMain/Common/CommonData.cs

61 lines
1.4 KiB
C#
Raw Normal View History

using Autofac;
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;
2024-05-14 16:30:56 +08:00
}