using System.Collections.Concurrent;
using DMS.Application.DTOs;
using DMS.Application.Interfaces;
namespace DMS.Application.Services;
public class AppDataStorageService : IAppDataStorageService
{
///
/// 安全字典,用于存储所有设备数据
///
public ConcurrentDictionary Devices { get; } = new();
///
/// 安全字典,用于存储所有变量表数据
///
public ConcurrentDictionary VariableTables { get; } = new();
///
/// 安全字典,用于存储所有变量数据
///
public ConcurrentDictionary Variables { get; } = new();
///
/// 安全字典,用于存储所有菜单数据
///
public ConcurrentDictionary Menus { get; } = new();
///
/// 安全字典,用于存储所有菜单数据
///
public ConcurrentDictionary MenuTrees { get; } = new();
///
/// 安全字典,用于存储所有MQTT服务器数据
///
public ConcurrentDictionary MqttServers { get; } = new();
///
/// 安全字典,用于存储所有日志数据
///
public ConcurrentDictionary Nlogs { get; } = new();
}