public DeviceUpdateProcess() { _redisClient = RedisClient.DefaultDB; _deviceService = AhnqIotContainer.Container.Resolve <IDeviceService>(); _deviceTypeService = AhnqIotContainer.Container.Resolve <IDeviceTypeService>(); _deviceExceptionSet = AhnqIotContainer.Container.Resolve <IDeviceExceptionSetService>(); }
static ManageDataProcessor() { _facilityCameraService = AhnqIotContainer.Container.Resolve <IFacilityCameraService>(); _deviceService = AhnqIotContainer.Container.Resolve <IDeviceService>(); _deviceExceptionSetService = AhnqIotContainer.Container.Resolve <IDeviceExceptionSetService>(); _facilityService = AhnqIotContainer.Container.Resolve <IFacilityService>(); _redis = new RedisClient(); }
public DeviceAddProcess() { _redisClient = RedisClient.DefaultDB; _deviceService = AhnqIotContainer.Container.Resolve <IDeviceService>(); _deviceTypeService = AhnqIotContainer.Container.Resolve <IDeviceTypeService>(); _deviceExceptionSet = AhnqIotContainer.Container.Resolve <IDeviceExceptionSetService>(); _farmService = AhnqIotContainer.Container.Resolve <IFarmService>(); _facilityService = AhnqIotContainer.Container.Resolve <IFacilityService>(); }
public DataInfoJob() { JobName = "设备历史记录处理"; Period = 60; _redisClient = RedisClient.DefaultDB; _deviceDataInfoService = AhnqIotContainer.Container.Resolve <IDeviceDataInfoService>(); _deviceExceptionSetService = AhnqIotContainer.Container.Resolve <IDeviceExceptionSetService>(); }