device_service.proto 951 B

1234567891011121314151617181920212223242526
  1. syntax = "proto3";
  2. import "v1/device.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-household-gateway/pb";
  7. // The system service definition.
  8. service Device {
  9. // 门禁列表
  10. rpc GateList(pb_v1.GateListRequest) returns (pb_v1.GateListReply){}
  11. rpc GateVisitorDel(pb_v1.GateVisitorDelRequest) returns (pb_v1.GateVisitorDelReply){}
  12. rpc GateVisitorList(pb_v1.GateVisitorListRequest) returns (pb_v1.GateVisitorListReply){}
  13. // 门禁人脸申请
  14. rpc GateUserPicAdd(pb_v1.GateUserPicAddRequest) returns (pb_v1.GateUserPicAddReply){}
  15. // 获取人脸录入信息
  16. rpc GateUserPicInfo(pb_v1.GateUserPicInfoRequest) returns (pb_v1.GateUserPicInfoReply){}
  17. // 获取绑定了某单元的门禁列表
  18. rpc GateUnitDevice(pb_v1.GateUnitDeviceRequest) returns (pb_v1.GateUnitDeviceReply){}
  19. }