CQisMetric DataType: CQisMetric Use: To store a value that can be double (user unit) or integer (database unit) depending on the QisLib_SetVectorUnit setting. Members: DBUnits (int) : Used when QisLib_SetVectorUnit is _QISUNIT_DBU. (Database units or DBU) UserUnits (double) : Used when QisLib_SetVectorUnit is _QISUNIT_UU. (User units or UU) Notes: - Either DBUnits or UserUnits is valid at a given time but not both. - It is necessary that the user keeps track of the vector unit setting (QisLib_SetVectorUnit, which is _QISUNIT_UU by default) and accesses the correct member of a CQisMetric. Example: CQisMetric x; if(GetVectorUnit() == _QISUNIT_DBU) x.DBUnits = 10; else x.UserUnits = 10.0;References: QisLib_SetVectorUnit |