static ControlDataProcessor() { _deviceControlCommandService = AhnqIotContainer.Container.Resolve <IDeviceControlCommandService>(); _deviceService = AhnqIotContainer.Container.Resolve <IDeviceService>(); _deviceControlLogService = AhnqIotContainer.Container.Resolve <IDeviceControlLogService>(); _redis = new RedisClient(); }
public ControlQueryProcess() { _controlCommandService = AhnqIotContainer.Container.Resolve <IDeviceControlCommandService>(); _deviceService = AhnqIotContainer.Container.Resolve <IDeviceService>(); }