model

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Eq2MqCmd

type Eq2MqCmd struct {
	Sn      string                 `json:"sn"`      // 设备唯一编码
	Content map[string]interface{} `json:"content"` // 带具体参数
}

Eq2MqCmd 下发指令

type Eq2MqHeartbeat

type Eq2MqHeartbeat struct {
	Sn        string `json:"sn"`        // 设备唯一编码
	Product   string `json:"product"`   // 产品key
	Heartbeat int64  `json:"heartbeat"` // 心跳,单位[秒]
}

Eq2MqHeartbeat 心跳

type Eq2MqLog

type Eq2MqLog struct {
	Sn       string                 `json:"sn"`       // 设备唯一编码
	Product  string                 `json:"product"`  // 产品key
	Protocol int64                  `json:"protocol"` // 协议
	Status   int64                  `json:"status"`   // 设备状态
	Content  map[string]interface{} `json:"content"`  // 带具体参数
	Title    string                 `json:"title"`    // 推送等标题
	Link     bool                   `json:"link"`     // 连接
}

Eq2MqLog 日志

type Eq2MqThreshold

type Eq2MqThreshold struct {
	Sn      string                 `json:"sn"`      // 设备唯一编码
	Content map[string]interface{} `json:"content"` // 带具体参数
}

Eq2MqThreshold 设置阈值

Jump to

Keyboard shortcuts

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