controller.go 408 B

123456789101112131415161718192021222324
  1. package rpcs
  2. import (
  3. "sparrow/pkg/klink"
  4. )
  5. type ArgsOnStatus struct {
  6. DeviceId string
  7. Timestamp uint64
  8. SubData []byte
  9. VendorId string
  10. Action klink.PacketAction
  11. SubDeviceId string
  12. }
  13. type ReplyOnStatus ReplyEmptyResult
  14. type ArgsOnEvent struct {
  15. VendorId string
  16. DeviceId string
  17. TimeStamp uint64
  18. SubDeviceId string
  19. SubData []byte
  20. }
  21. type ReplyOnEvent ReplyEmptyResult