Example #1
0
        public DVRInfoController(ICameraAppService cameraAppService, IDVRAppService dVRAppService, IConfiguration configuration)
        {
            _cameraAppService = cameraAppService;
            _dVRAppService    = dVRAppService;
            _configuration    = configuration;

            if (_httpClient == null)
            {
                _httpClient = new HttpClient();
            }
        }
Example #2
0
 public DVRInfoController(ICameraAppService cameraAppService, IDVRAppService dVRAppService, IConfiguration configuration, IAlarmAppService alarmAppService)
 {
     _cameraAppService = cameraAppService;
     _dVRAppService    = dVRAppService;
     _configuration    = configuration;
     _alarmAppService  = alarmAppService;
     if (_httpClient == null)
     {
         _httpClient = new HttpClient();
     }
     dvrurl = _configuration.GetSection("DVRInfourl:url").Value;
 }
 public ExcelInDBController(ICameraAppService cameraAppService, IDVRAppService dVRAppService)
 {
     _cameraAppService = cameraAppService;
     _dVRAppService    = dVRAppService;
 }
 public CameraController(ICameraAppService cameraAppService)
 {
     _cameraAppService = cameraAppService;
 }
Example #5
0
 public CameraController(ICameraAppService CameraAppService)
 {
     _CameraAppService = CameraAppService;
 }