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