123456789101112131415161718192021222324252627282930313233343536373839 |
- using Abp.Dependency;
- using YunDa.ISAS.DataTransferObject.EquipmentLiveData;
- using YunDa.ISAS.Redis.Entities.AlarmCategory;
- using YunDa.ISAS.Redis.Entities.CameraAuthCategory;
- using YunDa.ISAS.Redis.Entities.DataMonitorCategory;
- using YunDa.ISAS.Redis.Entities.LinkageCategory;
- using YunDa.ISAS.Redis.Repositories;
- namespace Yunda.ISAS.DataMonitoringServer.DataCenter
- {
- public class RedisDataRepository : ISingletonDependency
- {
- public IRedisRepository<CameraAuthTimeRedis, string> CameraAuthTimeRepository { get; }
- public IRedisRepository<LinkageResultInfoRedis, string> LinkageResultInfoRedis { get; }
- public IRedisRepository<AlarmListRedis, string> AlarmListRedis { get; }
- public IRedisRepository<EnvironmentTempValue, string> EnvironmentTempValueRedis { get; }
- public IRedisRepository<EquipmentDataModel, string> EquipmentDataModelDicRedis { get; }
- //public IRedisRepository<object, string> EquipmentDataDicRedis { get; }
- public IRedisRepository<DateTime, string> LastTrueResultTimeList { get; set; }
- public RedisDataRepository(IRedisRepository<CameraAuthTimeRedis, string> cameraAuthTimeRepository,
- IRedisRepository<LinkageResultInfoRedis, string> linkageResultInfoRedis,
- IRedisRepository<AlarmListRedis, string> alarmListRedis,
- IRedisRepository<EnvironmentTempValue, string> environmentTempValueRedis,
- //IRedisRepository<object, string> equipmentDataDicRedis,
- IRedisRepository<DateTime, string> lastTrueResultTimeList,
- IRedisRepository<EquipmentDataModel,string> equipmentDataModelDicRedis
- )
- {
- CameraAuthTimeRepository = cameraAuthTimeRepository;
- LinkageResultInfoRedis = linkageResultInfoRedis;
- AlarmListRedis = alarmListRedis;
- EnvironmentTempValueRedis = environmentTempValueRedis;
- //EquipmentDataDicRedis = equipmentDataDicRedis;
- LastTrueResultTimeList = lastTrueResultTimeList;
- EquipmentDataModelDicRedis = equipmentDataModelDicRedis;
- }
- }
- }
|