messwertstatus

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code auto-generated; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Messwertstatus

type Messwertstatus int

The Messwertstatus is the status of a meter reading

const (
	// ABGELESEN corresponds "Wahrer Wert: 220"
	ABGELESEN Messwertstatus = iota + 1

	// ERSATZWERT corresponds to"Ersatzwert: 67"
	ERSATZWERT

	// VOLAEUFIGERWERT corresponds to "Vorläufiger Wert: Z18"
	VOLAEUFIGERWERT

	// ANGABE_FUER_LIEFERSCHEIN corresponds to "Angabe für Lieferschein: Z31"
	ANGABE_FUER_LIEFERSCHEIN

	// VORSCHLAGSWERT corresponds to "Vorschlagswert: 201"
	VORSCHLAGSWERT

	// NICHT_VERWENDBAR corresponds to "Nicht verwendbarer Wert: 20"
	NICHT_VERWENDBAR

	// PROGNOSEWERT corresponds to "Prognosewert: 187"
	PROGNOSEWERT

	// ENERGIEMENGESUMMIERT corresponds to "Energiemenge summiert: 79"
	ENERGIEMENGESUMMIERT

	// FEHLT corresponds to "Fehlender Wert: Z30"
	FEHLT
)

func (Messwertstatus) MarshalJSON

func (r Messwertstatus) MarshalJSON() ([]byte, error)

MarshalJSON is generated so Messwertstatus satisfies json.Marshaler.

func (*Messwertstatus) Scan added in v0.2.3

func (r *Messwertstatus) Scan(src interface{}) error

Scan sets r to the enum value represented by src. It implements the sql.Scanner interface to be useable by sql drivers when reading from database.

func (Messwertstatus) String

func (i Messwertstatus) String() string

func (*Messwertstatus) UnmarshalJSON

func (r *Messwertstatus) UnmarshalJSON(data []byte) error

UnmarshalJSON is generated so Messwertstatus satisfies json.Unmarshaler.

func (Messwertstatus) Value added in v0.2.3

func (r Messwertstatus) Value() (driver.Value, error)

Value returns the string representation of r or an error, if no string representation exists. It implements the sql.Valuer interface to be useable by sql drivers when storing enums.

Jump to

Keyboard shortcuts

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