常用方法
常用方法
常用方法
Related in langs
常用方法
public GetU80mADCCommand(IPacketsProcessor packetsProcessor) { _packetsProcessor = packetsProcessor; _packetsProcessor.SetOnGetU80mADCResponse(OnGetU80mADCResponse); }
public GetU80mADCCommand(IPacketsProcessor packetsProcessor) { this.packetsProcessor = packetsProcessor ?? throw new ArgumentNullException(nameof(packetsProcessor)); packetsProcessor.SetOnGetU80mADCResponse(OnGetU80mADCResponse); }