예제 #1
0
 public ReturnDataHis_v2(ISettings _settings
                         , BackgroundTaskQueueResult _taskQueue
                         , Connection connHis
                         , ILoggerFactory loggerFactory) : base(loggerFactory)
 {
     settings  = _settings;
     taskQueue = _taskQueue;
     _connHis  = connHis;
     logger    = loggerFactory.CreateLogger(typeof(ReturnDataHis_v2));
     His_v2    = new FPT.eHospital.LISClient.LabConnection(settings.Token, "token", settings.UrlApi, settings.BenhVien_Id, settings.UserName);
 }
예제 #2
0
 public GetResultDataeLab(ISettings _settings
                          , BackgroundTaskQueueResult _taskQueue
                          , Connection _conHis
                          , ConnectioneLab _conneLab
                          , ILoggerFactory loggerFactory) : base(loggerFactory)
 {
     settings  = _settings;
     taskQueue = _taskQueue;
     conHis    = _conHis;
     conneLab  = _conneLab;
     logger    = loggerFactory.CreateLogger(typeof(GetResultDataeLab));
 }
 public QueuedHostedServiceResult(BackgroundTaskQueueResult taskQueue, ILoggerFactory loggerFactory)
 {
     TaskQueue = taskQueue;
     _logger   = loggerFactory.CreateLogger <QueuedHostedServiceResult>();
 }