Documentation ¶
Index ¶
Constants ¶
View Source
const DataType = "data"
View Source
const EnumType = "enum"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BooleanMeasurement ¶
type BooleanMeasurement struct { Id string `json:"id"` Name string `json:"name"` Type string `json:"type"` }
func (BooleanMeasurement) GetId ¶
func (m BooleanMeasurement) GetId() string
func (BooleanMeasurement) GetName ¶
func (m BooleanMeasurement) GetName() string
func (BooleanMeasurement) GetType ¶
func (m BooleanMeasurement) GetType() string
type EnumMeasurement ¶
type EnumMeasurement struct { Id string `json:"id"` Name string `json:"name"` Type string `json:"type"` Options []string `json:"options"` }
func (EnumMeasurement) GetId ¶
func (m EnumMeasurement) GetId() string
func (EnumMeasurement) GetName ¶
func (m EnumMeasurement) GetName() string
func (EnumMeasurement) GetType ¶
func (m EnumMeasurement) GetType() string
type Measurement ¶
type NumericMeasurement ¶
type NumericMeasurement struct { Id string `json:"id"` // Remove json tags Name string `json:"name"` Type string `json:"type"` Units string `json:"units"` DisplayUnits utils.Units `json:"-"` PodUnits utils.Units `json:"-"` SafeRange []*float64 `json:"safeRange"` WarningRange []*float64 `json:"warningRange"` }
func (NumericMeasurement) GetId ¶
func (m NumericMeasurement) GetId() string
func (NumericMeasurement) GetName ¶
func (m NumericMeasurement) GetName() string
func (NumericMeasurement) GetType ¶
func (m NumericMeasurement) GetType() string
type PodData ¶
type PodData struct {
Boards []Board `json:"boards"`
}
func GetDataOnlyPodData ¶
func NewPodData ¶
type SortablePacket ¶
type SortablePacket []Packet
func (SortablePacket) Len ¶
func (packets SortablePacket) Len() int
func (SortablePacket) Less ¶
func (packets SortablePacket) Less(i, j int) bool
func (SortablePacket) Swap ¶
func (packets SortablePacket) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.