controller.go 522 B

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