MeasurementData Class¶
Namespace: id3.Devices
Definition¶
Manages a collection of measurement data, allowing for the storage and retrieval of measurements in various data types.
This class supports operations to set and get measurement values, facilitating the handling of diverse measurement metrics within applications.
class MeasurementData
class MeasurementData implements Finalizable
public partial class MeasurementData
public class MeasurementData implements AutoCloseable, Serializable
typedef struct id3DevicesMeasurementData *ID3_DEVICES_MEASUREMENT_DATA;
Usage¶
measurementDataInstance = MeasurementData()
# ...
Explicit destruction
# ...
del measurementDataInstance
final measurementDataInstance = sdk.MeasurementData();
// ...
Explicit destruction
// ...
measurementDataInstance.dispose()
using (var measurementDataInstance = new MeasurementData())
{
// ...
}
Explicit destruction
var measurementDataInstance = new MeasurementData()
// ...
measurementDataInstance.Dispose()
try (MeasurementData measurementDataInstance = new MeasurementData()) {
// ...
}
Explicit destruction
MeasurementData measurementDataInstance = new MeasurementData();
// ...
measurementDataInstance.close();
ID3_DEVICES_MEASUREMENT_DATA hMeasurementData{};
int err = id3DevicesMeasurementData_Initialize(&hMeasurementData);
if (err == ID3_SUCCESS) {
// ...
id3DevicesMeasurementData_Dispose(&hMeasurementData);
}
Methods¶
Name |
Description |
---|---|
Retrieves a floating-point measurement value by its name |
|
Retrieves an integer measurement value by its name |
|
(C++) Stores a floating-point measurement value associated with a specified measurement name |
|
(C++) Stores an integer measurement value associated with a specified measurement name |