public DVRInfoController(ICameraAppService cameraAppService, IDVRAppService dVRAppService, IConfiguration configuration) { _cameraAppService = cameraAppService; _dVRAppService = dVRAppService; _configuration = configuration; if (_httpClient == null) { _httpClient = new HttpClient(); } }
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 DVRController(IDVRAppService dVRAppService) { _dVRAppService = dVRAppService; }
public ExcelInDBController(ICameraAppService cameraAppService, IDVRAppService dVRAppService) { _cameraAppService = cameraAppService; _dVRAppService = dVRAppService; }