public GetDacChannelDataSourceCommand( IDenseDacEvalBoard evalBoard, IReadbackABSelectRegisters readbackABSelectRegisterCommand = null, ILockFactory lockFactory = null ) { _readbackABSelectRegisterCommand = readbackABSelectRegisterCommand ?? new ReadbackABSelectRegisterCommand(evalBoard); _lockFactory = lockFactory ?? new LockFactory(); }
public SetDacChannelDataSourceInternalCommand( IDenseDacEvalBoard evalBoard, IReadbackABSelectRegisters readbackABSelectRegisterCommand = null, ISendSpecialFunction sendSpecialFunctionCommand = null, ILockFactory lockFactory = null ) { _evalBoard = evalBoard; _readbackABSelectRegisterCommand = readbackABSelectRegisterCommand ?? new ReadbackABSelectRegisterCommand(evalBoard, _sendSpecialFunctionCommand); _sendSpecialFunctionCommand = sendSpecialFunctionCommand ?? new SendSpecialFunctionCommand(evalBoard); _lockFactory = lockFactory ?? new LockFactory(); }