Documentation
¶
Index ¶
- func GetSerialNo() string
- func RegisterApi()
- func SendBatchRead(deviceId string, points []plugin.PointData) (err error)
- func SendBatchWrite(deviceId string, points []plugin.PointData) (err error)
- func SendSinglePoint(deviceId string, mode plugin.EncodeMode, pointData plugin.PointData) error
- func SetSerialNo(sn string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSerialNo ¶ added in v1.2.2
func GetSerialNo() string
func SendBatchRead ¶
批量读取多个点位值
func SendBatchWrite ¶
SendBatchWrite 发送多个点位写命令
func SendSinglePoint ¶
单点操作
func SetSerialNo ¶ added in v1.2.2
func SetSerialNo(sn string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.