Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| df5fb556a0 | |||
| 6a25b6acc7 |
@@ -127,7 +127,6 @@ type AutomationCondition struct {
|
||||
}
|
||||
|
||||
// 自动化动作
|
||||
|
||||
type AutomationAction struct {
|
||||
Id uint32 `json:"id"` // ID
|
||||
Type uint8 `json:"type"` // 类型
|
||||
@@ -148,9 +147,10 @@ type AutomationTask struct {
|
||||
PeriodBeginTime *string `json:"period_begin_time,omitempty"` // 时段开始时间
|
||||
PeriodEndTime *string `json:"period_end_time,omitempty"` // 时段结束时间
|
||||
RepeatType uint8 `json:"repeat_type"` // 重复类型
|
||||
CustomRepeatRange *[]uint8 `json:"custom_repeat_range,omitempty"` // 自定义重复范围
|
||||
CustomRepeatRange []uint8 `json:"custom_repeat_range"` // 自定义重复范围
|
||||
IsSatisfyAll uint8 `json:"is_satisfy_all"` // 是否要满足所有条件
|
||||
ConditionList []AutomationCondition `json:"condition_list"` // 条件列表
|
||||
EventConditionList []AutomationCondition `json:"event_condition_list"` // 事件条件列表
|
||||
StatusConditionList []AutomationCondition `json:"status_condition_list"` // 事件条件列表
|
||||
ActionList []AutomationAction `json:"action_list"` // 动作列表
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user