2019-06-21 11:37:29 +00:00
|
|
|
package logfile
|
|
|
|
|
2019-07-03 16:46:19 +00:00
|
|
|
import (
|
|
|
|
"encoding/xml"
|
|
|
|
|
|
|
|
"github.com/go-flucky/flucky/pkg/types"
|
|
|
|
)
|
|
|
|
|
2019-07-14 17:06:26 +00:00
|
|
|
// MeasuredValues is an XML Wrapper for an array of measured values
|
2019-07-03 16:46:19 +00:00
|
|
|
type MeasuredValues struct {
|
|
|
|
XMLName xml.Name `xml:"measured_values"`
|
|
|
|
MeasuredValues []*MeasuredValue `xml:"measured_value"`
|
|
|
|
}
|
|
|
|
|
2019-07-14 17:06:26 +00:00
|
|
|
// MeasuredValue is an XML Wrapper for the original measured value struct
|
2019-07-03 16:46:19 +00:00
|
|
|
type MeasuredValue struct {
|
|
|
|
XMLName xml.Name `xml:"measured_value"`
|
|
|
|
*types.MeasuredValue
|
|
|
|
}
|