track/src/TrackCenter.Application/Services/ForewarningServices/KpiAreaCacheService.cs
2025-07-30 22:00:02 +08:00

25 lines
682 B
C#

using TrackCenter.Domain.Aggregates.KPIAreaAggregate;
namespace TrackCenter.Application.Services.ForewarningServices;
public class KpiAreaCacheService : ITransientDependency
{
const string GlobalKpiAreaLockKey = "KpiAreaCacheService_GlobalLock";
IKpiAreaRepository _kpiAreaRepository;
public KpiAreaCacheService(IKpiAreaRepository kpiAreaRepository)
{
_kpiAreaRepository = kpiAreaRepository;
}
private string GetKey(int systemId, string country)
{
return $"{GlobalConst.KpiAreaKeyPrefix}:{systemId}:{country}";
}
public Task GetKpiArea(int systemId, string country)
{
throw new NotImplementedException();
}
}