|
OpenTAP 9.31
API Reference
|
Identifies that units should be assigned to a property. More...
Public Member Functions | |
| UnitAttribute (string Unit, bool UseEngineeringPrefix=false, string StringFormat="", bool UseRanges=true, double PreScaling=1.0) | |
| Constructor for UnitAttribute. More... | |
Properties | |
| string | Unit [getprotected set] |
| The unit e.g "Hz". | |
| bool | UseEngineeringPrefix [getprotected set] |
| Whether to use engineering prefix. E.g 1000000 Hz -> 1 MHz | |
| double | PreScaling [getprotected set] |
| Pre scaling of values. | |
| string | StringFormat [getprotected set] |
| The format argument to string.Format. | |
| bool | UseRanges [getprotected set] |
| Whether to use ranges to show arrays of numbers. For example, show 1, 2, 3, 4 as 1 : 4. | |
Properties inherited from OpenTap.IParameter | |
| string | Group [get] |
| Optional name of the group of parameters to which this parameter belongs. | |
| IConvertible | Value [get] |
| Value of this parameter. | |
Properties inherited from OpenTap.IAttributedObject | |
| string | Name [get] |
| Name of this object. | |
| string | ObjectType [get] |
| String describing this object. | |
Identifies that units should be assigned to a property.
|
inline |
Constructor for UnitAttribute.
| Unit | The unit e.g "Hz". |
| UseEngineeringPrefix | Whether to use engineering prefix. E.g 1000000 Hz -> 1 MHz. |
| StringFormat | The format argument to string.Format. |
| UseRanges | Whether to use ranges to show arrays of numbers. For example, show 1, 2, 3, 4 as 1 : 4. |
| PreScaling | Pre scaling of values. |
OpenTAP 9.31 API built Fri Oct 17 2025 07:12:37