123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- syntax = "proto3";
- import "v1/device.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb.service;
- // 用于生成指定语言go的包名称
- option go_package = "property-system-gateway/pb";
- // The system service definition.
- service Device {
- // 门禁在线
- rpc GateOnline(pb_v1.GateOnlineRequest) returns (pb_v1.GateOnlineReply){}
- // 门禁入库
- rpc GateIn(pb_v1.GateInRequest) returns (pb_v1.GateInReply){}
- // 门禁批量入库
- rpc GateBatchIn(pb_v1.GateBatchInRequest) returns (pb_v1.GateBatchInReply){}
- // 门禁列表
- rpc GateList(pb_v1.GateListRequest) returns (pb_v1.GateListReply){}
- // 人脸门禁所有id
- rpc MqttFaceGate(pb_v1.MqttFaceGateRequest) returns (pb_v1.MqttFaceGateReply){}
- // 门禁出库
- rpc GateOut(pb_v1.GateOutRequest) returns (pb_v1.GateOutReply){}
- // 删除门禁
- rpc GateDel(pb_v1.GateDelRequest) returns (pb_v1.GateDelReply){}
- // 门禁回收
- rpc GateRecovery(pb_v1.GateRecoveryRequest) returns (pb_v1.GateRecoveryReply){}
- // 门禁起停用
- rpc GateEnable(pb_v1.GateEnableRequest) returns (pb_v1.GateEnableReply){}
- // 设置门禁位置和进场出场
- rpc GateSet(pb_v1.GateSetRequest) returns (pb_v1.GateSetReply){}
- // 添加门禁卡号
- rpc GateCardAdd(pb_v1.GateCardAddRequest) returns (pb_v1.GateCardAddReply){}
- rpc GateCardDel(pb_v1.GateCardDelRequest) returns (pb_v1.GateCardDelReply){}
- // 门禁卡列表
- rpc GateCardList(pb_v1.GateCardListRequest) returns (pb_v1.GateCardListReply){}
- // 门禁卡下发
- rpc GateCardSync(pb_v1.GateCardSyncRequest) returns (pb_v1.GateCardSyncReply){}
- // 获取卡还可以绑定的设备
- rpc GateCardCanBindDevices(pb_v1.GateCardCanBindDevicesRequest) returns (pb_v1.GateCardCanBindDevicesReply){}
- // 获取门禁远程命令
- rpc GateCommandUse(pb_v1.GateCommandUseRequest) returns (pb_v1.GateCommandUseReply){}
- // 门禁远程命令结果
- rpc GateCommandResult(pb_v1.GateCommandResultRequest) returns (pb_v1.GateCommandResultReply){}
- // 门禁命令添加
- rpc GateCommandAdd(pb_v1.GateCommandAddRequest) returns (pb_v1.GateCommandAddReply){}
- // 门禁命令记录
- rpc GateCommandList(pb_v1.GateCommandListRequest) returns (pb_v1.GateCommandListReply){}
- // 门禁白名单匹配
- rpc GateWhiteMatch(pb_v1.GateWhiteMatchRequest) returns (pb_v1.GateWhiteMatchReply){}
- // 门禁人脸申请
- rpc GateUserPicAdd(pb_v1.GateUserPicAddRequest) returns (pb_v1.GateUserPicAddReply){}
- // 门禁人脸审核
- rpc GateUserPicApprove(pb_v1.GateUserPicApproveRequest) returns (pb_v1.GateUserPicApproveReply){}
- // 获取人脸录入列表
- rpc GateUserPicList(pb_v1.GateUserPicListRequest) returns (pb_v1.GateUserPicListReply){}
- // 门禁人脸下发
- rpc GateUserPicSync(pb_v1.GateUserPicSyncRequest) returns (pb_v1.GateUserPicSyncReply){}
- rpc GateUserPicDel(pb_v1.GateUserPicDelRequest) returns (pb_v1.GateUserPicDelReply){}
- // 获取人脸录入信息
- rpc GateUserPicInfo(pb_v1.GateUserPicInfoRequest) returns (pb_v1.GateUserPicInfoReply){}
- // 门禁进出记录列表
- rpc GateRecordList(pb_v1.GateRecordListRequest) returns (pb_v1.GateRecordListReply){}
- // 门禁进出记录添加
- rpc GateRecordAdd(pb_v1.GateRecordAddRequest) returns (pb_v1.GateRecordAddReply){}
- rpc GateVisitorAdd(pb_v1.GateVisitorAddRequest) returns (pb_v1.GateVisitorAddReply){}
- rpc GateVisitorDel(pb_v1.GateVisitorDelRequest) returns (pb_v1.GateVisitorDelReply){}
- rpc GateVisitorCheck(pb_v1.GateVisitorCheckRequest) returns (pb_v1.GateVisitorCheckReply){}
- rpc GateVisitorList(pb_v1.GateVisitorListRequest) returns (pb_v1.GateVisitorListReply){}
- // 获取绑定了某单元的门禁列表
- rpc GateUnitDevice(pb_v1.GateUnitDeviceRequest) returns (pb_v1.GateUnitDeviceReply){}
- // 门禁设备绑定范围
- rpc GateUnitAdd(pb_v1.GateUnitAddRequest) returns (pb_v1.GateUnitAddReply){}
- // 门禁设备单元列表
- rpc GateUnitList(pb_v1.GateUnitListRequest) returns (pb_v1.GateUnitListReply){}
- // 门禁协议
- rpc GateProtocols(pb_v1.GateProtocolsRequest) returns (pb_v1.GateProtocolsReply){}
- // 住户申请房屋后,检查是否有设备需要同步人脸
- rpc HouseholdGateSyncCheck(pb_v1.HouseholdGateSyncCheckRequest) returns (pb_v1.HouseholdGateSyncCheckReply){}
- }
|