Base interface for everything what is a kind of value object.
interface IValue : IDatabaseItem
{
HRESULT
Value([out, retval] VARIANT*);
HRESULT
Value([in] VARIANT vVal);
HRESULT
Minimum([out, retval] IAttribute**);
HRESULT
Maximum([out, retval] IAttribute**);
HRESULT
Unit([out, retval] IAttribute**);
HRESULT
Asynchron([out, retval] VARIANT_BOOL*);
HRESULT
Factor([out, retval]
double*);
HRESULT
Factor([in]
double newVal);
HRESULT
Offset([out, retval]
double*);
HRESULT
Offset([in]
double newVal);
HRESULT
ValueRaw([out, retval]
double*);
};
Definition at line 1658 of file cand_tlb.idl.
◆ Asynchron
VARIANT_BOOL CanEasy::IValue::Asynchron |
|
getset |
True if value change events are notified asynchrony (default)
◆ Conversion
Conversion to convert raw value into physical value
◆ DataChangeEvents
VARIANT_BOOL CanEasy::IValue::DataChangeEvents |
|
getset |
Activates database change events. If true the class notifies events on each value change.
◆ DecimalPlaces
Decimal places (attribute reference)
◆ DisplayType
Display type (attribute reference)
◆ DisplayTypeEnum
Display type of this value (checkbox, slider, edit, combobox)
◆ DisplayValueType
Display value type (attribute reference)
◆ Factor
double CanEasy::IValue::Factor |
|
getset |
Factor for the conversion from raw value into physical value
◆ Maximum
Maximum value (attribute reference)
◆ MaxValueDouble
double CanEasy::IValue::MaxValueDouble |
|
getset |
◆ MaxValueInt64
INT64 CanEasy::IValue::MaxValueInt64 |
|
getset |
◆ MaxValuePhys
double CanEasy::IValue::MaxValuePhys |
|
getset |
Physical maximum value as double
◆ MaxValueRaw
double CanEasy::IValue::MaxValueRaw |
|
getset |
Maximum raw value as int64
◆ MaxValueRaw64
INT64 CanEasy::IValue::MaxValueRaw64 |
|
getset |
Maximum raw value as int64
◆ Minimum
Minimum value (attribute reference)
◆ MinValueInt64
INT64 CanEasy::IValue::MinValueInt64 |
|
getset |
◆ MinValuePhys
double CanEasy::IValue::MinValuePhys |
|
getset |
Physical minimum value as double
◆ MinValueRaw
double CanEasy::IValue::MinValueRaw |
|
getset |
Minimum raw value as int64
◆ MinValueRaw64
INT64 CanEasy::IValue::MinValueRaw64 |
|
getset |
Minimum raw value as int64
◆ Offset
double CanEasy::IValue::Offset |
|
getset |
Offset for the conversion from raw value into physical value
◆ StartValue
Start value (attribute reference)
◆ StartValueActive
True if start value is active. If start value is not active it gets not written as value on simulation start.
◆ Unit
Unit (attribute reference)
◆ Value
VARIANT CanEasy::IValue::Value |
|
getset |
Value of this item as VARIANT
◆ ValueConversion
Value conversion (signed, unsigned)
◆ ValueDouble
double CanEasy::IValue::ValueDouble |
|
getset |
◆ ValueInt64
INT64 CanEasy::IValue::ValueInt64 |
|
getset |
◆ ValueObject
IValue CanEasy::IValue::ValueObject |
|
set |
Replaces the internal database reference
◆ ValuePhys
double CanEasy::IValue::ValuePhys |
|
getset |
◆ ValueRaw
double CanEasy::IValue::ValueRaw |
|
getset |
◆ ValueRaw64
INT64 CanEasy::IValue::ValueRaw64 |
|
getset |
◆ ValueString
BSTR CanEasy::IValue::ValueString |
|
getset |
◆ ValueTable
Valuetable to convert raw value into text
◆ ValueType
Type of value (int, double, ...)