public InjectCode(ICode ecuCode) { this.ecuCode = ecuCode; searchParameterLocator = new DefaultParameterLocator(ecuCode); InitializeCodeBytes(); InitializeParameters(); }
public BranchParameter(ParameterType parameterType, ICode code, int indexInCode, int[] branchIndexesInCode, int branchOffsetInCode, ISearchParameterLocator searchParameterLocator) { if (code == null) { throw new ArgumentNullException("code"); } this.parameterType = parameterType; this.code = code; this.indexInCode = indexInCode; this.branchIndexesInCode = branchIndexesInCode; this.branchOffsetInCode = branchOffsetInCode; this.searchParameterLocator = searchParameterLocator; this.converter = new AddressValueConverter(); }
public SearchParameter(ParameterType parameterType, ICode code, int indexInCode, ISearchParameterLocator searchParameterLocator, IParameterValueConverter <InternalRepresentation, HumanRepresentation> converter) { if (code == null) { throw new ArgumentNullException("code"); } if (converter == null) { throw new ArgumentNullException("converter"); } this.parameterType = parameterType; this.code = code; this.indexInCode = indexInCode; this.searchParameterLocator = searchParameterLocator; this.converter = converter; }
public SearchParameter(ParameterType parameterType, ICode injectCode, int indexInCode, ISearchParameterLocator searchParameterLocator) : this(parameterType, injectCode, indexInCode, searchParameterLocator, new DefaultValueConverter <InternalRepresentation, HumanRepresentation>()) { }