public DeviceStateActor(
     ILogger logger,
     UpdateDeviceState updateDeviceStateLogic)
 {
     this.log = logger;
     this.updateDeviceStateLogic = updateDeviceStateLogic;
     this.status = ActorStatus.None;
     this.simulationErrorsCount = 0;
 }
 public DeviceStateActor(
     UpdateDeviceState updateDeviceStateLogic,
     ILogger logger,
     IInstance instance)
 {
     this.updateDeviceStateLogic = updateDeviceStateLogic;
     this.log      = logger;
     this.instance = instance;
     this.status   = ActorStatus.None;
     this.simulationErrorsCount = 0;
 }