outputs

package
v0.0.0-...-63712e9 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// GallonsPerMin is the output type for volumetric flow rate, measured in gallons per minute.
	GallonsPerMin = output.Output{
		Name:      "gallonsPerMin",
		Type:      "flow",
		Precision: 4,
		Unit: &output.Unit{
			Name:   "gallons per minute",
			Symbol: "gpm",
		},
	}

	// InchesWaterColumn is the output type for pressure readings, measures in inches of water
	// column.
	InchesWaterColumn = output.Output{
		Name:      "inchesWaterColumn",
		Type:      "pressure",
		Precision: 8,
		Unit: &output.Unit{
			Name:   "inches of water column",
			Symbol: "inch wc",
		},
	}

	// MacAddressWide is a mac address with a full byte for each octet.
	MacAddressWide = output.Output{
		Name:      "macAddressWide",
		Type:      "macaddresswide",
		Precision: 6,
	}

	// PowerFactor is the ratio of real power to apparent power.
	PowerFactor = output.Output{
		Name:      "powerFactor",
		Type:      "powerFactor",
		Precision: 4,
	}

	// VoltAmp is apparent power.
	VoltAmp = output.Output{
		Name:      "voltamp",
		Type:      "voltamp",
		Precision: 4,
		Unit: &output.Unit{
			Name:   "volt amp",
			Symbol: "va",
		},
	}

	// VAR is reactive power.
	VAR = output.Output{
		Name:      "var",
		Type:      "var",
		Precision: 4,
		Unit: &output.Unit{
			Name:   "volt amp reactive",
			Symbol: "var",
		},
	}

	// WattHour is power over time.
	WattHour = output.Output{
		Name:      "watt-hour",
		Type:      "watt-hour",
		Precision: 4,
		Unit: &output.Unit{
			Name:   "watt hour",
			Symbol: "Wh",
		},
	}

	// Identity describes readings with identity outputs.
	// Examples are model number and serial number.
	Identity = output.Output{
		Name: "identity",
		Type: "identity",
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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