driverbox

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 30 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SerialNo = "driver-box"

网关编号

Functions

func ReadPoint added in v0.8.0

func ReadPoint(deviceId string, pointName string) error

触发某个设备点位的读取动作,指令会下发值驱动层

func RegisterPlugin

func RegisterPlugin(name string, plugin plugin.Plugin) error

func ReloadPlugins added in v0.6.0

func ReloadPlugins() error

ReloadPlugins 重载所有插件

func Start

func Start(exports []export.Export) error

func TriggerEvents added in v1.0.0

func TriggerEvents(eventCode string, key string, value interface{})

触发运行时事件

func WritePoint added in v0.8.0

func WritePoint(deviceId string, pointData plugin.PointData) error

触发某个设备点位的写入操作

func WritePoints added in v0.8.0

func WritePoints(deviceId string, pointData []plugin.PointData) error

批量写点位

Types

This section is empty.

Directories

Path Synopsis
Package config 核心配置
Package config 核心配置
pkg

Jump to

Keyboard shortcuts

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