models

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIConfig

type APIConfig struct {
	Key    string        `json:"key"`
	Config config.Config `json:"config"`
	Script string        `json:"script"`
}

APIConfig restful API request body

type PointValue

type PointValue struct {
	// PointName 点位名称
	PointName string `json:"pointName"`
	// Value 点位值
	Value interface{} `json:"value"`
	//模型名称,某些驱动解析需要根据模型作区分
	ModelName string `json:"modelName"`
	//前置操作,例如空开要先解锁,空调要先开机
	PreOp []PointValue `json:"preOp"`
}

Jump to

Keyboard shortcuts

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