package rpcs

import "time"

// ArgsSubmitTask 任务提交参数
type ArgsSubmitTask struct {
	Type string // 任务类型，（timer|以后扩展)
	Data string // 任务配置JSON字符串
}

type ArgsSubmitTaskLifecycle struct {
	TaskId string `json:"task_id"`
	Action string `json:"action"`
	Data   string `json:"data"`
}

type ReplySubmitTask ReplyEmptyResult

type ArgsSubmitSceneAction struct {
	Id            string    `json:"id"`
	Name          string    `json:"name"`
	ConditionDesc string    `json:"condition_desc"`
	ActionDesc    string    `json:"action_desc"`
	Status        int       `json:"status"`
	Action        string    `json:"action"`
	SceneType     string    `json:"scene_type"`
	DeviceType    string    `json:"device_type"`
	Config        string    `json:"config"`
	Time          time.Time `json:"time"`
}
type ReplySubmitSceneAction ReplyEmptyResult
