QuantityInfo Class
Attributes
ParamType
(read-only string)FullUnitType
(read-only string)
Constructors
QuantityInfo(string paramType)
QuantityInfo(string paramType, string fullUnitType)
Parameters
- paramType can be one of the
Constants:
kDoubleParamStr
kComplexParamStr
fullUnitType
is a case insensitive string representing full unit type. It is not defined inConstants
. Instead, you can use any of the units in string representation - for example, "mm" or"ghz".
Example:
quantityInfo1 = QuantityInfo(Constants.kDoubleParamStr)
quantityInfo2 = QuantityInfo(Constants.kDoubleParamStr,"ghz")