prts

package
v2.0.29 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ObjectProprietaryMin = 128
	MaxObjectType        = 1024
	ObjectTypeNone       = 65535 // 0xFFFFu — sentinel value defined by the BACnet spec
	ObjectTypeNoneString = "None"
)

BACnet object type range constants. Enumerated values 0-127 are reserved for definition by ASHRAE. Enumerated values 128-1023 may be used by others subject to the procedures and constraints described in Clause 23. Refer: https://github.com/bacnet-stack/bacnet-stack/blob/bacnet-stack-1.0/src/bacnet/bacenum.h#L1242-L1247

Variables

This section is empty.

Functions

func GetBACnetObjectTypeName

func GetBACnetObjectTypeName(objectType int) (string, error)

GetBACnetObjectTypeName returns the human-readable string for a BACnet object type ID.

func GetBACnetObjectTypeString added in v2.0.17

func GetBACnetObjectTypeString(objectType int) (string, error)

GetBACnetObjectTypeString returns the BACnet object type name for use in DTOs. The name is all lowercase with spaces replaced by underscores (e.g. "analog_input").

func GetBACnetPropertyString added in v2.0.17

func GetBACnetPropertyString(propertyID int) (string, error)

GetBACnetPropertyString returns the normalized name for a BACnet property ID. The name is all lowercase with underscores (e.g. "present_value").

Types

This section is empty.

Jump to

Keyboard shortcuts

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