Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VEDirectDevice ¶
type VEDirectDevice struct {
// contains filtered or unexported fields
}
func NewVEDirectDevice ¶
func NewVEDirectDevice(portname string) (*VEDirectDevice, error)
func (VEDirectDevice) GetBlock ¶
func (vedev VEDirectDevice) GetBlock() VedirectBlock
type VedirectBlock ¶
type VedirectBlock struct {
Label map[string]VedirectField `json:"label"`
}
func (VedirectBlock) GetLabels ¶
func (veblock VedirectBlock) GetLabels() []string
func (VedirectBlock) ToJson ¶
func (veblock VedirectBlock) ToJson() []byte
type VedirectField ¶
type VedirectField struct { Unit string `json:"unit"` Description string `json:"description"` Value any `json:"value"` }
func (VedirectField) AsFloat ¶
func (vefield VedirectField) AsFloat() float64
Click to show internal directories.
Click to hide internal directories.