feat: 自动化控制模块

This commit is contained in:
qi.zhou 2025-06-12 15:34:49 +08:00
parent 1cbedc72cb
commit bbd21b217b

View File

@ -17,7 +17,7 @@ const (
type Device struct {
ID int64 `json:"id" gorm:"primaryKey;comment:Unique ID;"` // Unique ID
TenantID string `json:"tenant_id" gorm:"size:32;"` // Tenant ID
DeviceNo string `json:"device_no" gorm:"size:32;uniqueIndex;comment:设备编号;"` // 设备编号
DeviceNo string `json:"device_no" gorm:"size:32;comment:设备编号;"` // 设备编号
Name string `json:"name" gorm:"size:64;comment:设备名称;"` // 设备名称
Type int `json:"type" gorm:"comment:设备类型1增氧机、2投喂机、3水循环;"` // 设备类型1增氧机、2投喂机、3水循环
Status bool `json:"status" gorm:"comment:设备状态true=在线false=离线);"` // 设备状态true=在线false=离线)