ifms_go/goadmin/auto_control/device_log.yaml

139 lines
3.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- name: DeviceRunLog
comment: 设备运行日志表
disable_pagination: false
fill_gorm_commit: true
fill_router_prefix: true
fields:
- name: DeviceID
type: string
comment: 设备ID
gorm_tag: "size:32;index"
form:
binding_tag: "required,max=32"
- name: DeviceModel
type: string
comment: 设备型号
gorm_tag: "size:64"
form:
binding_tag: "required,max=64"
- name: DeviceName
type: string
comment: 设备名称
gorm_tag: "size:64"
form:
binding_tag: "required,max=64"
- name: RelatedPondIds
type: string
comment: 关联鱼池/车间ID
gorm_tag: "type:text"
form:
binding_tag: "required"
- name: RelatedPond
type: string
comment: 关联鱼池/车间
gorm_tag: "type:text"
form:
binding_tag: "required"
- name: OperatorUserID
type: int
comment: 操作人ID
form:
binding_tag: "required"
- name: Operator
type: string
comment: 操作人
gorm_tag: "size:32"
form:
binding_tag: "required,max=32"
- name: DeviceLevel
type: string
comment: 设备档位
gorm_tag: "size:16"
form:
binding_tag: "required,max=16"
- name: OxygenContent
type: float64
comment: 溶解氧含量mg/l
gorm_tag: "type:decimal(10,2)"
form:
binding_tag: "required"
- name: DeviceStatus
type: bool
comment: 设备状态true=在线false=离线)
form:
binding_tag: "required"
- name: SwitchStatus
type: bool
comment: 开关状态true=开false=关)
form:
binding_tag: "required"
- name: Type
type: int
comment: 设备类型1增氧机、2投喂机、3水循环
form:
binding_tag: "required"
- name: DeviceControlLog
comment: 设备操作日志表
disable_pagination: false
fill_gorm_commit: true
fill_router_prefix: true
fields:
- name: DeviceID
type: string
comment: 设备ID
gorm_tag: "size:32;index"
form:
binding_tag: "required,max=32"
- name: DeviceModel
type: string
comment: 设备型号
gorm_tag: "size:64"
form:
binding_tag: "required,max=64"
- name: DeviceName
type: string
comment: 设备名称
gorm_tag: "size:64"
form:
binding_tag: "required,max=64"
- name: RelatedPondIds
type: string
comment: 关联鱼池/车间ID
gorm_tag: "type:text"
form:
binding_tag: "required"
- name: RelatedPond
type: string
comment: 关联鱼池/车间
gorm_tag: "type:text"
form:
binding_tag: "required"
- name: OperatorUserID
type: int
comment: 操作人ID
gorm_tag: "index"
form:
binding_tag: "required"
- name: Operator
type: string
comment: 操作人
gorm_tag: "size:32"
form:
binding_tag: "required,max=32"
- name: Command
type: string
comment: 下达指令
gorm_tag: "type:text"
form:
binding_tag: "required"
- name: CommandStatus
type: bool
comment: 指令状态true=成功false=失败)
form:
binding_tag: "required"
- name: Type
type: int
comment: 设备类型1增氧机、2投喂机、3水循环
form:
binding_tag: "required"