优化逻辑
This commit is contained in:
@@ -9,14 +9,17 @@ const (
|
||||
WaitRelay
|
||||
WaitWeb
|
||||
WaitPJLink
|
||||
WaitLaserShow
|
||||
)
|
||||
|
||||
type WaitItemModel struct {
|
||||
Cron string `json:"cron"`
|
||||
Type WaitType `json:"type"`
|
||||
Data string `json:"data"`
|
||||
Interval int64 `json:"interval"`
|
||||
Pause bool `json:"pause"`
|
||||
Cron string `json:"cron"` // 时间规则
|
||||
Type WaitType `json:"type"` // 类型
|
||||
Data string `json:"data"` // 执行数据
|
||||
Duration int64 `json:"duration"` // 持续时长
|
||||
Interval int64 `json:"interval"` // 间隔时间
|
||||
Pause bool `json:"pause"` // 是否暂停
|
||||
Lock bool `json:"lock"` // 是否锁定
|
||||
}
|
||||
|
||||
type WaitModel struct {
|
||||
|
||||
Reference in New Issue
Block a user