public SetFoxPowerCommand(IPacketsProcessor packetsProcessor) { this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor)); packetsProcessor.SetOnSetFoxPowerResponse(OnSetFoxPowerResponse); }
public SetPowerCommand(IPacketsProcessor packetsProcessor) { _packetsProcessor = packetsProcessor; _packetsProcessor.SetOnSetFoxPowerResponse(OnSetPowerResponse); }