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