| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- package rpcs
- import (
- "sparrow/pkg/models"
- )
- // ArgsDeviceCommandQuery 设备指令查询参数
- type ArgsDeviceCommandQuery struct {
- DeviceTypeId string
- Pi int
- Ps int
- Name string
- }
- // ReplyDeviceCommandList 设备指令列表响应
- type ReplyDeviceCommandList struct {
- Total int
- List []models.DeviceCommand
- }
- // ArgsDeviceStatusQuery 设备状态查询参数
- type ArgsDeviceStatusQuery struct {
- DeviceTypeId string
- Pi int
- Ps int
- Name string
- }
- // ReplyDeviceStatusList 设备状态列表响应
- type ReplyDeviceStatusList struct {
- Total int
- List []models.DeviceStatus
- }
- // ArgsSceneHisQuery 场景执行历史查询参数
- type ArgsSceneHisQuery struct {
- SceneId string
- Pi int
- Ps int
- }
- // ReplySceneHisList 场景执行历史列表响应
- type ReplySceneHisList struct {
- Total int
- List []models.SceneHis
- }
|