models

package
v0.0.0-...-0b3c072 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BooleanValue

type BooleanValue bool

func (BooleanValue) Kind

func (boolean BooleanValue) Kind() string

type EnumValue

type EnumValue string

func (EnumValue) Kind

func (enum EnumValue) Kind() string

type NumericValue

type NumericValue struct {
	Value   float64 `json:"last"`
	Average float64 `json:"average"`
}

func (NumericValue) Kind

func (numeric NumericValue) Kind() string

type Update

type Update struct {
	Id        uint16                 `json:"id"`
	HexValue  string                 `json:"hexValue"`
	Count     uint64                 `json:"count"`
	CycleTime uint64                 `json:"cycleTime"`
	Values    map[string]UpdateValue `json:"measurementUpdates"`
}

type UpdateValue

type UpdateValue interface {
	Kind() string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL