model14

package
v0.0.0-...-1daccfa Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModelID          = 14
	ModelLabel       = "Proxy Server"
	ModelDescription = "Include this block to allow for a proxy server"
)
View Source
const (
	Addr = "Addr"
	Cap  = "Cap"
	Cfg  = "Cfg"
	Nam  = "Nam"
	Port = "Port"
	Pw   = "Pw"
	Typ  = "Typ"
	User = "User"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Block14

type Block14 struct {
	Nam  string             `sunspec:"offset=0,len=4,access=rw"`
	Cap  sunspec.Bitfield16 `sunspec:"offset=4,access=rw"`
	Cfg  sunspec.Enum16     `sunspec:"offset=5,access=rw"`
	Typ  sunspec.Bitfield16 `sunspec:"offset=6,access=rw"`
	Addr string             `sunspec:"offset=7,len=20,access=rw"`
	Port uint16             `sunspec:"offset=27,access=rw"`
	User string             `sunspec:"offset=28,len=12,access=rw"`
	Pw   string             `sunspec:"offset=40,len=12,access=rw"`
}

func (*Block14) GetId

func (block *Block14) GetId() sunspec.ModelId

Jump to

Keyboard shortcuts

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