创建检查系统计划
This commit is contained in:
@@ -90,6 +90,9 @@ func GetAllModels() []interface{} {
|
||||
|
||||
// Notification Models
|
||||
&Notification{},
|
||||
|
||||
// OTA Upgrade Models
|
||||
&OTATask{},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -20,6 +20,8 @@ const (
|
||||
PlanNamePeriodicHeartbeatCheck PlanName = "周期性心跳检测"
|
||||
// PlanNameAlarmNotification 是告警通知发送计划的名称
|
||||
PlanNameAlarmNotification PlanName = "告警通知发送"
|
||||
// PlanNameOtaCheck 是定时检查OTA升级任务的计划名称
|
||||
PlanNameOtaCheck PlanName = "定时检查OTA任务"
|
||||
)
|
||||
|
||||
// PlanExecutionType 定义了计划的执行类型
|
||||
|
||||
Reference in New Issue
Block a user