Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
type Calculator ¶
type Mapper ¶
type ParallelTCP ¶
type ParallelTCP struct {
// contains filtered or unexported fields
}
ParallelTCP Modbus-TCP协议
func NewParallelTCP ¶
func NewParallelTCP(tunnel connect.Conn, opts string) *ParallelTCP
func (*ParallelTCP) OnData ¶
func (m *ParallelTCP) OnData(buf []byte)
type Product ¶
type Product struct { Id string `json:"id" xorm:"pk"` Name string `json:"name,omitempty"` //名称 Desc string `json:"desc,omitempty"` //说明 Mappers []*Mapper `json:"mappers" xorm:"json"` Filters []*Filter `json:"filters" xorm:"json"` Calculators []*Calculator `json:"calculators" xorm:"json"` Created time.Time `json:"created" xorm:"created"` //创建时间 }
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.