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()
IMetricLocalSetValue
getBytes
in interface IMetricLocalSetValue
public String getDisplayableValue()
IKlvValue
getDisplayableValue
in interface IKlvValue
public final String getDisplayName()
IKlvValue
getDisplayName
in interface IKlvValue
public String getParameters()
Copyright © 2022 West Ridge Systems. All rights reserved.