do

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceCategoryData

type DeviceCategoryData struct {
	g.Meta     `orm:"table: device_category_data, do:true"`
	Id         interface{} // 主键
	CategoryId interface{} // 数据类别主键
	DeviceId   interface{} // 设备主键
	DataInt    interface{} // int型数据
	DataStr    interface{} // 字符串型数据
	DataDouble interface{} // double型数据
	CreatedAt  *gtime.Time // 创建时间
}

DeviceCategoryData is the golang structure for table device_category_data.

type DeviceCategoty

type DeviceCategoty struct {
	g.Meta    `orm:"table: device_categoty, do:true"`
	Id        interface{} // 主键
	KindId    interface{} // 数据模板的主键
	Name      interface{} // 数据名称
	Mark      interface{} // 数据标识
	DataType  interface{} // 数据类型
	Unit      interface{} // 数据单位
	Ratio     interface{} // 变比系数
	Format    interface{} // 格式化显示
	HomeShow  interface{} // 首页是否展示
	Remark    interface{} // 备注
	CreatedAt *gtime.Time // 创建时间
	UpdatedAt *gtime.Time // 修改时间
}

DeviceCategoty is the golang structure for table device_categoty.

type DeviceGroup

type DeviceGroup struct {
	g.Meta    `orm:"table: device_group, do:true"`
	Id        interface{} // 主键
	Name      interface{} // 组名
	CreatedAt *gtime.Time // 创建时间
	UpdatedAt *gtime.Time // 修改时间
}

DeviceGroup is the golang structure for table device_group.

type DeviceInfo

type DeviceInfo struct {
	g.Meta    `orm:"table: device_info, do:true"`
	Id        interface{} // 主键
	Name      interface{} // 设备名称
	Group     interface{} // 设备组
	Sn        interface{} // SN
	Pwd       interface{} // 密码
	Kind      interface{} // 设备类别
	Monitor   interface{} // 是否监视
	Location  interface{} // 地理位置
	CreatedAt *gtime.Time // 创建时间
	UpdatedAt *gtime.Time // 修改时间
}

DeviceInfo is the golang structure for table device_info.

type DeviceKind

type DeviceKind struct {
	g.Meta    `orm:"table: device_kind, do:true"`
	Id        interface{} // 设备种类主键
	Name      interface{} // 设备种类名称
	Mark      interface{} // 设备名称标记
	TimeOut   interface{} // 超时时间
	CreatedAt *gtime.Time // 创建时间
	UpdatedAt *gtime.Time // 修改时间
}

DeviceKind is the golang structure for table device_kind.

type DeviceLabel

type DeviceLabel struct {
	g.Meta    `orm:"table: device_label, do:true"`
	Id        interface{} // 主键
	Name      interface{} // 标签内容
	CreatedAt *gtime.Time // 创建时间
	UpdatedAt *gtime.Time // 修改时间
}

DeviceLabel is the golang structure for table device_label.

type DeviceLabelData

type DeviceLabelData struct {
	g.Meta   `orm:"table: device_label_data, do:true"`
	Id       interface{} // 主键
	LabelId  interface{} // 标签主键
	DeviceId interface{} // 设备主键
}

DeviceLabelData is the golang structure for table device_label_data.

type DeviceStatus

type DeviceStatus struct {
	g.Meta             `orm:"table: device_status, do:true"`
	Id                 interface{} // 主键
	DeviceId           interface{} // 设备ID
	Status             interface{} // 状态
	TimeOut            interface{} // 超时时间
	UpTime             interface{} // 上线时间
	DownTime           interface{} // 离线时间
	LastDataUpdateTime interface{} // 最新一次数据更新时间
}

DeviceStatus is the golang structure for table device_status.

Jump to

Keyboard shortcuts

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