Ejemplo n.º 1
0
 public ChannelStatusByUkeyIdService(IAgentUKeyRepository agentUKeyRepository, IChannelModelMapRedisService channelModelMapRedisService, IValidateService validateService)
 {
     logError                     = LogManager.GetLogger("ERROR");
     _agentUKeyRepository         = agentUKeyRepository;
     _channelModelMapRedisService = channelModelMapRedisService;
     _validateService             = validateService;
 }
 public AgentUKeyService(ICacheHelper cacheHelper, IAgentRepository agentRepository, IAgentUKeyRepository iagentAgentUKeyRepository, IAgentConfigRepository agentConfig)
     : base(agentRepository, cacheHelper)
 {
     _cacheHelper               = cacheHelper;
     logInfo                    = LogManager.GetLogger("INFO");
     logError                   = LogManager.GetLogger("ERROR");
     _agentRepository           = agentRepository;
     _iagentAgentUKeyRepository = iagentAgentUKeyRepository;
     _agentConfig               = agentConfig;
 }