controller.go 375 B

1234567891011121314151617181920212223
  1. package rpcs
  2. import (
  3. "sparrow/pkg/protocol"
  4. "sparrow/pkg/tlv"
  5. )
  6. type ArgsOnStatus struct {
  7. DeviceId uint64
  8. Timestamp uint64
  9. Subdata []protocol.SubData
  10. }
  11. type ReplyOnStatus ReplyEmptyResult
  12. type ArgsOnEvent struct {
  13. DeviceId uint64
  14. TimeStamp uint64
  15. SubDevice uint16
  16. No uint16
  17. Priority uint16
  18. Params []tlv.TLV
  19. }
  20. type ReplyOnEvent ReplyEmptyResult