Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Products lib.Map[Product]
Functions ¶
func LoadProduct ¶
func LoadProducts ¶
func LoadProducts() error
Types ¶
type Messenger ¶
func (*Messenger) AskAtLeast ¶
type ParallelTCP ¶
type ParallelTCP struct {
// contains filtered or unexported fields
}
ParallelTCP Modbus-TCP协议
func NewParallelTCP ¶
func NewParallelTCP(tunnel define.Conn, opts string) *ParallelTCP
func (*ParallelTCP) OnData ¶
func (m *ParallelTCP) OnData(buf []byte)
type Product ¶ added in v1.0.5
func GetProduct ¶
type RTU ¶
type RTU struct {
// contains filtered or unexported fields
}
RTU Modbus-RTU协议
Click to show internal directories.
Click to hide internal directories.