Exemplo n.º 1
0
 public GetUBattVoltsCommand(IPacketsProcessor packetsProcessor)
 {
     this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor));
     packetsProcessor.SetOnGetUBattVoltsResponse(OnGetUBattVoltsResponse);
 }
Exemplo n.º 2
0
 public GetUbattVoltsCommand(IPacketsProcessor packetsProcessor)
 {
     _packetsProcessor = packetsProcessor;
     _packetsProcessor.SetOnGetUBattVoltsResponse(OnGetUBattVoltsResponse);
 }