public class MetricParameters extends Object implements IMetricLocalSetValue
From ST 1108.3:
Metric Parameters optional item is a user-defined string for specifying any unique conditions used in the computation. For example, within the period of calculation are all Frames used and averaged, are several Frames skipped, etc. This information ensures repeatable calculations, or the same process applied downstream for like-metric comparisons.
| Constructor and Description |
|---|
MetricParameters(byte[] bytes)
Create from encoded bytes.
|
MetricParameters(String metricParameters)
Create from value.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Get the encoded bytes.
|
String |
getDisplayableValue()
Return a string of the displayable value.
|
String |
getDisplayName()
Get the human-readable name for the value.
|
String |
getParameters()
Get the parameters of this metric.
|
public MetricParameters(String metricParameters)
metricParameters - the parameters for the metric calculation process.public MetricParameters(byte[] bytes)
bytes - Byte array of the metric parameters encoded in UTF-8.public byte[] getBytes()
IMetricLocalSetValuegetBytes in interface IMetricLocalSetValuepublic String getDisplayableValue()
IKlvValuegetDisplayableValue in interface IKlvValuepublic final String getDisplayName()
IKlvValuegetDisplayName in interface IKlvValuepublic String getParameters()
Copyright © 2022 West Ridge Systems. All rights reserved.