CHNum

package
v0.0.0-...-ae4999c Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	AI       int
	DI       int
	DO       int
	AO       int
	VO       int
	TimeUsed time.Duration
	// contains filtered or unexported fields
}

func New

func New() *Data

func (*Data) Clone

func (ch *Data) Clone() *Data

func (*Data) FetchData

func (ch *Data) FetchData(conn modbus.Client) (retErr error)

func (*Data) Release

func (ch *Data) Release()

func (*Data) Sum

func (ch *Data) Sum() int

Jump to

Keyboard shortcuts

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