2025-09-09 13:35:16 +08:00
|
|
|
using System.Collections.Concurrent;
|
|
|
|
|
using DMS.Application.DTOs;
|
2025-09-16 14:42:23 +08:00
|
|
|
using DMS.Application.Events;
|
2025-09-09 13:35:16 +08:00
|
|
|
|
|
|
|
|
namespace DMS.Application.Interfaces;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 定义数据加载服务接口,负责从数据源加载数据到内存中
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IDataLoaderService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 异步加载所有设备及其关联数据到内存中
|
|
|
|
|
/// </summary>
|
2025-09-09 15:28:07 +08:00
|
|
|
Task LoadAllDataToMemoryAsync();
|
2025-09-09 13:35:16 +08:00
|
|
|
|
2025-10-05 11:21:05 +08:00
|
|
|
|
2025-09-09 13:35:16 +08:00
|
|
|
}
|