calibration

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2017 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatum

func NewDatum() data.Datum

func SubType

func SubType() string

Types

type Calibration

type Calibration struct {
	device.Device `bson:",inline"`

	Value *float64 `json:"value,omitempty" bson:"value,omitempty"`
	Units *string  `json:"units,omitempty" bson:"units,omitempty"`
}

func Init

func Init() *Calibration

func New

func New() *Calibration

func (*Calibration) Init

func (c *Calibration) Init()

func (*Calibration) Normalize

func (c *Calibration) Normalize(normalizer data.Normalizer) error

func (*Calibration) Parse

func (c *Calibration) Parse(parser data.ObjectParser) error

func (*Calibration) Validate

func (c *Calibration) Validate(validator data.Validator) error

Jump to

Keyboard shortcuts

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