1234567891011121314151617181920212223242526272829303132333435363738 |
- package rpcs
- import (
- "sparrow/pkg/protocol"
- )
- type ArgsSetStatus struct {
- DeviceId string
- Status []protocol.SubData
- }
- type ReplySetStatus ReplyEmptyResult
- type ArgsGetStatus struct {
- Id string
- VendorId string
- SubDeviceId string
- }
- type ReplyGetStatus struct {
- Status []protocol.SubData
- }
- type ArgsSendCommand struct {
- DeviceId string
- SubDevice string
- Cmd string
- WaitTime uint32
- Params map[string]interface{}
- }
- type ReplySendCommand ReplyEmptyResult
- type ArgsDeviceUpgrade struct {
- DeviceId string
- SudDeviceId string
- Url string
- Md5 string
- Version string
- FileSize int64
- }
|