|
@@ -1,5 +1,7 @@
|
|
|
package rpcs
|
|
package rpcs
|
|
|
|
|
|
|
|
|
|
+import "time"
|
|
|
|
|
+
|
|
|
// ArgsSubmitTask 任务提交参数
|
|
// ArgsSubmitTask 任务提交参数
|
|
|
type ArgsSubmitTask struct {
|
|
type ArgsSubmitTask struct {
|
|
|
Type string // 任务类型,(timer|以后扩展)
|
|
Type string // 任务类型,(timer|以后扩展)
|
|
@@ -15,13 +17,14 @@ type ArgsSubmitTaskLifecycle struct {
|
|
|
type ReplySubmitTask ReplyEmptyResult
|
|
type ReplySubmitTask ReplyEmptyResult
|
|
|
|
|
|
|
|
type ArgsSubmitSceneAction struct {
|
|
type ArgsSubmitSceneAction struct {
|
|
|
- Id string `json:"id"`
|
|
|
|
|
- Name string `json:"name"`
|
|
|
|
|
- Desc string `json:"desc"`
|
|
|
|
|
- Status int `json:"status"`
|
|
|
|
|
- Action string `json:"action"`
|
|
|
|
|
- SceneType string `json:"scene_type"`
|
|
|
|
|
- DeviceType string `json:"device_type"`
|
|
|
|
|
- Config string `json:"config"`
|
|
|
|
|
|
|
+ Id string `json:"id"`
|
|
|
|
|
+ Name string `json:"name"`
|
|
|
|
|
+ Desc string `json:"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
|
|
type ReplySubmitSceneAction ReplyEmptyResult
|