public GetUBattVoltsCommand(IPacketsProcessor packetsProcessor) { this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor)); packetsProcessor.SetOnGetUBattVoltsResponse(OnGetUBattVoltsResponse); }
public GetUbattVoltsCommand(IPacketsProcessor packetsProcessor) { _packetsProcessor = packetsProcessor; _packetsProcessor.SetOnGetUBattVoltsResponse(OnGetUBattVoltsResponse); }