/// <summary> /// Sets limitations on what data values are considered valid for this block type. /// </summary> /// <param name="low">The lowest valid integer value.</param> /// <param name="high">The highest valid integer value.</param> /// <param name="bitmask">A mask representing which bits are interpreted as a bitmask in the data value.</param> /// <returns>The object instance used to invoke this method.</returns> public BlockInfo SetDataLimits(int low, int high, int bitmask) { _dataLimits = new DataLimits(low, high, bitmask); return(this); }
public void AddDataLimit(double start, double stop, string name) { DataLimits.Add(new RangeDefinition(start, stop, name)); }