device_service.pb.go 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: device_service.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb
  5. import (
  6. context "context"
  7. fmt "fmt"
  8. proto "github.com/golang/protobuf/proto"
  9. grpc "google.golang.org/grpc"
  10. codes "google.golang.org/grpc/codes"
  11. status "google.golang.org/grpc/status"
  12. math "math"
  13. v1 "property-applete-gateway/pb/v1"
  14. )
  15. // Reference imports to suppress errors if they are not otherwise used.
  16. var _ = proto.Marshal
  17. var _ = fmt.Errorf
  18. var _ = math.Inf
  19. // This is a compile-time assertion to ensure that this generated file
  20. // is compatible with the proto package it is being compiled against.
  21. // A compilation error at this line likely means your copy of the
  22. // proto package needs to be updated.
  23. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  24. func init() {
  25. proto.RegisterFile("device_service.proto", fileDescriptor_5b575c291bff7431)
  26. }
  27. var fileDescriptor_5b575c291bff7431 = []byte{
  28. // 473 bytes of a gzipped FileDescriptorProto
  29. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0x5f, 0xab, 0xd3, 0x30,
  30. 0x18, 0xc6, 0xbd, 0x9a, 0x12, 0xff, 0x1c, 0x8c, 0xf3, 0x30, 0xbb, 0x73, 0x10, 0x0e, 0xde, 0x9e,
  31. 0x1e, 0xa6, 0x82, 0xe0, 0x95, 0xba, 0xf9, 0x67, 0x30, 0x19, 0x6c, 0x0c, 0xc1, 0x9b, 0x91, 0xb6,
  32. 0x2f, 0xae, 0x90, 0xb5, 0xb1, 0x4d, 0x2b, 0xfd, 0x5e, 0x7e, 0x40, 0x49, 0xb2, 0x74, 0x79, 0xdb,
  33. 0x14, 0xaf, 0x06, 0xbf, 0xe7, 0x7d, 0x9e, 0xe6, 0xc9, 0x1b, 0x46, 0xc6, 0x09, 0xd4, 0x69, 0x0c,
  34. 0xfb, 0x12, 0x0a, 0xf5, 0x1b, 0x8a, 0x22, 0x97, 0x39, 0x25, 0x22, 0x0a, 0x4f, 0x24, 0xb8, 0xa8,
  35. 0x67, 0x77, 0x66, 0xc8, 0x88, 0xaf, 0xff, 0x3e, 0x24, 0xa3, 0x85, 0x06, 0xf4, 0x03, 0x21, 0x5f,
  36. 0x99, 0x84, 0x75, 0xc6, 0xd3, 0x0c, 0xe8, 0x24, 0x14, 0xd1, 0xbe, 0x9e, 0x85, 0x67, 0xb4, 0x81,
  37. 0xdf, 0x15, 0x94, 0x32, 0xb8, 0xf4, 0x28, 0x82, 0x37, 0x37, 0xf7, 0xe8, 0x5b, 0x32, 0x52, 0x70,
  38. 0x99, 0xd1, 0xb1, 0x33, 0xb3, 0xcc, 0xac, 0x93, 0x76, 0xa8, 0x71, 0xbd, 0x27, 0x0f, 0x14, 0x58,
  39. 0xa5, 0xa5, 0xa4, 0x6e, 0xb6, 0x02, 0xd6, 0x39, 0xee, 0x71, 0xe3, 0x7d, 0x47, 0xee, 0xeb, 0x63,
  40. 0x54, 0x92, 0x3e, 0x77, 0x8f, 0x55, 0xb5, 0xce, 0x67, 0x5d, 0x8c, 0x8c, 0x0b, 0xe0, 0xc8, 0xb8,
  41. 0x00, 0xee, 0x33, 0x6a, 0x6c, 0x8c, 0x5f, 0xc8, 0x23, 0x45, 0x36, 0x10, 0xe7, 0x35, 0x14, 0x0d,
  42. 0x0d, 0x9c, 0x31, 0x0b, 0x6d, 0xc4, 0xc4, 0xab, 0x99, 0x9c, 0xd3, 0x6d, 0x7f, 0xce, 0x58, 0xc4,
  43. 0xf1, 0x6d, 0x1b, 0xe4, 0xbb, 0x6d, 0xab, 0xa0, 0x0a, 0x5b, 0xc0, 0xdd, 0xb7, 0xe0, 0xed, 0xae,
  44. 0x31, 0xaa, 0xf0, 0xe3, 0x90, 0x4a, 0xf8, 0x98, 0x24, 0xa8, 0x82, 0x85, 0xbe, 0x0a, 0x67, 0xad,
  45. 0x9f, 0xa3, 0x2e, 0xb2, 0x97, 0xe3, 0xdc, 0xe6, 0xc4, 0xab, 0x99, 0x9c, 0x84, 0x5c, 0xb6, 0xf8,
  46. 0x5b, 0x5e, 0x95, 0x70, 0xc8, 0x79, 0xa2, 0x9f, 0xc3, 0xab, 0xae, 0x0b, 0xc9, 0x36, 0xfb, 0xe6,
  47. 0x3f, 0x53, 0xe6, 0x2b, 0x3b, 0xf2, 0xb4, 0x1d, 0x98, 0xb3, 0xc2, 0x7c, 0xe0, 0x65, 0xd7, 0x6a,
  48. 0x15, 0x9b, 0x7d, 0x3d, 0x3c, 0x60, 0x62, 0x57, 0xe4, 0x49, 0xab, 0x7d, 0x67, 0x32, 0x3e, 0xd0,
  49. 0xab, 0xae, 0x45, 0x63, 0x1b, 0x18, 0x0c, 0xa8, 0x26, 0x6d, 0x49, 0x1e, 0xdb, 0xc7, 0x52, 0x24,
  50. 0x6a, 0x37, 0xd3, 0xce, 0x13, 0xd2, 0xd4, 0x66, 0xbd, 0xf0, 0x8b, 0xe8, 0x60, 0x86, 0xeb, 0xb2,
  51. 0x57, 0xbd, 0x71, 0xb7, 0x69, 0x30, 0xa0, 0xa2, 0xb4, 0x79, 0x7e, 0x3c, 0xb2, 0x2c, 0xd9, 0x95,
  52. 0x80, 0xd2, 0xce, 0xd8, 0x97, 0xe6, 0xaa, 0xa8, 0xa6, 0xee, 0xbf, 0x6d, 0xb2, 0x18, 0xd5, 0x6c,
  53. 0xa9, 0xaf, 0xa6, 0x23, 0xa2, 0xb5, 0x9e, 0xbe, 0xb1, 0x81, 0xb2, 0xe2, 0x78, 0xad, 0x48, 0xf1,
  54. 0xad, 0xb5, 0x33, 0xe0, 0xeb, 0xab, 0x36, 0xe1, 0xe9, 0xeb, 0xac, 0x22, 0x18, 0x50, 0x4d, 0xda,
  55. 0x9a, 0x5c, 0x38, 0x82, 0x5e, 0x86, 0xe7, 0x04, 0xee, 0x36, 0xa6, 0x43, 0xb2, 0x0e, 0xfc, 0x74,
  56. 0xfd, 0x73, 0x2a, 0x8a, 0x5c, 0x40, 0x21, 0x9b, 0x5b, 0x26, 0x04, 0x07, 0x09, 0xb7, 0xbf, 0x98,
  57. 0x84, 0x3f, 0xac, 0xb9, 0x13, 0x51, 0x34, 0xd2, 0x7f, 0xee, 0x6f, 0xfe, 0x05, 0x00, 0x00, 0xff,
  58. 0xff, 0xb1, 0x22, 0x30, 0x6e, 0x11, 0x06, 0x00, 0x00,
  59. }
  60. // Reference imports to suppress errors if they are not otherwise used.
  61. var _ context.Context
  62. var _ grpc.ClientConnInterface
  63. // This is a compile-time assertion to ensure that this generated file
  64. // is compatible with the grpc package it is being compiled against.
  65. const _ = grpc.SupportPackageIsVersion6
  66. // DeviceClient is the client API for Device service.
  67. //
  68. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  69. type DeviceClient interface {
  70. // 门禁在线
  71. GateOnline(ctx context.Context, in *v1.GateOnlineRequest, opts ...grpc.CallOption) (*v1.GateOnlineReply, error)
  72. // 门禁入库
  73. GateIn(ctx context.Context, in *v1.GateInRequest, opts ...grpc.CallOption) (*v1.GateInReply, error)
  74. // 门禁列表
  75. GateList(ctx context.Context, in *v1.GateListRequest, opts ...grpc.CallOption) (*v1.GateListReply, error)
  76. // 门禁出库
  77. GateOut(ctx context.Context, in *v1.GateOutRequest, opts ...grpc.CallOption) (*v1.GateOutReply, error)
  78. // 删除门禁
  79. GateDel(ctx context.Context, in *v1.GateDelRequest, opts ...grpc.CallOption) (*v1.GateDelReply, error)
  80. // 门禁回收
  81. GateRecovery(ctx context.Context, in *v1.GateRecoveryRequest, opts ...grpc.CallOption) (*v1.GateRecoveryReply, error)
  82. // 门禁起停用
  83. GateEnable(ctx context.Context, in *v1.GateEnableRequest, opts ...grpc.CallOption) (*v1.GateEnableReply, error)
  84. // 设置门禁位置和进场出场
  85. GateSet(ctx context.Context, in *v1.GateSetRequest, opts ...grpc.CallOption) (*v1.GateSetReply, error)
  86. // 添加门禁白名单
  87. GateWhiteAdd(ctx context.Context, in *v1.GateWhiteAddRequest, opts ...grpc.CallOption) (*v1.GateWhiteAddReply, error)
  88. // 删除门禁白名单
  89. GateWhiteDel(ctx context.Context, in *v1.GateWhiteDelRequest, opts ...grpc.CallOption) (*v1.GateWhiteDelReply, error)
  90. // 门禁白名单用户列表
  91. GateWhiteHouseholdList(ctx context.Context, in *v1.GateWhiteHouseholdListRequest, opts ...grpc.CallOption) (*v1.GateWhiteHouseholdListReply, error)
  92. // 门禁白名单ic卡列表
  93. GateWhiteCardList(ctx context.Context, in *v1.GateWhiteCardListRequest, opts ...grpc.CallOption) (*v1.GateWhiteCardListReply, error)
  94. // 门禁白名单匹配
  95. GateWhiteMatch(ctx context.Context, in *v1.GateWhiteMatchRequest, opts ...grpc.CallOption) (*v1.GateWhiteMatchReply, error)
  96. // 门禁进出记录添加
  97. GateRecordAdd(ctx context.Context, in *v1.GateRecordAddRequest, opts ...grpc.CallOption) (*v1.GateRecordAddReply, error)
  98. // 门禁进出记录列表
  99. GateRecordList(ctx context.Context, in *v1.GateRecordListRequest, opts ...grpc.CallOption) (*v1.GateRecordListReply, error)
  100. // 获取门禁远程命令
  101. GateCommandUse(ctx context.Context, in *v1.GateCommandUseRequest, opts ...grpc.CallOption) (*v1.GateCommandUseReply, error)
  102. // 门禁白名单手动同步
  103. GateWhiteSync(ctx context.Context, in *v1.GateWhiteSyncRequest, opts ...grpc.CallOption) (*v1.GateWhiteSyncReply, error)
  104. // 门禁远程命令结果
  105. GateCommandResult(ctx context.Context, in *v1.GateCommandResultRequest, opts ...grpc.CallOption) (*v1.GateCommandResultReply, error)
  106. // 门禁命令添加
  107. GateCommandAdd(ctx context.Context, in *v1.GateCommandAddRequest, opts ...grpc.CallOption) (*v1.GateCommandAddReply, error)
  108. // 门禁命令记录
  109. GateCommandList(ctx context.Context, in *v1.GateCommandListRequest, opts ...grpc.CallOption) (*v1.GateCommandListReply, error)
  110. }
  111. type deviceClient struct {
  112. cc grpc.ClientConnInterface
  113. }
  114. func NewDeviceClient(cc grpc.ClientConnInterface) DeviceClient {
  115. return &deviceClient{cc}
  116. }
  117. func (c *deviceClient) GateOnline(ctx context.Context, in *v1.GateOnlineRequest, opts ...grpc.CallOption) (*v1.GateOnlineReply, error) {
  118. out := new(v1.GateOnlineReply)
  119. err := c.cc.Invoke(ctx, "/pb.service.Device/GateOnline", in, out, opts...)
  120. if err != nil {
  121. return nil, err
  122. }
  123. return out, nil
  124. }
  125. func (c *deviceClient) GateIn(ctx context.Context, in *v1.GateInRequest, opts ...grpc.CallOption) (*v1.GateInReply, error) {
  126. out := new(v1.GateInReply)
  127. err := c.cc.Invoke(ctx, "/pb.service.Device/GateIn", in, out, opts...)
  128. if err != nil {
  129. return nil, err
  130. }
  131. return out, nil
  132. }
  133. func (c *deviceClient) GateList(ctx context.Context, in *v1.GateListRequest, opts ...grpc.CallOption) (*v1.GateListReply, error) {
  134. out := new(v1.GateListReply)
  135. err := c.cc.Invoke(ctx, "/pb.service.Device/GateList", in, out, opts...)
  136. if err != nil {
  137. return nil, err
  138. }
  139. return out, nil
  140. }
  141. func (c *deviceClient) GateOut(ctx context.Context, in *v1.GateOutRequest, opts ...grpc.CallOption) (*v1.GateOutReply, error) {
  142. out := new(v1.GateOutReply)
  143. err := c.cc.Invoke(ctx, "/pb.service.Device/GateOut", in, out, opts...)
  144. if err != nil {
  145. return nil, err
  146. }
  147. return out, nil
  148. }
  149. func (c *deviceClient) GateDel(ctx context.Context, in *v1.GateDelRequest, opts ...grpc.CallOption) (*v1.GateDelReply, error) {
  150. out := new(v1.GateDelReply)
  151. err := c.cc.Invoke(ctx, "/pb.service.Device/GateDel", in, out, opts...)
  152. if err != nil {
  153. return nil, err
  154. }
  155. return out, nil
  156. }
  157. func (c *deviceClient) GateRecovery(ctx context.Context, in *v1.GateRecoveryRequest, opts ...grpc.CallOption) (*v1.GateRecoveryReply, error) {
  158. out := new(v1.GateRecoveryReply)
  159. err := c.cc.Invoke(ctx, "/pb.service.Device/GateRecovery", in, out, opts...)
  160. if err != nil {
  161. return nil, err
  162. }
  163. return out, nil
  164. }
  165. func (c *deviceClient) GateEnable(ctx context.Context, in *v1.GateEnableRequest, opts ...grpc.CallOption) (*v1.GateEnableReply, error) {
  166. out := new(v1.GateEnableReply)
  167. err := c.cc.Invoke(ctx, "/pb.service.Device/GateEnable", in, out, opts...)
  168. if err != nil {
  169. return nil, err
  170. }
  171. return out, nil
  172. }
  173. func (c *deviceClient) GateSet(ctx context.Context, in *v1.GateSetRequest, opts ...grpc.CallOption) (*v1.GateSetReply, error) {
  174. out := new(v1.GateSetReply)
  175. err := c.cc.Invoke(ctx, "/pb.service.Device/GateSet", in, out, opts...)
  176. if err != nil {
  177. return nil, err
  178. }
  179. return out, nil
  180. }
  181. func (c *deviceClient) GateWhiteAdd(ctx context.Context, in *v1.GateWhiteAddRequest, opts ...grpc.CallOption) (*v1.GateWhiteAddReply, error) {
  182. out := new(v1.GateWhiteAddReply)
  183. err := c.cc.Invoke(ctx, "/pb.service.Device/GateWhiteAdd", in, out, opts...)
  184. if err != nil {
  185. return nil, err
  186. }
  187. return out, nil
  188. }
  189. func (c *deviceClient) GateWhiteDel(ctx context.Context, in *v1.GateWhiteDelRequest, opts ...grpc.CallOption) (*v1.GateWhiteDelReply, error) {
  190. out := new(v1.GateWhiteDelReply)
  191. err := c.cc.Invoke(ctx, "/pb.service.Device/GateWhiteDel", in, out, opts...)
  192. if err != nil {
  193. return nil, err
  194. }
  195. return out, nil
  196. }
  197. func (c *deviceClient) GateWhiteHouseholdList(ctx context.Context, in *v1.GateWhiteHouseholdListRequest, opts ...grpc.CallOption) (*v1.GateWhiteHouseholdListReply, error) {
  198. out := new(v1.GateWhiteHouseholdListReply)
  199. err := c.cc.Invoke(ctx, "/pb.service.Device/GateWhiteHouseholdList", in, out, opts...)
  200. if err != nil {
  201. return nil, err
  202. }
  203. return out, nil
  204. }
  205. func (c *deviceClient) GateWhiteCardList(ctx context.Context, in *v1.GateWhiteCardListRequest, opts ...grpc.CallOption) (*v1.GateWhiteCardListReply, error) {
  206. out := new(v1.GateWhiteCardListReply)
  207. err := c.cc.Invoke(ctx, "/pb.service.Device/GateWhiteCardList", in, out, opts...)
  208. if err != nil {
  209. return nil, err
  210. }
  211. return out, nil
  212. }
  213. func (c *deviceClient) GateWhiteMatch(ctx context.Context, in *v1.GateWhiteMatchRequest, opts ...grpc.CallOption) (*v1.GateWhiteMatchReply, error) {
  214. out := new(v1.GateWhiteMatchReply)
  215. err := c.cc.Invoke(ctx, "/pb.service.Device/GateWhiteMatch", in, out, opts...)
  216. if err != nil {
  217. return nil, err
  218. }
  219. return out, nil
  220. }
  221. func (c *deviceClient) GateRecordAdd(ctx context.Context, in *v1.GateRecordAddRequest, opts ...grpc.CallOption) (*v1.GateRecordAddReply, error) {
  222. out := new(v1.GateRecordAddReply)
  223. err := c.cc.Invoke(ctx, "/pb.service.Device/GateRecordAdd", in, out, opts...)
  224. if err != nil {
  225. return nil, err
  226. }
  227. return out, nil
  228. }
  229. func (c *deviceClient) GateRecordList(ctx context.Context, in *v1.GateRecordListRequest, opts ...grpc.CallOption) (*v1.GateRecordListReply, error) {
  230. out := new(v1.GateRecordListReply)
  231. err := c.cc.Invoke(ctx, "/pb.service.Device/GateRecordList", in, out, opts...)
  232. if err != nil {
  233. return nil, err
  234. }
  235. return out, nil
  236. }
  237. func (c *deviceClient) GateCommandUse(ctx context.Context, in *v1.GateCommandUseRequest, opts ...grpc.CallOption) (*v1.GateCommandUseReply, error) {
  238. out := new(v1.GateCommandUseReply)
  239. err := c.cc.Invoke(ctx, "/pb.service.Device/GateCommandUse", in, out, opts...)
  240. if err != nil {
  241. return nil, err
  242. }
  243. return out, nil
  244. }
  245. func (c *deviceClient) GateWhiteSync(ctx context.Context, in *v1.GateWhiteSyncRequest, opts ...grpc.CallOption) (*v1.GateWhiteSyncReply, error) {
  246. out := new(v1.GateWhiteSyncReply)
  247. err := c.cc.Invoke(ctx, "/pb.service.Device/GateWhiteSync", in, out, opts...)
  248. if err != nil {
  249. return nil, err
  250. }
  251. return out, nil
  252. }
  253. func (c *deviceClient) GateCommandResult(ctx context.Context, in *v1.GateCommandResultRequest, opts ...grpc.CallOption) (*v1.GateCommandResultReply, error) {
  254. out := new(v1.GateCommandResultReply)
  255. err := c.cc.Invoke(ctx, "/pb.service.Device/GateCommandResult", in, out, opts...)
  256. if err != nil {
  257. return nil, err
  258. }
  259. return out, nil
  260. }
  261. func (c *deviceClient) GateCommandAdd(ctx context.Context, in *v1.GateCommandAddRequest, opts ...grpc.CallOption) (*v1.GateCommandAddReply, error) {
  262. out := new(v1.GateCommandAddReply)
  263. err := c.cc.Invoke(ctx, "/pb.service.Device/GateCommandAdd", in, out, opts...)
  264. if err != nil {
  265. return nil, err
  266. }
  267. return out, nil
  268. }
  269. func (c *deviceClient) GateCommandList(ctx context.Context, in *v1.GateCommandListRequest, opts ...grpc.CallOption) (*v1.GateCommandListReply, error) {
  270. out := new(v1.GateCommandListReply)
  271. err := c.cc.Invoke(ctx, "/pb.service.Device/GateCommandList", in, out, opts...)
  272. if err != nil {
  273. return nil, err
  274. }
  275. return out, nil
  276. }
  277. // DeviceServer is the server API for Device service.
  278. type DeviceServer interface {
  279. // 门禁在线
  280. GateOnline(context.Context, *v1.GateOnlineRequest) (*v1.GateOnlineReply, error)
  281. // 门禁入库
  282. GateIn(context.Context, *v1.GateInRequest) (*v1.GateInReply, error)
  283. // 门禁列表
  284. GateList(context.Context, *v1.GateListRequest) (*v1.GateListReply, error)
  285. // 门禁出库
  286. GateOut(context.Context, *v1.GateOutRequest) (*v1.GateOutReply, error)
  287. // 删除门禁
  288. GateDel(context.Context, *v1.GateDelRequest) (*v1.GateDelReply, error)
  289. // 门禁回收
  290. GateRecovery(context.Context, *v1.GateRecoveryRequest) (*v1.GateRecoveryReply, error)
  291. // 门禁起停用
  292. GateEnable(context.Context, *v1.GateEnableRequest) (*v1.GateEnableReply, error)
  293. // 设置门禁位置和进场出场
  294. GateSet(context.Context, *v1.GateSetRequest) (*v1.GateSetReply, error)
  295. // 添加门禁白名单
  296. GateWhiteAdd(context.Context, *v1.GateWhiteAddRequest) (*v1.GateWhiteAddReply, error)
  297. // 删除门禁白名单
  298. GateWhiteDel(context.Context, *v1.GateWhiteDelRequest) (*v1.GateWhiteDelReply, error)
  299. // 门禁白名单用户列表
  300. GateWhiteHouseholdList(context.Context, *v1.GateWhiteHouseholdListRequest) (*v1.GateWhiteHouseholdListReply, error)
  301. // 门禁白名单ic卡列表
  302. GateWhiteCardList(context.Context, *v1.GateWhiteCardListRequest) (*v1.GateWhiteCardListReply, error)
  303. // 门禁白名单匹配
  304. GateWhiteMatch(context.Context, *v1.GateWhiteMatchRequest) (*v1.GateWhiteMatchReply, error)
  305. // 门禁进出记录添加
  306. GateRecordAdd(context.Context, *v1.GateRecordAddRequest) (*v1.GateRecordAddReply, error)
  307. // 门禁进出记录列表
  308. GateRecordList(context.Context, *v1.GateRecordListRequest) (*v1.GateRecordListReply, error)
  309. // 获取门禁远程命令
  310. GateCommandUse(context.Context, *v1.GateCommandUseRequest) (*v1.GateCommandUseReply, error)
  311. // 门禁白名单手动同步
  312. GateWhiteSync(context.Context, *v1.GateWhiteSyncRequest) (*v1.GateWhiteSyncReply, error)
  313. // 门禁远程命令结果
  314. GateCommandResult(context.Context, *v1.GateCommandResultRequest) (*v1.GateCommandResultReply, error)
  315. // 门禁命令添加
  316. GateCommandAdd(context.Context, *v1.GateCommandAddRequest) (*v1.GateCommandAddReply, error)
  317. // 门禁命令记录
  318. GateCommandList(context.Context, *v1.GateCommandListRequest) (*v1.GateCommandListReply, error)
  319. }
  320. // UnimplementedDeviceServer can be embedded to have forward compatible implementations.
  321. type UnimplementedDeviceServer struct {
  322. }
  323. func (*UnimplementedDeviceServer) GateOnline(ctx context.Context, req *v1.GateOnlineRequest) (*v1.GateOnlineReply, error) {
  324. return nil, status.Errorf(codes.Unimplemented, "method GateOnline not implemented")
  325. }
  326. func (*UnimplementedDeviceServer) GateIn(ctx context.Context, req *v1.GateInRequest) (*v1.GateInReply, error) {
  327. return nil, status.Errorf(codes.Unimplemented, "method GateIn not implemented")
  328. }
  329. func (*UnimplementedDeviceServer) GateList(ctx context.Context, req *v1.GateListRequest) (*v1.GateListReply, error) {
  330. return nil, status.Errorf(codes.Unimplemented, "method GateList not implemented")
  331. }
  332. func (*UnimplementedDeviceServer) GateOut(ctx context.Context, req *v1.GateOutRequest) (*v1.GateOutReply, error) {
  333. return nil, status.Errorf(codes.Unimplemented, "method GateOut not implemented")
  334. }
  335. func (*UnimplementedDeviceServer) GateDel(ctx context.Context, req *v1.GateDelRequest) (*v1.GateDelReply, error) {
  336. return nil, status.Errorf(codes.Unimplemented, "method GateDel not implemented")
  337. }
  338. func (*UnimplementedDeviceServer) GateRecovery(ctx context.Context, req *v1.GateRecoveryRequest) (*v1.GateRecoveryReply, error) {
  339. return nil, status.Errorf(codes.Unimplemented, "method GateRecovery not implemented")
  340. }
  341. func (*UnimplementedDeviceServer) GateEnable(ctx context.Context, req *v1.GateEnableRequest) (*v1.GateEnableReply, error) {
  342. return nil, status.Errorf(codes.Unimplemented, "method GateEnable not implemented")
  343. }
  344. func (*UnimplementedDeviceServer) GateSet(ctx context.Context, req *v1.GateSetRequest) (*v1.GateSetReply, error) {
  345. return nil, status.Errorf(codes.Unimplemented, "method GateSet not implemented")
  346. }
  347. func (*UnimplementedDeviceServer) GateWhiteAdd(ctx context.Context, req *v1.GateWhiteAddRequest) (*v1.GateWhiteAddReply, error) {
  348. return nil, status.Errorf(codes.Unimplemented, "method GateWhiteAdd not implemented")
  349. }
  350. func (*UnimplementedDeviceServer) GateWhiteDel(ctx context.Context, req *v1.GateWhiteDelRequest) (*v1.GateWhiteDelReply, error) {
  351. return nil, status.Errorf(codes.Unimplemented, "method GateWhiteDel not implemented")
  352. }
  353. func (*UnimplementedDeviceServer) GateWhiteHouseholdList(ctx context.Context, req *v1.GateWhiteHouseholdListRequest) (*v1.GateWhiteHouseholdListReply, error) {
  354. return nil, status.Errorf(codes.Unimplemented, "method GateWhiteHouseholdList not implemented")
  355. }
  356. func (*UnimplementedDeviceServer) GateWhiteCardList(ctx context.Context, req *v1.GateWhiteCardListRequest) (*v1.GateWhiteCardListReply, error) {
  357. return nil, status.Errorf(codes.Unimplemented, "method GateWhiteCardList not implemented")
  358. }
  359. func (*UnimplementedDeviceServer) GateWhiteMatch(ctx context.Context, req *v1.GateWhiteMatchRequest) (*v1.GateWhiteMatchReply, error) {
  360. return nil, status.Errorf(codes.Unimplemented, "method GateWhiteMatch not implemented")
  361. }
  362. func (*UnimplementedDeviceServer) GateRecordAdd(ctx context.Context, req *v1.GateRecordAddRequest) (*v1.GateRecordAddReply, error) {
  363. return nil, status.Errorf(codes.Unimplemented, "method GateRecordAdd not implemented")
  364. }
  365. func (*UnimplementedDeviceServer) GateRecordList(ctx context.Context, req *v1.GateRecordListRequest) (*v1.GateRecordListReply, error) {
  366. return nil, status.Errorf(codes.Unimplemented, "method GateRecordList not implemented")
  367. }
  368. func (*UnimplementedDeviceServer) GateCommandUse(ctx context.Context, req *v1.GateCommandUseRequest) (*v1.GateCommandUseReply, error) {
  369. return nil, status.Errorf(codes.Unimplemented, "method GateCommandUse not implemented")
  370. }
  371. func (*UnimplementedDeviceServer) GateWhiteSync(ctx context.Context, req *v1.GateWhiteSyncRequest) (*v1.GateWhiteSyncReply, error) {
  372. return nil, status.Errorf(codes.Unimplemented, "method GateWhiteSync not implemented")
  373. }
  374. func (*UnimplementedDeviceServer) GateCommandResult(ctx context.Context, req *v1.GateCommandResultRequest) (*v1.GateCommandResultReply, error) {
  375. return nil, status.Errorf(codes.Unimplemented, "method GateCommandResult not implemented")
  376. }
  377. func (*UnimplementedDeviceServer) GateCommandAdd(ctx context.Context, req *v1.GateCommandAddRequest) (*v1.GateCommandAddReply, error) {
  378. return nil, status.Errorf(codes.Unimplemented, "method GateCommandAdd not implemented")
  379. }
  380. func (*UnimplementedDeviceServer) GateCommandList(ctx context.Context, req *v1.GateCommandListRequest) (*v1.GateCommandListReply, error) {
  381. return nil, status.Errorf(codes.Unimplemented, "method GateCommandList not implemented")
  382. }
  383. func RegisterDeviceServer(s *grpc.Server, srv DeviceServer) {
  384. s.RegisterService(&_Device_serviceDesc, srv)
  385. }
  386. func _Device_GateOnline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  387. in := new(v1.GateOnlineRequest)
  388. if err := dec(in); err != nil {
  389. return nil, err
  390. }
  391. if interceptor == nil {
  392. return srv.(DeviceServer).GateOnline(ctx, in)
  393. }
  394. info := &grpc.UnaryServerInfo{
  395. Server: srv,
  396. FullMethod: "/pb.service.Device/GateOnline",
  397. }
  398. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  399. return srv.(DeviceServer).GateOnline(ctx, req.(*v1.GateOnlineRequest))
  400. }
  401. return interceptor(ctx, in, info, handler)
  402. }
  403. func _Device_GateIn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  404. in := new(v1.GateInRequest)
  405. if err := dec(in); err != nil {
  406. return nil, err
  407. }
  408. if interceptor == nil {
  409. return srv.(DeviceServer).GateIn(ctx, in)
  410. }
  411. info := &grpc.UnaryServerInfo{
  412. Server: srv,
  413. FullMethod: "/pb.service.Device/GateIn",
  414. }
  415. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  416. return srv.(DeviceServer).GateIn(ctx, req.(*v1.GateInRequest))
  417. }
  418. return interceptor(ctx, in, info, handler)
  419. }
  420. func _Device_GateList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  421. in := new(v1.GateListRequest)
  422. if err := dec(in); err != nil {
  423. return nil, err
  424. }
  425. if interceptor == nil {
  426. return srv.(DeviceServer).GateList(ctx, in)
  427. }
  428. info := &grpc.UnaryServerInfo{
  429. Server: srv,
  430. FullMethod: "/pb.service.Device/GateList",
  431. }
  432. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  433. return srv.(DeviceServer).GateList(ctx, req.(*v1.GateListRequest))
  434. }
  435. return interceptor(ctx, in, info, handler)
  436. }
  437. func _Device_GateOut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  438. in := new(v1.GateOutRequest)
  439. if err := dec(in); err != nil {
  440. return nil, err
  441. }
  442. if interceptor == nil {
  443. return srv.(DeviceServer).GateOut(ctx, in)
  444. }
  445. info := &grpc.UnaryServerInfo{
  446. Server: srv,
  447. FullMethod: "/pb.service.Device/GateOut",
  448. }
  449. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  450. return srv.(DeviceServer).GateOut(ctx, req.(*v1.GateOutRequest))
  451. }
  452. return interceptor(ctx, in, info, handler)
  453. }
  454. func _Device_GateDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  455. in := new(v1.GateDelRequest)
  456. if err := dec(in); err != nil {
  457. return nil, err
  458. }
  459. if interceptor == nil {
  460. return srv.(DeviceServer).GateDel(ctx, in)
  461. }
  462. info := &grpc.UnaryServerInfo{
  463. Server: srv,
  464. FullMethod: "/pb.service.Device/GateDel",
  465. }
  466. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  467. return srv.(DeviceServer).GateDel(ctx, req.(*v1.GateDelRequest))
  468. }
  469. return interceptor(ctx, in, info, handler)
  470. }
  471. func _Device_GateRecovery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  472. in := new(v1.GateRecoveryRequest)
  473. if err := dec(in); err != nil {
  474. return nil, err
  475. }
  476. if interceptor == nil {
  477. return srv.(DeviceServer).GateRecovery(ctx, in)
  478. }
  479. info := &grpc.UnaryServerInfo{
  480. Server: srv,
  481. FullMethod: "/pb.service.Device/GateRecovery",
  482. }
  483. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  484. return srv.(DeviceServer).GateRecovery(ctx, req.(*v1.GateRecoveryRequest))
  485. }
  486. return interceptor(ctx, in, info, handler)
  487. }
  488. func _Device_GateEnable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  489. in := new(v1.GateEnableRequest)
  490. if err := dec(in); err != nil {
  491. return nil, err
  492. }
  493. if interceptor == nil {
  494. return srv.(DeviceServer).GateEnable(ctx, in)
  495. }
  496. info := &grpc.UnaryServerInfo{
  497. Server: srv,
  498. FullMethod: "/pb.service.Device/GateEnable",
  499. }
  500. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  501. return srv.(DeviceServer).GateEnable(ctx, req.(*v1.GateEnableRequest))
  502. }
  503. return interceptor(ctx, in, info, handler)
  504. }
  505. func _Device_GateSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  506. in := new(v1.GateSetRequest)
  507. if err := dec(in); err != nil {
  508. return nil, err
  509. }
  510. if interceptor == nil {
  511. return srv.(DeviceServer).GateSet(ctx, in)
  512. }
  513. info := &grpc.UnaryServerInfo{
  514. Server: srv,
  515. FullMethod: "/pb.service.Device/GateSet",
  516. }
  517. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  518. return srv.(DeviceServer).GateSet(ctx, req.(*v1.GateSetRequest))
  519. }
  520. return interceptor(ctx, in, info, handler)
  521. }
  522. func _Device_GateWhiteAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  523. in := new(v1.GateWhiteAddRequest)
  524. if err := dec(in); err != nil {
  525. return nil, err
  526. }
  527. if interceptor == nil {
  528. return srv.(DeviceServer).GateWhiteAdd(ctx, in)
  529. }
  530. info := &grpc.UnaryServerInfo{
  531. Server: srv,
  532. FullMethod: "/pb.service.Device/GateWhiteAdd",
  533. }
  534. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  535. return srv.(DeviceServer).GateWhiteAdd(ctx, req.(*v1.GateWhiteAddRequest))
  536. }
  537. return interceptor(ctx, in, info, handler)
  538. }
  539. func _Device_GateWhiteDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  540. in := new(v1.GateWhiteDelRequest)
  541. if err := dec(in); err != nil {
  542. return nil, err
  543. }
  544. if interceptor == nil {
  545. return srv.(DeviceServer).GateWhiteDel(ctx, in)
  546. }
  547. info := &grpc.UnaryServerInfo{
  548. Server: srv,
  549. FullMethod: "/pb.service.Device/GateWhiteDel",
  550. }
  551. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  552. return srv.(DeviceServer).GateWhiteDel(ctx, req.(*v1.GateWhiteDelRequest))
  553. }
  554. return interceptor(ctx, in, info, handler)
  555. }
  556. func _Device_GateWhiteHouseholdList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  557. in := new(v1.GateWhiteHouseholdListRequest)
  558. if err := dec(in); err != nil {
  559. return nil, err
  560. }
  561. if interceptor == nil {
  562. return srv.(DeviceServer).GateWhiteHouseholdList(ctx, in)
  563. }
  564. info := &grpc.UnaryServerInfo{
  565. Server: srv,
  566. FullMethod: "/pb.service.Device/GateWhiteHouseholdList",
  567. }
  568. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  569. return srv.(DeviceServer).GateWhiteHouseholdList(ctx, req.(*v1.GateWhiteHouseholdListRequest))
  570. }
  571. return interceptor(ctx, in, info, handler)
  572. }
  573. func _Device_GateWhiteCardList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  574. in := new(v1.GateWhiteCardListRequest)
  575. if err := dec(in); err != nil {
  576. return nil, err
  577. }
  578. if interceptor == nil {
  579. return srv.(DeviceServer).GateWhiteCardList(ctx, in)
  580. }
  581. info := &grpc.UnaryServerInfo{
  582. Server: srv,
  583. FullMethod: "/pb.service.Device/GateWhiteCardList",
  584. }
  585. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  586. return srv.(DeviceServer).GateWhiteCardList(ctx, req.(*v1.GateWhiteCardListRequest))
  587. }
  588. return interceptor(ctx, in, info, handler)
  589. }
  590. func _Device_GateWhiteMatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  591. in := new(v1.GateWhiteMatchRequest)
  592. if err := dec(in); err != nil {
  593. return nil, err
  594. }
  595. if interceptor == nil {
  596. return srv.(DeviceServer).GateWhiteMatch(ctx, in)
  597. }
  598. info := &grpc.UnaryServerInfo{
  599. Server: srv,
  600. FullMethod: "/pb.service.Device/GateWhiteMatch",
  601. }
  602. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  603. return srv.(DeviceServer).GateWhiteMatch(ctx, req.(*v1.GateWhiteMatchRequest))
  604. }
  605. return interceptor(ctx, in, info, handler)
  606. }
  607. func _Device_GateRecordAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  608. in := new(v1.GateRecordAddRequest)
  609. if err := dec(in); err != nil {
  610. return nil, err
  611. }
  612. if interceptor == nil {
  613. return srv.(DeviceServer).GateRecordAdd(ctx, in)
  614. }
  615. info := &grpc.UnaryServerInfo{
  616. Server: srv,
  617. FullMethod: "/pb.service.Device/GateRecordAdd",
  618. }
  619. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  620. return srv.(DeviceServer).GateRecordAdd(ctx, req.(*v1.GateRecordAddRequest))
  621. }
  622. return interceptor(ctx, in, info, handler)
  623. }
  624. func _Device_GateRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  625. in := new(v1.GateRecordListRequest)
  626. if err := dec(in); err != nil {
  627. return nil, err
  628. }
  629. if interceptor == nil {
  630. return srv.(DeviceServer).GateRecordList(ctx, in)
  631. }
  632. info := &grpc.UnaryServerInfo{
  633. Server: srv,
  634. FullMethod: "/pb.service.Device/GateRecordList",
  635. }
  636. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  637. return srv.(DeviceServer).GateRecordList(ctx, req.(*v1.GateRecordListRequest))
  638. }
  639. return interceptor(ctx, in, info, handler)
  640. }
  641. func _Device_GateCommandUse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  642. in := new(v1.GateCommandUseRequest)
  643. if err := dec(in); err != nil {
  644. return nil, err
  645. }
  646. if interceptor == nil {
  647. return srv.(DeviceServer).GateCommandUse(ctx, in)
  648. }
  649. info := &grpc.UnaryServerInfo{
  650. Server: srv,
  651. FullMethod: "/pb.service.Device/GateCommandUse",
  652. }
  653. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  654. return srv.(DeviceServer).GateCommandUse(ctx, req.(*v1.GateCommandUseRequest))
  655. }
  656. return interceptor(ctx, in, info, handler)
  657. }
  658. func _Device_GateWhiteSync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  659. in := new(v1.GateWhiteSyncRequest)
  660. if err := dec(in); err != nil {
  661. return nil, err
  662. }
  663. if interceptor == nil {
  664. return srv.(DeviceServer).GateWhiteSync(ctx, in)
  665. }
  666. info := &grpc.UnaryServerInfo{
  667. Server: srv,
  668. FullMethod: "/pb.service.Device/GateWhiteSync",
  669. }
  670. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  671. return srv.(DeviceServer).GateWhiteSync(ctx, req.(*v1.GateWhiteSyncRequest))
  672. }
  673. return interceptor(ctx, in, info, handler)
  674. }
  675. func _Device_GateCommandResult_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  676. in := new(v1.GateCommandResultRequest)
  677. if err := dec(in); err != nil {
  678. return nil, err
  679. }
  680. if interceptor == nil {
  681. return srv.(DeviceServer).GateCommandResult(ctx, in)
  682. }
  683. info := &grpc.UnaryServerInfo{
  684. Server: srv,
  685. FullMethod: "/pb.service.Device/GateCommandResult",
  686. }
  687. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  688. return srv.(DeviceServer).GateCommandResult(ctx, req.(*v1.GateCommandResultRequest))
  689. }
  690. return interceptor(ctx, in, info, handler)
  691. }
  692. func _Device_GateCommandAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  693. in := new(v1.GateCommandAddRequest)
  694. if err := dec(in); err != nil {
  695. return nil, err
  696. }
  697. if interceptor == nil {
  698. return srv.(DeviceServer).GateCommandAdd(ctx, in)
  699. }
  700. info := &grpc.UnaryServerInfo{
  701. Server: srv,
  702. FullMethod: "/pb.service.Device/GateCommandAdd",
  703. }
  704. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  705. return srv.(DeviceServer).GateCommandAdd(ctx, req.(*v1.GateCommandAddRequest))
  706. }
  707. return interceptor(ctx, in, info, handler)
  708. }
  709. func _Device_GateCommandList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  710. in := new(v1.GateCommandListRequest)
  711. if err := dec(in); err != nil {
  712. return nil, err
  713. }
  714. if interceptor == nil {
  715. return srv.(DeviceServer).GateCommandList(ctx, in)
  716. }
  717. info := &grpc.UnaryServerInfo{
  718. Server: srv,
  719. FullMethod: "/pb.service.Device/GateCommandList",
  720. }
  721. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  722. return srv.(DeviceServer).GateCommandList(ctx, req.(*v1.GateCommandListRequest))
  723. }
  724. return interceptor(ctx, in, info, handler)
  725. }
  726. var _Device_serviceDesc = grpc.ServiceDesc{
  727. ServiceName: "pb.service.Device",
  728. HandlerType: (*DeviceServer)(nil),
  729. Methods: []grpc.MethodDesc{
  730. {
  731. MethodName: "GateOnline",
  732. Handler: _Device_GateOnline_Handler,
  733. },
  734. {
  735. MethodName: "GateIn",
  736. Handler: _Device_GateIn_Handler,
  737. },
  738. {
  739. MethodName: "GateList",
  740. Handler: _Device_GateList_Handler,
  741. },
  742. {
  743. MethodName: "GateOut",
  744. Handler: _Device_GateOut_Handler,
  745. },
  746. {
  747. MethodName: "GateDel",
  748. Handler: _Device_GateDel_Handler,
  749. },
  750. {
  751. MethodName: "GateRecovery",
  752. Handler: _Device_GateRecovery_Handler,
  753. },
  754. {
  755. MethodName: "GateEnable",
  756. Handler: _Device_GateEnable_Handler,
  757. },
  758. {
  759. MethodName: "GateSet",
  760. Handler: _Device_GateSet_Handler,
  761. },
  762. {
  763. MethodName: "GateWhiteAdd",
  764. Handler: _Device_GateWhiteAdd_Handler,
  765. },
  766. {
  767. MethodName: "GateWhiteDel",
  768. Handler: _Device_GateWhiteDel_Handler,
  769. },
  770. {
  771. MethodName: "GateWhiteHouseholdList",
  772. Handler: _Device_GateWhiteHouseholdList_Handler,
  773. },
  774. {
  775. MethodName: "GateWhiteCardList",
  776. Handler: _Device_GateWhiteCardList_Handler,
  777. },
  778. {
  779. MethodName: "GateWhiteMatch",
  780. Handler: _Device_GateWhiteMatch_Handler,
  781. },
  782. {
  783. MethodName: "GateRecordAdd",
  784. Handler: _Device_GateRecordAdd_Handler,
  785. },
  786. {
  787. MethodName: "GateRecordList",
  788. Handler: _Device_GateRecordList_Handler,
  789. },
  790. {
  791. MethodName: "GateCommandUse",
  792. Handler: _Device_GateCommandUse_Handler,
  793. },
  794. {
  795. MethodName: "GateWhiteSync",
  796. Handler: _Device_GateWhiteSync_Handler,
  797. },
  798. {
  799. MethodName: "GateCommandResult",
  800. Handler: _Device_GateCommandResult_Handler,
  801. },
  802. {
  803. MethodName: "GateCommandAdd",
  804. Handler: _Device_GateCommandAdd_Handler,
  805. },
  806. {
  807. MethodName: "GateCommandList",
  808. Handler: _Device_GateCommandList_Handler,
  809. },
  810. },
  811. Streams: []grpc.StreamDesc{},
  812. Metadata: "device_service.proto",
  813. }