Example #1
0
 public GetU80mADCCommand(IPacketsProcessor packetsProcessor)
 {
     _packetsProcessor = packetsProcessor;
     _packetsProcessor.SetOnGetU80mADCResponse(OnGetU80mADCResponse);
 }
Example #2
0
 public GetU80mADCCommand(IPacketsProcessor packetsProcessor)
 {
     this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor));
     packetsProcessor.SetOnGetU80mADCResponse(OnGetU80mADCResponse);
 }