Beispiel #1
0
 public GetFoxPowerCommand(IPacketsProcessor packetsProcessor)
 {
     this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor));
     packetsProcessor.SetOnGetFoxPowerResponse(OnGetFoxPowerResponse);
 }
Beispiel #2
0
 public GetPowerCommand(IPacketsProcessor packetsProcessor)
 {
     _packetsProcessor = packetsProcessor;
     _packetsProcessor.SetOnGetFoxPowerResponse(OnGetPowerResponse);
 }