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