zaehlertyp

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 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 Zaehlertyp

type Zaehlertyp int

Zaehlertyp contains different types of meters for power and gas

const (
	// DREHSTROMZAEHLER is a polyphase meter
	DREHSTROMZAEHLER      Zaehlertyp = iota + 1
	BALGENGASZAEHLER                 // Balgengaszähler
	DREHKOLBENZAEHLER                // Drehkolbengaszähler
	SMARTMETER                       // Smart Meter Zähler
	LEISTUNGSZAEHLER                 // leistungsmessender Zähler
	MAXIMUMZAEHLER                   // Maximumzähler
	TURBINENRADGASZAEHLER            // Turbinenradgaszähler
	ULTRASCHALLGASZAEHLER            // Ultraschallgaszähler
	WECHSELSTROMZAEHLER              // Wechselstromzähler
	WIRBELGASZAEHLER
	MESSDATENREGISTRIERGERAET
	ELEKTRONISCHERHAUSHALTSZAEHLER
	SONDERAUSSTATTUNG
	WASSERZAEHLER
	MODERNEMESSEINRICHTUNG
	NEUEMESSEINRICHTUNGGAS
)

func (Zaehlertyp) MarshalJSON

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

MarshalJSON is generated so Zaehlertyp satisfies json.Marshaler.

func (*Zaehlertyp) Scan added in v0.2.3

func (r *Zaehlertyp) 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 (Zaehlertyp) String

func (i Zaehlertyp) String() string

func (*Zaehlertyp) UnmarshalJSON

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

UnmarshalJSON is generated so Zaehlertyp satisfies json.Unmarshaler.

func (Zaehlertyp) Value added in v0.2.3

func (r Zaehlertyp) 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