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