goverment_management.pb.go 74 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: goverment_management.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 "smart-government-management/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("goverment_management.proto", fileDescriptor_33e60eed1a4d425c)
  26. }
  27. var fileDescriptor_33e60eed1a4d425c = []byte{
  28. // 922 bytes of a gzipped FileDescriptorProto
  29. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x57, 0xef, 0x6f, 0x1b, 0x45,
  30. 0x10, 0x45, 0x48, 0xfc, 0xe8, 0x02, 0xa9, 0x73, 0x71, 0xda, 0xc6, 0x6d, 0x53, 0xb7, 0x5f, 0x51,
  31. 0x63, 0x19, 0x90, 0x2a, 0x21, 0x21, 0x61, 0x6a, 0x30, 0x41, 0x46, 0x58, 0x75, 0x02, 0x08, 0x24,
  32. 0xd0, 0xfa, 0xbc, 0x71, 0x8e, 0x9c, 0x77, 0x2f, 0xbb, 0xeb, 0x8b, 0xfc, 0x8d, 0x3f, 0xbd, 0xba,
  33. 0x9d, 0xdb, 0x1f, 0xb3, 0x77, 0x97, 0x6f, 0xde, 0xf7, 0xe6, 0x3d, 0xcf, 0xce, 0xcd, 0x8c, 0x7d,
  34. 0x64, 0xb0, 0x11, 0x25, 0x93, 0x5b, 0xc6, 0xf5, 0xbf, 0x5b, 0xca, 0xe9, 0x86, 0x55, 0x1f, 0xcf,
  35. 0x0a, 0x29, 0xb4, 0x48, 0x3e, 0x2c, 0x56, 0x83, 0xc3, 0x72, 0x3c, 0x52, 0xbb, 0xa2, 0xc8, 0x33,
  36. 0x26, 0x01, 0x1e, 0x3c, 0x2c, 0xc7, 0xa3, 0x35, 0x2b, 0xb3, 0x94, 0xd5, 0xc0, 0x17, 0xe5, 0x78,
  37. 0xb4, 0x53, 0x8e, 0xef, 0x95, 0xe3, 0x51, 0x2a, 0xb6, 0x05, 0xe5, 0xfb, 0x1a, 0x39, 0x28, 0xc7,
  38. 0x23, 0x9a, 0x53, 0xb9, 0x0d, 0x04, 0xeb, 0x9d, 0xd2, 0x01, 0xad, 0x34, 0xbd, 0xba, 0x0a, 0xce,
  39. 0x5a, 0xdc, 0x59, 0xc3, 0xaf, 0xfe, 0x7f, 0x42, 0x8e, 0x96, 0x5b, 0x2a, 0xf5, 0x32, 0xd3, 0x6c,
  40. 0x56, 0xe5, 0xcb, 0xab, 0x2c, 0x93, 0x9f, 0xc8, 0xc1, 0xd4, 0xe4, 0x71, 0xb1, 0x2f, 0xd8, 0x3c,
  41. 0x53, 0x3a, 0x39, 0x39, 0x2b, 0xc7, 0x67, 0x18, 0x7b, 0xc7, 0x6e, 0x77, 0x4c, 0xe9, 0xc1, 0xe3,
  42. 0x36, 0xaa, 0xc8, 0xf7, 0xaf, 0x3e, 0x48, 0x7e, 0x23, 0x87, 0x40, 0x4c, 0xf2, 0xdc, 0x59, 0x3d,
  43. 0xf3, 0xf1, 0x01, 0x6c, 0xdd, 0x06, 0x1d, 0x2c, 0x18, 0xbe, 0x21, 0x0f, 0x16, 0xbb, 0x55, 0x9e,
  44. 0xa5, 0x99, 0xde, 0x27, 0xfd, 0x2a, 0xd4, 0x1d, 0xad, 0x41, 0x12, 0xa1, 0x20, 0xfc, 0x9e, 0x7c,
  45. 0xbe, 0x90, 0xa2, 0xcc, 0xd6, 0x4c, 0x9a, 0x24, 0x4c, 0xd2, 0x21, 0x62, 0xe5, 0xc7, 0x4d, 0x02,
  46. 0x1c, 0xbe, 0x25, 0x04, 0xd2, 0x32, 0xfa, 0x63, 0x9f, 0x66, 0xa8, 0x3e, 0x8a, 0x61, 0xd0, 0x9e,
  47. 0x93, 0x87, 0xd6, 0x72, 0x52, 0x14, 0x52, 0x94, 0x2c, 0x19, 0x84, 0xdf, 0x53, 0x83, 0xd6, 0xe5,
  48. 0x49, 0x2b, 0x07, 0x56, 0x5f, 0x92, 0x8f, 0xe6, 0x62, 0x93, 0xf1, 0xa4, 0x57, 0x05, 0x99, 0x8f,
  49. 0x56, 0x76, 0x10, 0x20, 0xee, 0xd6, 0x3f, 0x6e, 0x69, 0x96, 0x2f, 0x24, 0x2b, 0xa8, 0x64, 0x70,
  50. 0xeb, 0x10, 0x41, 0xb7, 0xc6, 0x04, 0x38, 0x7c, 0x47, 0x3e, 0x33, 0xf0, 0x65, 0xb1, 0xa6, 0x9a,
  51. 0x25, 0x8f, 0x5c, 0x1c, 0x00, 0x56, 0xdf, 0x6f, 0xe0, 0x4e, 0xbe, 0xb8, 0x16, 0x9c, 0x85, 0xf2,
  52. 0x00, 0x40, 0x72, 0x84, 0x83, 0xfc, 0x1b, 0xf2, 0xe9, 0xa5, 0x62, 0xf2, 0x9c, 0x5f, 0x89, 0xc4,
  53. 0x94, 0xd6, 0x9e, 0xac, 0xf0, 0x10, 0x83, 0xa0, 0xaa, 0xba, 0x57, 0xa4, 0x37, 0x19, 0xdf, 0xd8,
  54. 0x62, 0x43, 0xf7, 0x22, 0x0c, 0x77, 0x6f, 0x44, 0xb9, 0xe4, 0xdf, 0xc2, 0xb4, 0x99, 0x47, 0x6e,
  55. 0x92, 0x0f, 0x00, 0x94, 0x3c, 0xc2, 0xfd, 0xdd, 0xa5, 0xf8, 0x8f, 0xa5, 0xda, 0xcb, 0x03, 0x00,
  56. 0xdf, 0x3d, 0xc4, 0x41, 0xfe, 0x37, 0x39, 0xae, 0xd1, 0xb7, 0xd7, 0x94, 0x6f, 0x58, 0x75, 0x43,
  57. 0x63, 0x34, 0x0c, 0x04, 0x98, 0xb2, 0x96, 0xa7, 0xf7, 0x44, 0xb8, 0x12, 0xd5, 0x19, 0xa3, 0x12,
  58. 0x61, 0x0c, 0x95, 0x28, 0xa6, 0xc0, 0x67, 0x4e, 0x7a, 0xd0, 0xed, 0x53, 0x96, 0xff, 0x22, 0x56,
  59. 0x26, 0xbf, 0xa7, 0x7e, 0x06, 0x3c, 0x6a, 0xbd, 0x4e, 0xda, 0x49, 0x5f, 0xf0, 0x6b, 0xca, 0x39,
  60. 0xcb, 0x83, 0x82, 0x7b, 0x00, 0x17, 0x3c, 0xc4, 0xdd, 0x72, 0xf8, 0x9d, 0xad, 0x33, 0xa8, 0x92,
  61. 0x09, 0x72, 0x47, 0xb4, 0x1c, 0x02, 0xd4, 0x8d, 0x09, 0x94, 0x69, 0x41, 0x95, 0xba, 0x5b, 0xc3,
  62. 0x98, 0x84, 0x08, 0x1a, 0x13, 0x4c, 0xb8, 0x46, 0x5d, 0x32, 0x6d, 0x3a, 0x18, 0x1a, 0xd5, 0x9e,
  63. 0x50, 0xa3, 0x7a, 0xd0, 0xa9, 0x66, 0x48, 0x35, 0x6b, 0x53, 0xcd, 0x22, 0xd5, 0x1b, 0xf2, 0xa0,
  64. 0x32, 0x82, 0x54, 0xfb, 0xd6, 0x17, 0xe5, 0x99, 0x44, 0xa8, 0xdb, 0x42, 0x50, 0xf9, 0xa5, 0xa6,
  65. 0x3a, 0x53, 0x3a, 0x4b, 0x93, 0x60, 0xdb, 0x3a, 0x10, 0x6d, 0xa1, 0x06, 0x07, 0x56, 0x97, 0xe4,
  66. 0xc8, 0x6f, 0x7c, 0x6f, 0x77, 0x8a, 0x7f, 0x0a, 0x1a, 0x96, 0xcf, 0x3a, 0x79, 0xd7, 0x4e, 0x75,
  67. 0xdb, 0x7a, 0xcf, 0xa7, 0x41, 0x33, 0x37, 0x0c, 0x4f, 0xda, 0x49, 0x70, 0xfb, 0x93, 0xf4, 0x6b,
  68. 0x0a, 0x67, 0xf9, 0x22, 0x10, 0xb5, 0xa6, 0xf9, 0xbc, 0x3b, 0xc0, 0x8d, 0xcf, 0xb2, 0xfa, 0x59,
  69. 0xf5, 0x9e, 0x26, 0x11, 0x8c, 0xa1, 0xf1, 0x89, 0x29, 0x77, 0xdf, 0x7a, 0xae, 0xa2, 0xfb, 0xc6,
  70. 0x28, 0xba, 0x6f, 0x93, 0x74, 0x8d, 0x31, 0xa9, 0xfe, 0x0b, 0xf8, 0xfe, 0x77, 0x47, 0xd4, 0x18,
  71. 0x01, 0xea, 0xe6, 0xce, 0x60, 0x3f, 0x53, 0xbe, 0xce, 0xeb, 0x2d, 0x1d, 0x00, 0x68, 0xee, 0x10,
  72. 0x0e, 0xf2, 0x31, 0xf9, 0x64, 0xba, 0x53, 0x7a, 0x72, 0x9b, 0x25, 0xc6, 0xbf, 0x3e, 0x58, 0x59,
  73. 0x0f, 0x61, 0x6e, 0xb9, 0xcd, 0xa9, 0x66, 0x4a, 0x57, 0xf8, 0xaf, 0x82, 0x67, 0x5a, 0xc8, 0x29,
  74. 0xd5, 0x14, 0x96, 0x5b, 0x2b, 0x85, 0x96, 0x5b, 0x47, 0x84, 0x1b, 0x67, 0x93, 0x65, 0xfd, 0x04,
  75. 0x61, 0x9c, 0x43, 0x04, 0x8d, 0x33, 0x26, 0x5c, 0xe7, 0x18, 0xf8, 0x1d, 0xa3, 0x4a, 0xf0, 0xa8,
  76. 0x73, 0xda, 0x18, 0xd4, 0x39, 0xed, 0x01, 0xd8, 0x39, 0x1e, 0x44, 0xef, 0xdc, 0x31, 0x8d, 0xcf,
  77. 0xbb, 0x03, 0xc0, 0xf9, 0x1f, 0xf2, 0xc8, 0xd0, 0xe7, 0x3c, 0x95, 0x8c, 0xaa, 0xc0, 0xfb, 0xa5,
  78. 0x93, 0x36, 0x38, 0xeb, 0xfe, 0xe2, 0xbe, 0x10, 0xf7, 0xc8, 0xa0, 0x54, 0x4c, 0xa6, 0x8c, 0x07,
  79. 0x03, 0x3a, 0xf4, 0x55, 0x8c, 0x28, 0xf4, 0xc8, 0x3a, 0x22, 0xdc, 0x3e, 0x31, 0x13, 0x82, 0xa6,
  80. 0x4d, 0xc1, 0x3e, 0x69, 0x21, 0xd0, 0x3e, 0x69, 0xe5, 0x5d, 0x4d, 0xe6, 0x74, 0x25, 0x64, 0x3c,
  81. 0x31, 0x0a, 0x6a, 0xd2, 0xce, 0xa1, 0x9a, 0x74, 0x85, 0x80, 0x3f, 0x25, 0x8f, 0xcd, 0xb7, 0xff,
  82. 0x21, 0xe4, 0x4d, 0x94, 0xfa, 0x2b, 0x97, 0x5a, 0x93, 0xb4, 0xdf, 0x30, 0xbc, 0x37, 0x26, 0xb8,
  83. 0x42, 0xd5, 0xec, 0x17, 0xd5, 0xff, 0xf6, 0x70, 0x54, 0x5e, 0xfa, 0x41, 0x88, 0xb9, 0xe8, 0x0a,
  84. 0xed, 0x21, 0xc6, 0xff, 0x87, 0xe1, 0x5f, 0xa7, 0xaa, 0x7a, 0x03, 0x78, 0xbd, 0x71, 0x7f, 0xff,
  85. 0x5f, 0xfb, 0xf7, 0x95, 0x51, 0xb1, 0x5a, 0x7d, 0x6c, 0xde, 0x15, 0xbe, 0x7e, 0x1f, 0x00, 0x00,
  86. 0xff, 0xff, 0xb5, 0x32, 0x75, 0x40, 0xd1, 0x0c, 0x00, 0x00,
  87. }
  88. // Reference imports to suppress errors if they are not otherwise used.
  89. var _ context.Context
  90. var _ grpc.ClientConnInterface
  91. // This is a compile-time assertion to ensure that this generated file
  92. // is compatible with the grpc package it is being compiled against.
  93. const _ = grpc.SupportPackageIsVersion6
  94. // SmartSiteGovernmentClient is the client API for SmartSiteGovernment service.
  95. //
  96. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  97. type SmartSiteGovernmentClient interface {
  98. // 设备类型列表
  99. DeviceTypeList(ctx context.Context, in *v1.DeviceTypeListRequest, opts ...grpc.CallOption) (*v1.DeviceTypeListReply, error)
  100. // 平台支持得设备类型
  101. DeviceAllTypeList(ctx context.Context, in *v1.DeviceAllTypeListRequest, opts ...grpc.CallOption) (*v1.DeviceAllTypeListReply, error)
  102. // 公示列表
  103. Publicity(ctx context.Context, in *v1.PublicityRequest, opts ...grpc.CallOption) (*v1.PublicityReply, error)
  104. // 供应商列表
  105. ProviderList(ctx context.Context, in *v1.ProviderListRequest, opts ...grpc.CallOption) (*v1.ProviderListReply, error)
  106. // 设备
  107. DeviceList(ctx context.Context, in *v1.DeviceListRequest, opts ...grpc.CallOption) (*v1.DeviceListReply, error)
  108. // 供应商注册审批,设备申报审批,设备拆机审批
  109. ProviderApprove(ctx context.Context, in *v1.ProviderApproveRequest, opts ...grpc.CallOption) (*v1.ProviderApproveReply, error)
  110. // 登录
  111. Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error)
  112. EmailPrepare(ctx context.Context, in *v1.EmailPrepareRequest, opts ...grpc.CallOption) (*v1.EmailPrepareReply, error)
  113. EmailUpdate(ctx context.Context, in *v1.EmailUpdateRequest, opts ...grpc.CallOption) (*v1.EmailUpdateReply, error)
  114. PhoneUpdate(ctx context.Context, in *v1.PhoneUpdateRequest, opts ...grpc.CallOption) (*v1.PhoneUpdateReply, error)
  115. UserInfo(ctx context.Context, in *v1.UserInfoRequest, opts ...grpc.CallOption) (*v1.UserInfoReply, error)
  116. // 设备对接测试审批,开发者调用
  117. DockingApprove(ctx context.Context, in *v1.DockingApproveRequest, opts ...grpc.CallOption) (*v1.DockingApproveReply, error)
  118. // 企业列表
  119. CompanyList(ctx context.Context, in *v1.CompanyListRequest, opts ...grpc.CallOption) (*v1.CompanyListReply, error)
  120. // 项目列表
  121. ProjectList(ctx context.Context, in *v1.ProjectListRequest, opts ...grpc.CallOption) (*v1.ProjectListReply, error)
  122. // 项目变更申报列表
  123. ProjectChangeInfoList(ctx context.Context, in *v1.ProjectChangeInfoListRequest, opts ...grpc.CallOption) (*v1.ProjectChangeInfoListReply, error)
  124. // 公司注册审批,项目添加审批,项目变更审批
  125. CompanyApprove(ctx context.Context, in *v1.CompanyApproveRequest, opts ...grpc.CallOption) (*v1.CompanyApproveReply, error)
  126. // 拆机申请列表
  127. DeviceDelJobList(ctx context.Context, in *v1.DeviceDelJobListRequest, opts ...grpc.CallOption) (*v1.DeviceDelJobListReply, error)
  128. ChannelList(ctx context.Context, in *v1.ChannelListRequest, opts ...grpc.CallOption) (*v1.ChannelListReply, error)
  129. VedioList(ctx context.Context, in *v1.VedioListRequest, opts ...grpc.CallOption) (*v1.VedioListReply, error)
  130. ChangePasswd(ctx context.Context, in *v1.ChangePasswdRequest, opts ...grpc.CallOption) (*v1.ChangePasswdReply, error)
  131. SetPhone(ctx context.Context, in *v1.SetPhoneRequest, opts ...grpc.CallOption) (*v1.SetPhoneReply, error)
  132. GetPhone(ctx context.Context, in *v1.GetPhoneRequest, opts ...grpc.CallOption) (*v1.GetPhoneReply, error)
  133. SetPasswd(ctx context.Context, in *v1.SetPasswdRequest, opts ...grpc.CallOption) (*v1.SetPasswdReply, error)
  134. DeviceStatistic(ctx context.Context, in *v1.DeviceStatisticRequest, opts ...grpc.CallOption) (*v1.DeviceStatisticReply, error)
  135. DeviceTypeStatistic(ctx context.Context, in *v1.DeviceTypeStatisticRequest, opts ...grpc.CallOption) (*v1.DeviceTypeStatisticReply, error)
  136. ProjectStatistic(ctx context.Context, in *v1.ProjectStatisticRequest, opts ...grpc.CallOption) (*v1.ProjectStatisticReply, error)
  137. ProjectTypeStatistic(ctx context.Context, in *v1.ProjectTypeStatisticRequest, opts ...grpc.CallOption) (*v1.ProjectTypeStatisticReply, error)
  138. StaffStatistic(ctx context.Context, in *v1.StaffStatisticRequest, opts ...grpc.CallOption) (*v1.StaffStatisticReply, error)
  139. CompanyStatistic(ctx context.Context, in *v1.CompanyStatisticRequest, opts ...grpc.CallOption) (*v1.CompanyStatisticReply, error)
  140. AlarmList(ctx context.Context, in *v1.AlarmListRequest, opts ...grpc.CallOption) (*v1.AlarmListReply, error)
  141. AlarmHandle(ctx context.Context, in *v1.AlarmHandleRequest, opts ...grpc.CallOption) (*v1.AlarmHandleReply, error)
  142. DustAqi(ctx context.Context, in *v1.DustAqiRequest, opts ...grpc.CallOption) (*v1.DustAqiReply, error)
  143. // 最近一次扬尘监控数据
  144. LatestDustMonitorData(ctx context.Context, in *v1.LatestDustMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestDustMonitorDataReply, error)
  145. AlarmProject(ctx context.Context, in *v1.AlarmProjectRequest, opts ...grpc.CallOption) (*v1.AlarmProjectReply, error)
  146. AlarmReasonStatistic(ctx context.Context, in *v1.AlarmReasonStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmReasonStatisticReply, error)
  147. AlarmDeviceStatistic(ctx context.Context, in *v1.AlarmDeviceStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmDeviceStatisticReply, error)
  148. AlarmIncreaseStatistic(ctx context.Context, in *v1.AlarmIncreaseStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmIncreaseStatisticReply, error)
  149. AlarmPercentStatistic(ctx context.Context, in *v1.AlarmPercentStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmPercentStatisticReply, error)
  150. StaffTypeStatistics(ctx context.Context, in *v1.StaffTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffTypeStatisticsReply, error)
  151. LaborCompanyStatistics(ctx context.Context, in *v1.LaborCompanyStatisticsRequest, opts ...grpc.CallOption) (*v1.LaborCompanyStatisticsReply, error)
  152. StaffWorkTypeStatistics(ctx context.Context, in *v1.StaffWorkTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffWorkTypeStatisticsReply, error)
  153. LatestTowerMonitorData(ctx context.Context, in *v1.LatestTowerMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestTowerMonitorDataReply, error)
  154. }
  155. type smartSiteGovernmentClient struct {
  156. cc grpc.ClientConnInterface
  157. }
  158. func NewSmartSiteGovernmentClient(cc grpc.ClientConnInterface) SmartSiteGovernmentClient {
  159. return &smartSiteGovernmentClient{cc}
  160. }
  161. func (c *smartSiteGovernmentClient) DeviceTypeList(ctx context.Context, in *v1.DeviceTypeListRequest, opts ...grpc.CallOption) (*v1.DeviceTypeListReply, error) {
  162. out := new(v1.DeviceTypeListReply)
  163. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DeviceTypeList", in, out, opts...)
  164. if err != nil {
  165. return nil, err
  166. }
  167. return out, nil
  168. }
  169. func (c *smartSiteGovernmentClient) DeviceAllTypeList(ctx context.Context, in *v1.DeviceAllTypeListRequest, opts ...grpc.CallOption) (*v1.DeviceAllTypeListReply, error) {
  170. out := new(v1.DeviceAllTypeListReply)
  171. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DeviceAllTypeList", in, out, opts...)
  172. if err != nil {
  173. return nil, err
  174. }
  175. return out, nil
  176. }
  177. func (c *smartSiteGovernmentClient) Publicity(ctx context.Context, in *v1.PublicityRequest, opts ...grpc.CallOption) (*v1.PublicityReply, error) {
  178. out := new(v1.PublicityReply)
  179. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/Publicity", in, out, opts...)
  180. if err != nil {
  181. return nil, err
  182. }
  183. return out, nil
  184. }
  185. func (c *smartSiteGovernmentClient) ProviderList(ctx context.Context, in *v1.ProviderListRequest, opts ...grpc.CallOption) (*v1.ProviderListReply, error) {
  186. out := new(v1.ProviderListReply)
  187. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ProviderList", in, out, opts...)
  188. if err != nil {
  189. return nil, err
  190. }
  191. return out, nil
  192. }
  193. func (c *smartSiteGovernmentClient) DeviceList(ctx context.Context, in *v1.DeviceListRequest, opts ...grpc.CallOption) (*v1.DeviceListReply, error) {
  194. out := new(v1.DeviceListReply)
  195. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DeviceList", in, out, opts...)
  196. if err != nil {
  197. return nil, err
  198. }
  199. return out, nil
  200. }
  201. func (c *smartSiteGovernmentClient) ProviderApprove(ctx context.Context, in *v1.ProviderApproveRequest, opts ...grpc.CallOption) (*v1.ProviderApproveReply, error) {
  202. out := new(v1.ProviderApproveReply)
  203. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ProviderApprove", in, out, opts...)
  204. if err != nil {
  205. return nil, err
  206. }
  207. return out, nil
  208. }
  209. func (c *smartSiteGovernmentClient) Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error) {
  210. out := new(v1.LoginReply)
  211. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/Login", in, out, opts...)
  212. if err != nil {
  213. return nil, err
  214. }
  215. return out, nil
  216. }
  217. func (c *smartSiteGovernmentClient) EmailPrepare(ctx context.Context, in *v1.EmailPrepareRequest, opts ...grpc.CallOption) (*v1.EmailPrepareReply, error) {
  218. out := new(v1.EmailPrepareReply)
  219. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/EmailPrepare", in, out, opts...)
  220. if err != nil {
  221. return nil, err
  222. }
  223. return out, nil
  224. }
  225. func (c *smartSiteGovernmentClient) EmailUpdate(ctx context.Context, in *v1.EmailUpdateRequest, opts ...grpc.CallOption) (*v1.EmailUpdateReply, error) {
  226. out := new(v1.EmailUpdateReply)
  227. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/EmailUpdate", in, out, opts...)
  228. if err != nil {
  229. return nil, err
  230. }
  231. return out, nil
  232. }
  233. func (c *smartSiteGovernmentClient) PhoneUpdate(ctx context.Context, in *v1.PhoneUpdateRequest, opts ...grpc.CallOption) (*v1.PhoneUpdateReply, error) {
  234. out := new(v1.PhoneUpdateReply)
  235. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/PhoneUpdate", in, out, opts...)
  236. if err != nil {
  237. return nil, err
  238. }
  239. return out, nil
  240. }
  241. func (c *smartSiteGovernmentClient) UserInfo(ctx context.Context, in *v1.UserInfoRequest, opts ...grpc.CallOption) (*v1.UserInfoReply, error) {
  242. out := new(v1.UserInfoReply)
  243. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/UserInfo", in, out, opts...)
  244. if err != nil {
  245. return nil, err
  246. }
  247. return out, nil
  248. }
  249. func (c *smartSiteGovernmentClient) DockingApprove(ctx context.Context, in *v1.DockingApproveRequest, opts ...grpc.CallOption) (*v1.DockingApproveReply, error) {
  250. out := new(v1.DockingApproveReply)
  251. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DockingApprove", in, out, opts...)
  252. if err != nil {
  253. return nil, err
  254. }
  255. return out, nil
  256. }
  257. func (c *smartSiteGovernmentClient) CompanyList(ctx context.Context, in *v1.CompanyListRequest, opts ...grpc.CallOption) (*v1.CompanyListReply, error) {
  258. out := new(v1.CompanyListReply)
  259. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/CompanyList", in, out, opts...)
  260. if err != nil {
  261. return nil, err
  262. }
  263. return out, nil
  264. }
  265. func (c *smartSiteGovernmentClient) ProjectList(ctx context.Context, in *v1.ProjectListRequest, opts ...grpc.CallOption) (*v1.ProjectListReply, error) {
  266. out := new(v1.ProjectListReply)
  267. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ProjectList", in, out, opts...)
  268. if err != nil {
  269. return nil, err
  270. }
  271. return out, nil
  272. }
  273. func (c *smartSiteGovernmentClient) ProjectChangeInfoList(ctx context.Context, in *v1.ProjectChangeInfoListRequest, opts ...grpc.CallOption) (*v1.ProjectChangeInfoListReply, error) {
  274. out := new(v1.ProjectChangeInfoListReply)
  275. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ProjectChangeInfoList", in, out, opts...)
  276. if err != nil {
  277. return nil, err
  278. }
  279. return out, nil
  280. }
  281. func (c *smartSiteGovernmentClient) CompanyApprove(ctx context.Context, in *v1.CompanyApproveRequest, opts ...grpc.CallOption) (*v1.CompanyApproveReply, error) {
  282. out := new(v1.CompanyApproveReply)
  283. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/CompanyApprove", in, out, opts...)
  284. if err != nil {
  285. return nil, err
  286. }
  287. return out, nil
  288. }
  289. func (c *smartSiteGovernmentClient) DeviceDelJobList(ctx context.Context, in *v1.DeviceDelJobListRequest, opts ...grpc.CallOption) (*v1.DeviceDelJobListReply, error) {
  290. out := new(v1.DeviceDelJobListReply)
  291. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DeviceDelJobList", in, out, opts...)
  292. if err != nil {
  293. return nil, err
  294. }
  295. return out, nil
  296. }
  297. func (c *smartSiteGovernmentClient) ChannelList(ctx context.Context, in *v1.ChannelListRequest, opts ...grpc.CallOption) (*v1.ChannelListReply, error) {
  298. out := new(v1.ChannelListReply)
  299. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ChannelList", in, out, opts...)
  300. if err != nil {
  301. return nil, err
  302. }
  303. return out, nil
  304. }
  305. func (c *smartSiteGovernmentClient) VedioList(ctx context.Context, in *v1.VedioListRequest, opts ...grpc.CallOption) (*v1.VedioListReply, error) {
  306. out := new(v1.VedioListReply)
  307. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/VedioList", in, out, opts...)
  308. if err != nil {
  309. return nil, err
  310. }
  311. return out, nil
  312. }
  313. func (c *smartSiteGovernmentClient) ChangePasswd(ctx context.Context, in *v1.ChangePasswdRequest, opts ...grpc.CallOption) (*v1.ChangePasswdReply, error) {
  314. out := new(v1.ChangePasswdReply)
  315. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ChangePasswd", in, out, opts...)
  316. if err != nil {
  317. return nil, err
  318. }
  319. return out, nil
  320. }
  321. func (c *smartSiteGovernmentClient) SetPhone(ctx context.Context, in *v1.SetPhoneRequest, opts ...grpc.CallOption) (*v1.SetPhoneReply, error) {
  322. out := new(v1.SetPhoneReply)
  323. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/SetPhone", in, out, opts...)
  324. if err != nil {
  325. return nil, err
  326. }
  327. return out, nil
  328. }
  329. func (c *smartSiteGovernmentClient) GetPhone(ctx context.Context, in *v1.GetPhoneRequest, opts ...grpc.CallOption) (*v1.GetPhoneReply, error) {
  330. out := new(v1.GetPhoneReply)
  331. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/GetPhone", in, out, opts...)
  332. if err != nil {
  333. return nil, err
  334. }
  335. return out, nil
  336. }
  337. func (c *smartSiteGovernmentClient) SetPasswd(ctx context.Context, in *v1.SetPasswdRequest, opts ...grpc.CallOption) (*v1.SetPasswdReply, error) {
  338. out := new(v1.SetPasswdReply)
  339. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/SetPasswd", in, out, opts...)
  340. if err != nil {
  341. return nil, err
  342. }
  343. return out, nil
  344. }
  345. func (c *smartSiteGovernmentClient) DeviceStatistic(ctx context.Context, in *v1.DeviceStatisticRequest, opts ...grpc.CallOption) (*v1.DeviceStatisticReply, error) {
  346. out := new(v1.DeviceStatisticReply)
  347. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DeviceStatistic", in, out, opts...)
  348. if err != nil {
  349. return nil, err
  350. }
  351. return out, nil
  352. }
  353. func (c *smartSiteGovernmentClient) DeviceTypeStatistic(ctx context.Context, in *v1.DeviceTypeStatisticRequest, opts ...grpc.CallOption) (*v1.DeviceTypeStatisticReply, error) {
  354. out := new(v1.DeviceTypeStatisticReply)
  355. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DeviceTypeStatistic", in, out, opts...)
  356. if err != nil {
  357. return nil, err
  358. }
  359. return out, nil
  360. }
  361. func (c *smartSiteGovernmentClient) ProjectStatistic(ctx context.Context, in *v1.ProjectStatisticRequest, opts ...grpc.CallOption) (*v1.ProjectStatisticReply, error) {
  362. out := new(v1.ProjectStatisticReply)
  363. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ProjectStatistic", in, out, opts...)
  364. if err != nil {
  365. return nil, err
  366. }
  367. return out, nil
  368. }
  369. func (c *smartSiteGovernmentClient) ProjectTypeStatistic(ctx context.Context, in *v1.ProjectTypeStatisticRequest, opts ...grpc.CallOption) (*v1.ProjectTypeStatisticReply, error) {
  370. out := new(v1.ProjectTypeStatisticReply)
  371. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ProjectTypeStatistic", in, out, opts...)
  372. if err != nil {
  373. return nil, err
  374. }
  375. return out, nil
  376. }
  377. func (c *smartSiteGovernmentClient) StaffStatistic(ctx context.Context, in *v1.StaffStatisticRequest, opts ...grpc.CallOption) (*v1.StaffStatisticReply, error) {
  378. out := new(v1.StaffStatisticReply)
  379. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/StaffStatistic", in, out, opts...)
  380. if err != nil {
  381. return nil, err
  382. }
  383. return out, nil
  384. }
  385. func (c *smartSiteGovernmentClient) CompanyStatistic(ctx context.Context, in *v1.CompanyStatisticRequest, opts ...grpc.CallOption) (*v1.CompanyStatisticReply, error) {
  386. out := new(v1.CompanyStatisticReply)
  387. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/CompanyStatistic", in, out, opts...)
  388. if err != nil {
  389. return nil, err
  390. }
  391. return out, nil
  392. }
  393. func (c *smartSiteGovernmentClient) AlarmList(ctx context.Context, in *v1.AlarmListRequest, opts ...grpc.CallOption) (*v1.AlarmListReply, error) {
  394. out := new(v1.AlarmListReply)
  395. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmList", in, out, opts...)
  396. if err != nil {
  397. return nil, err
  398. }
  399. return out, nil
  400. }
  401. func (c *smartSiteGovernmentClient) AlarmHandle(ctx context.Context, in *v1.AlarmHandleRequest, opts ...grpc.CallOption) (*v1.AlarmHandleReply, error) {
  402. out := new(v1.AlarmHandleReply)
  403. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmHandle", in, out, opts...)
  404. if err != nil {
  405. return nil, err
  406. }
  407. return out, nil
  408. }
  409. func (c *smartSiteGovernmentClient) DustAqi(ctx context.Context, in *v1.DustAqiRequest, opts ...grpc.CallOption) (*v1.DustAqiReply, error) {
  410. out := new(v1.DustAqiReply)
  411. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DustAqi", in, out, opts...)
  412. if err != nil {
  413. return nil, err
  414. }
  415. return out, nil
  416. }
  417. func (c *smartSiteGovernmentClient) LatestDustMonitorData(ctx context.Context, in *v1.LatestDustMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestDustMonitorDataReply, error) {
  418. out := new(v1.LatestDustMonitorDataReply)
  419. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/LatestDustMonitorData", in, out, opts...)
  420. if err != nil {
  421. return nil, err
  422. }
  423. return out, nil
  424. }
  425. func (c *smartSiteGovernmentClient) AlarmProject(ctx context.Context, in *v1.AlarmProjectRequest, opts ...grpc.CallOption) (*v1.AlarmProjectReply, error) {
  426. out := new(v1.AlarmProjectReply)
  427. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmProject", in, out, opts...)
  428. if err != nil {
  429. return nil, err
  430. }
  431. return out, nil
  432. }
  433. func (c *smartSiteGovernmentClient) AlarmReasonStatistic(ctx context.Context, in *v1.AlarmReasonStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmReasonStatisticReply, error) {
  434. out := new(v1.AlarmReasonStatisticReply)
  435. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmReasonStatistic", in, out, opts...)
  436. if err != nil {
  437. return nil, err
  438. }
  439. return out, nil
  440. }
  441. func (c *smartSiteGovernmentClient) AlarmDeviceStatistic(ctx context.Context, in *v1.AlarmDeviceStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmDeviceStatisticReply, error) {
  442. out := new(v1.AlarmDeviceStatisticReply)
  443. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmDeviceStatistic", in, out, opts...)
  444. if err != nil {
  445. return nil, err
  446. }
  447. return out, nil
  448. }
  449. func (c *smartSiteGovernmentClient) AlarmIncreaseStatistic(ctx context.Context, in *v1.AlarmIncreaseStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmIncreaseStatisticReply, error) {
  450. out := new(v1.AlarmIncreaseStatisticReply)
  451. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmIncreaseStatistic", in, out, opts...)
  452. if err != nil {
  453. return nil, err
  454. }
  455. return out, nil
  456. }
  457. func (c *smartSiteGovernmentClient) AlarmPercentStatistic(ctx context.Context, in *v1.AlarmPercentStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmPercentStatisticReply, error) {
  458. out := new(v1.AlarmPercentStatisticReply)
  459. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmPercentStatistic", in, out, opts...)
  460. if err != nil {
  461. return nil, err
  462. }
  463. return out, nil
  464. }
  465. func (c *smartSiteGovernmentClient) StaffTypeStatistics(ctx context.Context, in *v1.StaffTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffTypeStatisticsReply, error) {
  466. out := new(v1.StaffTypeStatisticsReply)
  467. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/StaffTypeStatistics", in, out, opts...)
  468. if err != nil {
  469. return nil, err
  470. }
  471. return out, nil
  472. }
  473. func (c *smartSiteGovernmentClient) LaborCompanyStatistics(ctx context.Context, in *v1.LaborCompanyStatisticsRequest, opts ...grpc.CallOption) (*v1.LaborCompanyStatisticsReply, error) {
  474. out := new(v1.LaborCompanyStatisticsReply)
  475. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/LaborCompanyStatistics", in, out, opts...)
  476. if err != nil {
  477. return nil, err
  478. }
  479. return out, nil
  480. }
  481. func (c *smartSiteGovernmentClient) StaffWorkTypeStatistics(ctx context.Context, in *v1.StaffWorkTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffWorkTypeStatisticsReply, error) {
  482. out := new(v1.StaffWorkTypeStatisticsReply)
  483. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/StaffWorkTypeStatistics", in, out, opts...)
  484. if err != nil {
  485. return nil, err
  486. }
  487. return out, nil
  488. }
  489. func (c *smartSiteGovernmentClient) LatestTowerMonitorData(ctx context.Context, in *v1.LatestTowerMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestTowerMonitorDataReply, error) {
  490. out := new(v1.LatestTowerMonitorDataReply)
  491. err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/LatestTowerMonitorData", in, out, opts...)
  492. if err != nil {
  493. return nil, err
  494. }
  495. return out, nil
  496. }
  497. // SmartSiteGovernmentServer is the server API for SmartSiteGovernment service.
  498. type SmartSiteGovernmentServer interface {
  499. // 设备类型列表
  500. DeviceTypeList(context.Context, *v1.DeviceTypeListRequest) (*v1.DeviceTypeListReply, error)
  501. // 平台支持得设备类型
  502. DeviceAllTypeList(context.Context, *v1.DeviceAllTypeListRequest) (*v1.DeviceAllTypeListReply, error)
  503. // 公示列表
  504. Publicity(context.Context, *v1.PublicityRequest) (*v1.PublicityReply, error)
  505. // 供应商列表
  506. ProviderList(context.Context, *v1.ProviderListRequest) (*v1.ProviderListReply, error)
  507. // 设备
  508. DeviceList(context.Context, *v1.DeviceListRequest) (*v1.DeviceListReply, error)
  509. // 供应商注册审批,设备申报审批,设备拆机审批
  510. ProviderApprove(context.Context, *v1.ProviderApproveRequest) (*v1.ProviderApproveReply, error)
  511. // 登录
  512. Login(context.Context, *v1.LoginRequest) (*v1.LoginReply, error)
  513. EmailPrepare(context.Context, *v1.EmailPrepareRequest) (*v1.EmailPrepareReply, error)
  514. EmailUpdate(context.Context, *v1.EmailUpdateRequest) (*v1.EmailUpdateReply, error)
  515. PhoneUpdate(context.Context, *v1.PhoneUpdateRequest) (*v1.PhoneUpdateReply, error)
  516. UserInfo(context.Context, *v1.UserInfoRequest) (*v1.UserInfoReply, error)
  517. // 设备对接测试审批,开发者调用
  518. DockingApprove(context.Context, *v1.DockingApproveRequest) (*v1.DockingApproveReply, error)
  519. // 企业列表
  520. CompanyList(context.Context, *v1.CompanyListRequest) (*v1.CompanyListReply, error)
  521. // 项目列表
  522. ProjectList(context.Context, *v1.ProjectListRequest) (*v1.ProjectListReply, error)
  523. // 项目变更申报列表
  524. ProjectChangeInfoList(context.Context, *v1.ProjectChangeInfoListRequest) (*v1.ProjectChangeInfoListReply, error)
  525. // 公司注册审批,项目添加审批,项目变更审批
  526. CompanyApprove(context.Context, *v1.CompanyApproveRequest) (*v1.CompanyApproveReply, error)
  527. // 拆机申请列表
  528. DeviceDelJobList(context.Context, *v1.DeviceDelJobListRequest) (*v1.DeviceDelJobListReply, error)
  529. ChannelList(context.Context, *v1.ChannelListRequest) (*v1.ChannelListReply, error)
  530. VedioList(context.Context, *v1.VedioListRequest) (*v1.VedioListReply, error)
  531. ChangePasswd(context.Context, *v1.ChangePasswdRequest) (*v1.ChangePasswdReply, error)
  532. SetPhone(context.Context, *v1.SetPhoneRequest) (*v1.SetPhoneReply, error)
  533. GetPhone(context.Context, *v1.GetPhoneRequest) (*v1.GetPhoneReply, error)
  534. SetPasswd(context.Context, *v1.SetPasswdRequest) (*v1.SetPasswdReply, error)
  535. DeviceStatistic(context.Context, *v1.DeviceStatisticRequest) (*v1.DeviceStatisticReply, error)
  536. DeviceTypeStatistic(context.Context, *v1.DeviceTypeStatisticRequest) (*v1.DeviceTypeStatisticReply, error)
  537. ProjectStatistic(context.Context, *v1.ProjectStatisticRequest) (*v1.ProjectStatisticReply, error)
  538. ProjectTypeStatistic(context.Context, *v1.ProjectTypeStatisticRequest) (*v1.ProjectTypeStatisticReply, error)
  539. StaffStatistic(context.Context, *v1.StaffStatisticRequest) (*v1.StaffStatisticReply, error)
  540. CompanyStatistic(context.Context, *v1.CompanyStatisticRequest) (*v1.CompanyStatisticReply, error)
  541. AlarmList(context.Context, *v1.AlarmListRequest) (*v1.AlarmListReply, error)
  542. AlarmHandle(context.Context, *v1.AlarmHandleRequest) (*v1.AlarmHandleReply, error)
  543. DustAqi(context.Context, *v1.DustAqiRequest) (*v1.DustAqiReply, error)
  544. // 最近一次扬尘监控数据
  545. LatestDustMonitorData(context.Context, *v1.LatestDustMonitorDataRequest) (*v1.LatestDustMonitorDataReply, error)
  546. AlarmProject(context.Context, *v1.AlarmProjectRequest) (*v1.AlarmProjectReply, error)
  547. AlarmReasonStatistic(context.Context, *v1.AlarmReasonStatisticRequest) (*v1.AlarmReasonStatisticReply, error)
  548. AlarmDeviceStatistic(context.Context, *v1.AlarmDeviceStatisticRequest) (*v1.AlarmDeviceStatisticReply, error)
  549. AlarmIncreaseStatistic(context.Context, *v1.AlarmIncreaseStatisticRequest) (*v1.AlarmIncreaseStatisticReply, error)
  550. AlarmPercentStatistic(context.Context, *v1.AlarmPercentStatisticRequest) (*v1.AlarmPercentStatisticReply, error)
  551. StaffTypeStatistics(context.Context, *v1.StaffTypeStatisticsRequest) (*v1.StaffTypeStatisticsReply, error)
  552. LaborCompanyStatistics(context.Context, *v1.LaborCompanyStatisticsRequest) (*v1.LaborCompanyStatisticsReply, error)
  553. StaffWorkTypeStatistics(context.Context, *v1.StaffWorkTypeStatisticsRequest) (*v1.StaffWorkTypeStatisticsReply, error)
  554. LatestTowerMonitorData(context.Context, *v1.LatestTowerMonitorDataRequest) (*v1.LatestTowerMonitorDataReply, error)
  555. }
  556. // UnimplementedSmartSiteGovernmentServer can be embedded to have forward compatible implementations.
  557. type UnimplementedSmartSiteGovernmentServer struct {
  558. }
  559. func (*UnimplementedSmartSiteGovernmentServer) DeviceTypeList(ctx context.Context, req *v1.DeviceTypeListRequest) (*v1.DeviceTypeListReply, error) {
  560. return nil, status.Errorf(codes.Unimplemented, "method DeviceTypeList not implemented")
  561. }
  562. func (*UnimplementedSmartSiteGovernmentServer) DeviceAllTypeList(ctx context.Context, req *v1.DeviceAllTypeListRequest) (*v1.DeviceAllTypeListReply, error) {
  563. return nil, status.Errorf(codes.Unimplemented, "method DeviceAllTypeList not implemented")
  564. }
  565. func (*UnimplementedSmartSiteGovernmentServer) Publicity(ctx context.Context, req *v1.PublicityRequest) (*v1.PublicityReply, error) {
  566. return nil, status.Errorf(codes.Unimplemented, "method Publicity not implemented")
  567. }
  568. func (*UnimplementedSmartSiteGovernmentServer) ProviderList(ctx context.Context, req *v1.ProviderListRequest) (*v1.ProviderListReply, error) {
  569. return nil, status.Errorf(codes.Unimplemented, "method ProviderList not implemented")
  570. }
  571. func (*UnimplementedSmartSiteGovernmentServer) DeviceList(ctx context.Context, req *v1.DeviceListRequest) (*v1.DeviceListReply, error) {
  572. return nil, status.Errorf(codes.Unimplemented, "method DeviceList not implemented")
  573. }
  574. func (*UnimplementedSmartSiteGovernmentServer) ProviderApprove(ctx context.Context, req *v1.ProviderApproveRequest) (*v1.ProviderApproveReply, error) {
  575. return nil, status.Errorf(codes.Unimplemented, "method ProviderApprove not implemented")
  576. }
  577. func (*UnimplementedSmartSiteGovernmentServer) Login(ctx context.Context, req *v1.LoginRequest) (*v1.LoginReply, error) {
  578. return nil, status.Errorf(codes.Unimplemented, "method Login not implemented")
  579. }
  580. func (*UnimplementedSmartSiteGovernmentServer) EmailPrepare(ctx context.Context, req *v1.EmailPrepareRequest) (*v1.EmailPrepareReply, error) {
  581. return nil, status.Errorf(codes.Unimplemented, "method EmailPrepare not implemented")
  582. }
  583. func (*UnimplementedSmartSiteGovernmentServer) EmailUpdate(ctx context.Context, req *v1.EmailUpdateRequest) (*v1.EmailUpdateReply, error) {
  584. return nil, status.Errorf(codes.Unimplemented, "method EmailUpdate not implemented")
  585. }
  586. func (*UnimplementedSmartSiteGovernmentServer) PhoneUpdate(ctx context.Context, req *v1.PhoneUpdateRequest) (*v1.PhoneUpdateReply, error) {
  587. return nil, status.Errorf(codes.Unimplemented, "method PhoneUpdate not implemented")
  588. }
  589. func (*UnimplementedSmartSiteGovernmentServer) UserInfo(ctx context.Context, req *v1.UserInfoRequest) (*v1.UserInfoReply, error) {
  590. return nil, status.Errorf(codes.Unimplemented, "method UserInfo not implemented")
  591. }
  592. func (*UnimplementedSmartSiteGovernmentServer) DockingApprove(ctx context.Context, req *v1.DockingApproveRequest) (*v1.DockingApproveReply, error) {
  593. return nil, status.Errorf(codes.Unimplemented, "method DockingApprove not implemented")
  594. }
  595. func (*UnimplementedSmartSiteGovernmentServer) CompanyList(ctx context.Context, req *v1.CompanyListRequest) (*v1.CompanyListReply, error) {
  596. return nil, status.Errorf(codes.Unimplemented, "method CompanyList not implemented")
  597. }
  598. func (*UnimplementedSmartSiteGovernmentServer) ProjectList(ctx context.Context, req *v1.ProjectListRequest) (*v1.ProjectListReply, error) {
  599. return nil, status.Errorf(codes.Unimplemented, "method ProjectList not implemented")
  600. }
  601. func (*UnimplementedSmartSiteGovernmentServer) ProjectChangeInfoList(ctx context.Context, req *v1.ProjectChangeInfoListRequest) (*v1.ProjectChangeInfoListReply, error) {
  602. return nil, status.Errorf(codes.Unimplemented, "method ProjectChangeInfoList not implemented")
  603. }
  604. func (*UnimplementedSmartSiteGovernmentServer) CompanyApprove(ctx context.Context, req *v1.CompanyApproveRequest) (*v1.CompanyApproveReply, error) {
  605. return nil, status.Errorf(codes.Unimplemented, "method CompanyApprove not implemented")
  606. }
  607. func (*UnimplementedSmartSiteGovernmentServer) DeviceDelJobList(ctx context.Context, req *v1.DeviceDelJobListRequest) (*v1.DeviceDelJobListReply, error) {
  608. return nil, status.Errorf(codes.Unimplemented, "method DeviceDelJobList not implemented")
  609. }
  610. func (*UnimplementedSmartSiteGovernmentServer) ChannelList(ctx context.Context, req *v1.ChannelListRequest) (*v1.ChannelListReply, error) {
  611. return nil, status.Errorf(codes.Unimplemented, "method ChannelList not implemented")
  612. }
  613. func (*UnimplementedSmartSiteGovernmentServer) VedioList(ctx context.Context, req *v1.VedioListRequest) (*v1.VedioListReply, error) {
  614. return nil, status.Errorf(codes.Unimplemented, "method VedioList not implemented")
  615. }
  616. func (*UnimplementedSmartSiteGovernmentServer) ChangePasswd(ctx context.Context, req *v1.ChangePasswdRequest) (*v1.ChangePasswdReply, error) {
  617. return nil, status.Errorf(codes.Unimplemented, "method ChangePasswd not implemented")
  618. }
  619. func (*UnimplementedSmartSiteGovernmentServer) SetPhone(ctx context.Context, req *v1.SetPhoneRequest) (*v1.SetPhoneReply, error) {
  620. return nil, status.Errorf(codes.Unimplemented, "method SetPhone not implemented")
  621. }
  622. func (*UnimplementedSmartSiteGovernmentServer) GetPhone(ctx context.Context, req *v1.GetPhoneRequest) (*v1.GetPhoneReply, error) {
  623. return nil, status.Errorf(codes.Unimplemented, "method GetPhone not implemented")
  624. }
  625. func (*UnimplementedSmartSiteGovernmentServer) SetPasswd(ctx context.Context, req *v1.SetPasswdRequest) (*v1.SetPasswdReply, error) {
  626. return nil, status.Errorf(codes.Unimplemented, "method SetPasswd not implemented")
  627. }
  628. func (*UnimplementedSmartSiteGovernmentServer) DeviceStatistic(ctx context.Context, req *v1.DeviceStatisticRequest) (*v1.DeviceStatisticReply, error) {
  629. return nil, status.Errorf(codes.Unimplemented, "method DeviceStatistic not implemented")
  630. }
  631. func (*UnimplementedSmartSiteGovernmentServer) DeviceTypeStatistic(ctx context.Context, req *v1.DeviceTypeStatisticRequest) (*v1.DeviceTypeStatisticReply, error) {
  632. return nil, status.Errorf(codes.Unimplemented, "method DeviceTypeStatistic not implemented")
  633. }
  634. func (*UnimplementedSmartSiteGovernmentServer) ProjectStatistic(ctx context.Context, req *v1.ProjectStatisticRequest) (*v1.ProjectStatisticReply, error) {
  635. return nil, status.Errorf(codes.Unimplemented, "method ProjectStatistic not implemented")
  636. }
  637. func (*UnimplementedSmartSiteGovernmentServer) ProjectTypeStatistic(ctx context.Context, req *v1.ProjectTypeStatisticRequest) (*v1.ProjectTypeStatisticReply, error) {
  638. return nil, status.Errorf(codes.Unimplemented, "method ProjectTypeStatistic not implemented")
  639. }
  640. func (*UnimplementedSmartSiteGovernmentServer) StaffStatistic(ctx context.Context, req *v1.StaffStatisticRequest) (*v1.StaffStatisticReply, error) {
  641. return nil, status.Errorf(codes.Unimplemented, "method StaffStatistic not implemented")
  642. }
  643. func (*UnimplementedSmartSiteGovernmentServer) CompanyStatistic(ctx context.Context, req *v1.CompanyStatisticRequest) (*v1.CompanyStatisticReply, error) {
  644. return nil, status.Errorf(codes.Unimplemented, "method CompanyStatistic not implemented")
  645. }
  646. func (*UnimplementedSmartSiteGovernmentServer) AlarmList(ctx context.Context, req *v1.AlarmListRequest) (*v1.AlarmListReply, error) {
  647. return nil, status.Errorf(codes.Unimplemented, "method AlarmList not implemented")
  648. }
  649. func (*UnimplementedSmartSiteGovernmentServer) AlarmHandle(ctx context.Context, req *v1.AlarmHandleRequest) (*v1.AlarmHandleReply, error) {
  650. return nil, status.Errorf(codes.Unimplemented, "method AlarmHandle not implemented")
  651. }
  652. func (*UnimplementedSmartSiteGovernmentServer) DustAqi(ctx context.Context, req *v1.DustAqiRequest) (*v1.DustAqiReply, error) {
  653. return nil, status.Errorf(codes.Unimplemented, "method DustAqi not implemented")
  654. }
  655. func (*UnimplementedSmartSiteGovernmentServer) LatestDustMonitorData(ctx context.Context, req *v1.LatestDustMonitorDataRequest) (*v1.LatestDustMonitorDataReply, error) {
  656. return nil, status.Errorf(codes.Unimplemented, "method LatestDustMonitorData not implemented")
  657. }
  658. func (*UnimplementedSmartSiteGovernmentServer) AlarmProject(ctx context.Context, req *v1.AlarmProjectRequest) (*v1.AlarmProjectReply, error) {
  659. return nil, status.Errorf(codes.Unimplemented, "method AlarmProject not implemented")
  660. }
  661. func (*UnimplementedSmartSiteGovernmentServer) AlarmReasonStatistic(ctx context.Context, req *v1.AlarmReasonStatisticRequest) (*v1.AlarmReasonStatisticReply, error) {
  662. return nil, status.Errorf(codes.Unimplemented, "method AlarmReasonStatistic not implemented")
  663. }
  664. func (*UnimplementedSmartSiteGovernmentServer) AlarmDeviceStatistic(ctx context.Context, req *v1.AlarmDeviceStatisticRequest) (*v1.AlarmDeviceStatisticReply, error) {
  665. return nil, status.Errorf(codes.Unimplemented, "method AlarmDeviceStatistic not implemented")
  666. }
  667. func (*UnimplementedSmartSiteGovernmentServer) AlarmIncreaseStatistic(ctx context.Context, req *v1.AlarmIncreaseStatisticRequest) (*v1.AlarmIncreaseStatisticReply, error) {
  668. return nil, status.Errorf(codes.Unimplemented, "method AlarmIncreaseStatistic not implemented")
  669. }
  670. func (*UnimplementedSmartSiteGovernmentServer) AlarmPercentStatistic(ctx context.Context, req *v1.AlarmPercentStatisticRequest) (*v1.AlarmPercentStatisticReply, error) {
  671. return nil, status.Errorf(codes.Unimplemented, "method AlarmPercentStatistic not implemented")
  672. }
  673. func (*UnimplementedSmartSiteGovernmentServer) StaffTypeStatistics(ctx context.Context, req *v1.StaffTypeStatisticsRequest) (*v1.StaffTypeStatisticsReply, error) {
  674. return nil, status.Errorf(codes.Unimplemented, "method StaffTypeStatistics not implemented")
  675. }
  676. func (*UnimplementedSmartSiteGovernmentServer) LaborCompanyStatistics(ctx context.Context, req *v1.LaborCompanyStatisticsRequest) (*v1.LaborCompanyStatisticsReply, error) {
  677. return nil, status.Errorf(codes.Unimplemented, "method LaborCompanyStatistics not implemented")
  678. }
  679. func (*UnimplementedSmartSiteGovernmentServer) StaffWorkTypeStatistics(ctx context.Context, req *v1.StaffWorkTypeStatisticsRequest) (*v1.StaffWorkTypeStatisticsReply, error) {
  680. return nil, status.Errorf(codes.Unimplemented, "method StaffWorkTypeStatistics not implemented")
  681. }
  682. func (*UnimplementedSmartSiteGovernmentServer) LatestTowerMonitorData(ctx context.Context, req *v1.LatestTowerMonitorDataRequest) (*v1.LatestTowerMonitorDataReply, error) {
  683. return nil, status.Errorf(codes.Unimplemented, "method LatestTowerMonitorData not implemented")
  684. }
  685. func RegisterSmartSiteGovernmentServer(s *grpc.Server, srv SmartSiteGovernmentServer) {
  686. s.RegisterService(&_SmartSiteGovernment_serviceDesc, srv)
  687. }
  688. func _SmartSiteGovernment_DeviceTypeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  689. in := new(v1.DeviceTypeListRequest)
  690. if err := dec(in); err != nil {
  691. return nil, err
  692. }
  693. if interceptor == nil {
  694. return srv.(SmartSiteGovernmentServer).DeviceTypeList(ctx, in)
  695. }
  696. info := &grpc.UnaryServerInfo{
  697. Server: srv,
  698. FullMethod: "/pb.SmartSiteGovernment/DeviceTypeList",
  699. }
  700. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  701. return srv.(SmartSiteGovernmentServer).DeviceTypeList(ctx, req.(*v1.DeviceTypeListRequest))
  702. }
  703. return interceptor(ctx, in, info, handler)
  704. }
  705. func _SmartSiteGovernment_DeviceAllTypeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  706. in := new(v1.DeviceAllTypeListRequest)
  707. if err := dec(in); err != nil {
  708. return nil, err
  709. }
  710. if interceptor == nil {
  711. return srv.(SmartSiteGovernmentServer).DeviceAllTypeList(ctx, in)
  712. }
  713. info := &grpc.UnaryServerInfo{
  714. Server: srv,
  715. FullMethod: "/pb.SmartSiteGovernment/DeviceAllTypeList",
  716. }
  717. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  718. return srv.(SmartSiteGovernmentServer).DeviceAllTypeList(ctx, req.(*v1.DeviceAllTypeListRequest))
  719. }
  720. return interceptor(ctx, in, info, handler)
  721. }
  722. func _SmartSiteGovernment_Publicity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  723. in := new(v1.PublicityRequest)
  724. if err := dec(in); err != nil {
  725. return nil, err
  726. }
  727. if interceptor == nil {
  728. return srv.(SmartSiteGovernmentServer).Publicity(ctx, in)
  729. }
  730. info := &grpc.UnaryServerInfo{
  731. Server: srv,
  732. FullMethod: "/pb.SmartSiteGovernment/Publicity",
  733. }
  734. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  735. return srv.(SmartSiteGovernmentServer).Publicity(ctx, req.(*v1.PublicityRequest))
  736. }
  737. return interceptor(ctx, in, info, handler)
  738. }
  739. func _SmartSiteGovernment_ProviderList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  740. in := new(v1.ProviderListRequest)
  741. if err := dec(in); err != nil {
  742. return nil, err
  743. }
  744. if interceptor == nil {
  745. return srv.(SmartSiteGovernmentServer).ProviderList(ctx, in)
  746. }
  747. info := &grpc.UnaryServerInfo{
  748. Server: srv,
  749. FullMethod: "/pb.SmartSiteGovernment/ProviderList",
  750. }
  751. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  752. return srv.(SmartSiteGovernmentServer).ProviderList(ctx, req.(*v1.ProviderListRequest))
  753. }
  754. return interceptor(ctx, in, info, handler)
  755. }
  756. func _SmartSiteGovernment_DeviceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  757. in := new(v1.DeviceListRequest)
  758. if err := dec(in); err != nil {
  759. return nil, err
  760. }
  761. if interceptor == nil {
  762. return srv.(SmartSiteGovernmentServer).DeviceList(ctx, in)
  763. }
  764. info := &grpc.UnaryServerInfo{
  765. Server: srv,
  766. FullMethod: "/pb.SmartSiteGovernment/DeviceList",
  767. }
  768. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  769. return srv.(SmartSiteGovernmentServer).DeviceList(ctx, req.(*v1.DeviceListRequest))
  770. }
  771. return interceptor(ctx, in, info, handler)
  772. }
  773. func _SmartSiteGovernment_ProviderApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  774. in := new(v1.ProviderApproveRequest)
  775. if err := dec(in); err != nil {
  776. return nil, err
  777. }
  778. if interceptor == nil {
  779. return srv.(SmartSiteGovernmentServer).ProviderApprove(ctx, in)
  780. }
  781. info := &grpc.UnaryServerInfo{
  782. Server: srv,
  783. FullMethod: "/pb.SmartSiteGovernment/ProviderApprove",
  784. }
  785. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  786. return srv.(SmartSiteGovernmentServer).ProviderApprove(ctx, req.(*v1.ProviderApproveRequest))
  787. }
  788. return interceptor(ctx, in, info, handler)
  789. }
  790. func _SmartSiteGovernment_Login_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  791. in := new(v1.LoginRequest)
  792. if err := dec(in); err != nil {
  793. return nil, err
  794. }
  795. if interceptor == nil {
  796. return srv.(SmartSiteGovernmentServer).Login(ctx, in)
  797. }
  798. info := &grpc.UnaryServerInfo{
  799. Server: srv,
  800. FullMethod: "/pb.SmartSiteGovernment/Login",
  801. }
  802. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  803. return srv.(SmartSiteGovernmentServer).Login(ctx, req.(*v1.LoginRequest))
  804. }
  805. return interceptor(ctx, in, info, handler)
  806. }
  807. func _SmartSiteGovernment_EmailPrepare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  808. in := new(v1.EmailPrepareRequest)
  809. if err := dec(in); err != nil {
  810. return nil, err
  811. }
  812. if interceptor == nil {
  813. return srv.(SmartSiteGovernmentServer).EmailPrepare(ctx, in)
  814. }
  815. info := &grpc.UnaryServerInfo{
  816. Server: srv,
  817. FullMethod: "/pb.SmartSiteGovernment/EmailPrepare",
  818. }
  819. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  820. return srv.(SmartSiteGovernmentServer).EmailPrepare(ctx, req.(*v1.EmailPrepareRequest))
  821. }
  822. return interceptor(ctx, in, info, handler)
  823. }
  824. func _SmartSiteGovernment_EmailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  825. in := new(v1.EmailUpdateRequest)
  826. if err := dec(in); err != nil {
  827. return nil, err
  828. }
  829. if interceptor == nil {
  830. return srv.(SmartSiteGovernmentServer).EmailUpdate(ctx, in)
  831. }
  832. info := &grpc.UnaryServerInfo{
  833. Server: srv,
  834. FullMethod: "/pb.SmartSiteGovernment/EmailUpdate",
  835. }
  836. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  837. return srv.(SmartSiteGovernmentServer).EmailUpdate(ctx, req.(*v1.EmailUpdateRequest))
  838. }
  839. return interceptor(ctx, in, info, handler)
  840. }
  841. func _SmartSiteGovernment_PhoneUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  842. in := new(v1.PhoneUpdateRequest)
  843. if err := dec(in); err != nil {
  844. return nil, err
  845. }
  846. if interceptor == nil {
  847. return srv.(SmartSiteGovernmentServer).PhoneUpdate(ctx, in)
  848. }
  849. info := &grpc.UnaryServerInfo{
  850. Server: srv,
  851. FullMethod: "/pb.SmartSiteGovernment/PhoneUpdate",
  852. }
  853. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  854. return srv.(SmartSiteGovernmentServer).PhoneUpdate(ctx, req.(*v1.PhoneUpdateRequest))
  855. }
  856. return interceptor(ctx, in, info, handler)
  857. }
  858. func _SmartSiteGovernment_UserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  859. in := new(v1.UserInfoRequest)
  860. if err := dec(in); err != nil {
  861. return nil, err
  862. }
  863. if interceptor == nil {
  864. return srv.(SmartSiteGovernmentServer).UserInfo(ctx, in)
  865. }
  866. info := &grpc.UnaryServerInfo{
  867. Server: srv,
  868. FullMethod: "/pb.SmartSiteGovernment/UserInfo",
  869. }
  870. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  871. return srv.(SmartSiteGovernmentServer).UserInfo(ctx, req.(*v1.UserInfoRequest))
  872. }
  873. return interceptor(ctx, in, info, handler)
  874. }
  875. func _SmartSiteGovernment_DockingApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  876. in := new(v1.DockingApproveRequest)
  877. if err := dec(in); err != nil {
  878. return nil, err
  879. }
  880. if interceptor == nil {
  881. return srv.(SmartSiteGovernmentServer).DockingApprove(ctx, in)
  882. }
  883. info := &grpc.UnaryServerInfo{
  884. Server: srv,
  885. FullMethod: "/pb.SmartSiteGovernment/DockingApprove",
  886. }
  887. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  888. return srv.(SmartSiteGovernmentServer).DockingApprove(ctx, req.(*v1.DockingApproveRequest))
  889. }
  890. return interceptor(ctx, in, info, handler)
  891. }
  892. func _SmartSiteGovernment_CompanyList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  893. in := new(v1.CompanyListRequest)
  894. if err := dec(in); err != nil {
  895. return nil, err
  896. }
  897. if interceptor == nil {
  898. return srv.(SmartSiteGovernmentServer).CompanyList(ctx, in)
  899. }
  900. info := &grpc.UnaryServerInfo{
  901. Server: srv,
  902. FullMethod: "/pb.SmartSiteGovernment/CompanyList",
  903. }
  904. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  905. return srv.(SmartSiteGovernmentServer).CompanyList(ctx, req.(*v1.CompanyListRequest))
  906. }
  907. return interceptor(ctx, in, info, handler)
  908. }
  909. func _SmartSiteGovernment_ProjectList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  910. in := new(v1.ProjectListRequest)
  911. if err := dec(in); err != nil {
  912. return nil, err
  913. }
  914. if interceptor == nil {
  915. return srv.(SmartSiteGovernmentServer).ProjectList(ctx, in)
  916. }
  917. info := &grpc.UnaryServerInfo{
  918. Server: srv,
  919. FullMethod: "/pb.SmartSiteGovernment/ProjectList",
  920. }
  921. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  922. return srv.(SmartSiteGovernmentServer).ProjectList(ctx, req.(*v1.ProjectListRequest))
  923. }
  924. return interceptor(ctx, in, info, handler)
  925. }
  926. func _SmartSiteGovernment_ProjectChangeInfoList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  927. in := new(v1.ProjectChangeInfoListRequest)
  928. if err := dec(in); err != nil {
  929. return nil, err
  930. }
  931. if interceptor == nil {
  932. return srv.(SmartSiteGovernmentServer).ProjectChangeInfoList(ctx, in)
  933. }
  934. info := &grpc.UnaryServerInfo{
  935. Server: srv,
  936. FullMethod: "/pb.SmartSiteGovernment/ProjectChangeInfoList",
  937. }
  938. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  939. return srv.(SmartSiteGovernmentServer).ProjectChangeInfoList(ctx, req.(*v1.ProjectChangeInfoListRequest))
  940. }
  941. return interceptor(ctx, in, info, handler)
  942. }
  943. func _SmartSiteGovernment_CompanyApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  944. in := new(v1.CompanyApproveRequest)
  945. if err := dec(in); err != nil {
  946. return nil, err
  947. }
  948. if interceptor == nil {
  949. return srv.(SmartSiteGovernmentServer).CompanyApprove(ctx, in)
  950. }
  951. info := &grpc.UnaryServerInfo{
  952. Server: srv,
  953. FullMethod: "/pb.SmartSiteGovernment/CompanyApprove",
  954. }
  955. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  956. return srv.(SmartSiteGovernmentServer).CompanyApprove(ctx, req.(*v1.CompanyApproveRequest))
  957. }
  958. return interceptor(ctx, in, info, handler)
  959. }
  960. func _SmartSiteGovernment_DeviceDelJobList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  961. in := new(v1.DeviceDelJobListRequest)
  962. if err := dec(in); err != nil {
  963. return nil, err
  964. }
  965. if interceptor == nil {
  966. return srv.(SmartSiteGovernmentServer).DeviceDelJobList(ctx, in)
  967. }
  968. info := &grpc.UnaryServerInfo{
  969. Server: srv,
  970. FullMethod: "/pb.SmartSiteGovernment/DeviceDelJobList",
  971. }
  972. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  973. return srv.(SmartSiteGovernmentServer).DeviceDelJobList(ctx, req.(*v1.DeviceDelJobListRequest))
  974. }
  975. return interceptor(ctx, in, info, handler)
  976. }
  977. func _SmartSiteGovernment_ChannelList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  978. in := new(v1.ChannelListRequest)
  979. if err := dec(in); err != nil {
  980. return nil, err
  981. }
  982. if interceptor == nil {
  983. return srv.(SmartSiteGovernmentServer).ChannelList(ctx, in)
  984. }
  985. info := &grpc.UnaryServerInfo{
  986. Server: srv,
  987. FullMethod: "/pb.SmartSiteGovernment/ChannelList",
  988. }
  989. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  990. return srv.(SmartSiteGovernmentServer).ChannelList(ctx, req.(*v1.ChannelListRequest))
  991. }
  992. return interceptor(ctx, in, info, handler)
  993. }
  994. func _SmartSiteGovernment_VedioList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  995. in := new(v1.VedioListRequest)
  996. if err := dec(in); err != nil {
  997. return nil, err
  998. }
  999. if interceptor == nil {
  1000. return srv.(SmartSiteGovernmentServer).VedioList(ctx, in)
  1001. }
  1002. info := &grpc.UnaryServerInfo{
  1003. Server: srv,
  1004. FullMethod: "/pb.SmartSiteGovernment/VedioList",
  1005. }
  1006. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1007. return srv.(SmartSiteGovernmentServer).VedioList(ctx, req.(*v1.VedioListRequest))
  1008. }
  1009. return interceptor(ctx, in, info, handler)
  1010. }
  1011. func _SmartSiteGovernment_ChangePasswd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1012. in := new(v1.ChangePasswdRequest)
  1013. if err := dec(in); err != nil {
  1014. return nil, err
  1015. }
  1016. if interceptor == nil {
  1017. return srv.(SmartSiteGovernmentServer).ChangePasswd(ctx, in)
  1018. }
  1019. info := &grpc.UnaryServerInfo{
  1020. Server: srv,
  1021. FullMethod: "/pb.SmartSiteGovernment/ChangePasswd",
  1022. }
  1023. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1024. return srv.(SmartSiteGovernmentServer).ChangePasswd(ctx, req.(*v1.ChangePasswdRequest))
  1025. }
  1026. return interceptor(ctx, in, info, handler)
  1027. }
  1028. func _SmartSiteGovernment_SetPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1029. in := new(v1.SetPhoneRequest)
  1030. if err := dec(in); err != nil {
  1031. return nil, err
  1032. }
  1033. if interceptor == nil {
  1034. return srv.(SmartSiteGovernmentServer).SetPhone(ctx, in)
  1035. }
  1036. info := &grpc.UnaryServerInfo{
  1037. Server: srv,
  1038. FullMethod: "/pb.SmartSiteGovernment/SetPhone",
  1039. }
  1040. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1041. return srv.(SmartSiteGovernmentServer).SetPhone(ctx, req.(*v1.SetPhoneRequest))
  1042. }
  1043. return interceptor(ctx, in, info, handler)
  1044. }
  1045. func _SmartSiteGovernment_GetPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1046. in := new(v1.GetPhoneRequest)
  1047. if err := dec(in); err != nil {
  1048. return nil, err
  1049. }
  1050. if interceptor == nil {
  1051. return srv.(SmartSiteGovernmentServer).GetPhone(ctx, in)
  1052. }
  1053. info := &grpc.UnaryServerInfo{
  1054. Server: srv,
  1055. FullMethod: "/pb.SmartSiteGovernment/GetPhone",
  1056. }
  1057. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1058. return srv.(SmartSiteGovernmentServer).GetPhone(ctx, req.(*v1.GetPhoneRequest))
  1059. }
  1060. return interceptor(ctx, in, info, handler)
  1061. }
  1062. func _SmartSiteGovernment_SetPasswd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1063. in := new(v1.SetPasswdRequest)
  1064. if err := dec(in); err != nil {
  1065. return nil, err
  1066. }
  1067. if interceptor == nil {
  1068. return srv.(SmartSiteGovernmentServer).SetPasswd(ctx, in)
  1069. }
  1070. info := &grpc.UnaryServerInfo{
  1071. Server: srv,
  1072. FullMethod: "/pb.SmartSiteGovernment/SetPasswd",
  1073. }
  1074. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1075. return srv.(SmartSiteGovernmentServer).SetPasswd(ctx, req.(*v1.SetPasswdRequest))
  1076. }
  1077. return interceptor(ctx, in, info, handler)
  1078. }
  1079. func _SmartSiteGovernment_DeviceStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1080. in := new(v1.DeviceStatisticRequest)
  1081. if err := dec(in); err != nil {
  1082. return nil, err
  1083. }
  1084. if interceptor == nil {
  1085. return srv.(SmartSiteGovernmentServer).DeviceStatistic(ctx, in)
  1086. }
  1087. info := &grpc.UnaryServerInfo{
  1088. Server: srv,
  1089. FullMethod: "/pb.SmartSiteGovernment/DeviceStatistic",
  1090. }
  1091. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1092. return srv.(SmartSiteGovernmentServer).DeviceStatistic(ctx, req.(*v1.DeviceStatisticRequest))
  1093. }
  1094. return interceptor(ctx, in, info, handler)
  1095. }
  1096. func _SmartSiteGovernment_DeviceTypeStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1097. in := new(v1.DeviceTypeStatisticRequest)
  1098. if err := dec(in); err != nil {
  1099. return nil, err
  1100. }
  1101. if interceptor == nil {
  1102. return srv.(SmartSiteGovernmentServer).DeviceTypeStatistic(ctx, in)
  1103. }
  1104. info := &grpc.UnaryServerInfo{
  1105. Server: srv,
  1106. FullMethod: "/pb.SmartSiteGovernment/DeviceTypeStatistic",
  1107. }
  1108. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1109. return srv.(SmartSiteGovernmentServer).DeviceTypeStatistic(ctx, req.(*v1.DeviceTypeStatisticRequest))
  1110. }
  1111. return interceptor(ctx, in, info, handler)
  1112. }
  1113. func _SmartSiteGovernment_ProjectStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1114. in := new(v1.ProjectStatisticRequest)
  1115. if err := dec(in); err != nil {
  1116. return nil, err
  1117. }
  1118. if interceptor == nil {
  1119. return srv.(SmartSiteGovernmentServer).ProjectStatistic(ctx, in)
  1120. }
  1121. info := &grpc.UnaryServerInfo{
  1122. Server: srv,
  1123. FullMethod: "/pb.SmartSiteGovernment/ProjectStatistic",
  1124. }
  1125. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1126. return srv.(SmartSiteGovernmentServer).ProjectStatistic(ctx, req.(*v1.ProjectStatisticRequest))
  1127. }
  1128. return interceptor(ctx, in, info, handler)
  1129. }
  1130. func _SmartSiteGovernment_ProjectTypeStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1131. in := new(v1.ProjectTypeStatisticRequest)
  1132. if err := dec(in); err != nil {
  1133. return nil, err
  1134. }
  1135. if interceptor == nil {
  1136. return srv.(SmartSiteGovernmentServer).ProjectTypeStatistic(ctx, in)
  1137. }
  1138. info := &grpc.UnaryServerInfo{
  1139. Server: srv,
  1140. FullMethod: "/pb.SmartSiteGovernment/ProjectTypeStatistic",
  1141. }
  1142. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1143. return srv.(SmartSiteGovernmentServer).ProjectTypeStatistic(ctx, req.(*v1.ProjectTypeStatisticRequest))
  1144. }
  1145. return interceptor(ctx, in, info, handler)
  1146. }
  1147. func _SmartSiteGovernment_StaffStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1148. in := new(v1.StaffStatisticRequest)
  1149. if err := dec(in); err != nil {
  1150. return nil, err
  1151. }
  1152. if interceptor == nil {
  1153. return srv.(SmartSiteGovernmentServer).StaffStatistic(ctx, in)
  1154. }
  1155. info := &grpc.UnaryServerInfo{
  1156. Server: srv,
  1157. FullMethod: "/pb.SmartSiteGovernment/StaffStatistic",
  1158. }
  1159. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1160. return srv.(SmartSiteGovernmentServer).StaffStatistic(ctx, req.(*v1.StaffStatisticRequest))
  1161. }
  1162. return interceptor(ctx, in, info, handler)
  1163. }
  1164. func _SmartSiteGovernment_CompanyStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1165. in := new(v1.CompanyStatisticRequest)
  1166. if err := dec(in); err != nil {
  1167. return nil, err
  1168. }
  1169. if interceptor == nil {
  1170. return srv.(SmartSiteGovernmentServer).CompanyStatistic(ctx, in)
  1171. }
  1172. info := &grpc.UnaryServerInfo{
  1173. Server: srv,
  1174. FullMethod: "/pb.SmartSiteGovernment/CompanyStatistic",
  1175. }
  1176. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1177. return srv.(SmartSiteGovernmentServer).CompanyStatistic(ctx, req.(*v1.CompanyStatisticRequest))
  1178. }
  1179. return interceptor(ctx, in, info, handler)
  1180. }
  1181. func _SmartSiteGovernment_AlarmList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1182. in := new(v1.AlarmListRequest)
  1183. if err := dec(in); err != nil {
  1184. return nil, err
  1185. }
  1186. if interceptor == nil {
  1187. return srv.(SmartSiteGovernmentServer).AlarmList(ctx, in)
  1188. }
  1189. info := &grpc.UnaryServerInfo{
  1190. Server: srv,
  1191. FullMethod: "/pb.SmartSiteGovernment/AlarmList",
  1192. }
  1193. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1194. return srv.(SmartSiteGovernmentServer).AlarmList(ctx, req.(*v1.AlarmListRequest))
  1195. }
  1196. return interceptor(ctx, in, info, handler)
  1197. }
  1198. func _SmartSiteGovernment_AlarmHandle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1199. in := new(v1.AlarmHandleRequest)
  1200. if err := dec(in); err != nil {
  1201. return nil, err
  1202. }
  1203. if interceptor == nil {
  1204. return srv.(SmartSiteGovernmentServer).AlarmHandle(ctx, in)
  1205. }
  1206. info := &grpc.UnaryServerInfo{
  1207. Server: srv,
  1208. FullMethod: "/pb.SmartSiteGovernment/AlarmHandle",
  1209. }
  1210. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1211. return srv.(SmartSiteGovernmentServer).AlarmHandle(ctx, req.(*v1.AlarmHandleRequest))
  1212. }
  1213. return interceptor(ctx, in, info, handler)
  1214. }
  1215. func _SmartSiteGovernment_DustAqi_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1216. in := new(v1.DustAqiRequest)
  1217. if err := dec(in); err != nil {
  1218. return nil, err
  1219. }
  1220. if interceptor == nil {
  1221. return srv.(SmartSiteGovernmentServer).DustAqi(ctx, in)
  1222. }
  1223. info := &grpc.UnaryServerInfo{
  1224. Server: srv,
  1225. FullMethod: "/pb.SmartSiteGovernment/DustAqi",
  1226. }
  1227. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1228. return srv.(SmartSiteGovernmentServer).DustAqi(ctx, req.(*v1.DustAqiRequest))
  1229. }
  1230. return interceptor(ctx, in, info, handler)
  1231. }
  1232. func _SmartSiteGovernment_LatestDustMonitorData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1233. in := new(v1.LatestDustMonitorDataRequest)
  1234. if err := dec(in); err != nil {
  1235. return nil, err
  1236. }
  1237. if interceptor == nil {
  1238. return srv.(SmartSiteGovernmentServer).LatestDustMonitorData(ctx, in)
  1239. }
  1240. info := &grpc.UnaryServerInfo{
  1241. Server: srv,
  1242. FullMethod: "/pb.SmartSiteGovernment/LatestDustMonitorData",
  1243. }
  1244. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1245. return srv.(SmartSiteGovernmentServer).LatestDustMonitorData(ctx, req.(*v1.LatestDustMonitorDataRequest))
  1246. }
  1247. return interceptor(ctx, in, info, handler)
  1248. }
  1249. func _SmartSiteGovernment_AlarmProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1250. in := new(v1.AlarmProjectRequest)
  1251. if err := dec(in); err != nil {
  1252. return nil, err
  1253. }
  1254. if interceptor == nil {
  1255. return srv.(SmartSiteGovernmentServer).AlarmProject(ctx, in)
  1256. }
  1257. info := &grpc.UnaryServerInfo{
  1258. Server: srv,
  1259. FullMethod: "/pb.SmartSiteGovernment/AlarmProject",
  1260. }
  1261. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1262. return srv.(SmartSiteGovernmentServer).AlarmProject(ctx, req.(*v1.AlarmProjectRequest))
  1263. }
  1264. return interceptor(ctx, in, info, handler)
  1265. }
  1266. func _SmartSiteGovernment_AlarmReasonStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1267. in := new(v1.AlarmReasonStatisticRequest)
  1268. if err := dec(in); err != nil {
  1269. return nil, err
  1270. }
  1271. if interceptor == nil {
  1272. return srv.(SmartSiteGovernmentServer).AlarmReasonStatistic(ctx, in)
  1273. }
  1274. info := &grpc.UnaryServerInfo{
  1275. Server: srv,
  1276. FullMethod: "/pb.SmartSiteGovernment/AlarmReasonStatistic",
  1277. }
  1278. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1279. return srv.(SmartSiteGovernmentServer).AlarmReasonStatistic(ctx, req.(*v1.AlarmReasonStatisticRequest))
  1280. }
  1281. return interceptor(ctx, in, info, handler)
  1282. }
  1283. func _SmartSiteGovernment_AlarmDeviceStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1284. in := new(v1.AlarmDeviceStatisticRequest)
  1285. if err := dec(in); err != nil {
  1286. return nil, err
  1287. }
  1288. if interceptor == nil {
  1289. return srv.(SmartSiteGovernmentServer).AlarmDeviceStatistic(ctx, in)
  1290. }
  1291. info := &grpc.UnaryServerInfo{
  1292. Server: srv,
  1293. FullMethod: "/pb.SmartSiteGovernment/AlarmDeviceStatistic",
  1294. }
  1295. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1296. return srv.(SmartSiteGovernmentServer).AlarmDeviceStatistic(ctx, req.(*v1.AlarmDeviceStatisticRequest))
  1297. }
  1298. return interceptor(ctx, in, info, handler)
  1299. }
  1300. func _SmartSiteGovernment_AlarmIncreaseStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1301. in := new(v1.AlarmIncreaseStatisticRequest)
  1302. if err := dec(in); err != nil {
  1303. return nil, err
  1304. }
  1305. if interceptor == nil {
  1306. return srv.(SmartSiteGovernmentServer).AlarmIncreaseStatistic(ctx, in)
  1307. }
  1308. info := &grpc.UnaryServerInfo{
  1309. Server: srv,
  1310. FullMethod: "/pb.SmartSiteGovernment/AlarmIncreaseStatistic",
  1311. }
  1312. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1313. return srv.(SmartSiteGovernmentServer).AlarmIncreaseStatistic(ctx, req.(*v1.AlarmIncreaseStatisticRequest))
  1314. }
  1315. return interceptor(ctx, in, info, handler)
  1316. }
  1317. func _SmartSiteGovernment_AlarmPercentStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1318. in := new(v1.AlarmPercentStatisticRequest)
  1319. if err := dec(in); err != nil {
  1320. return nil, err
  1321. }
  1322. if interceptor == nil {
  1323. return srv.(SmartSiteGovernmentServer).AlarmPercentStatistic(ctx, in)
  1324. }
  1325. info := &grpc.UnaryServerInfo{
  1326. Server: srv,
  1327. FullMethod: "/pb.SmartSiteGovernment/AlarmPercentStatistic",
  1328. }
  1329. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1330. return srv.(SmartSiteGovernmentServer).AlarmPercentStatistic(ctx, req.(*v1.AlarmPercentStatisticRequest))
  1331. }
  1332. return interceptor(ctx, in, info, handler)
  1333. }
  1334. func _SmartSiteGovernment_StaffTypeStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1335. in := new(v1.StaffTypeStatisticsRequest)
  1336. if err := dec(in); err != nil {
  1337. return nil, err
  1338. }
  1339. if interceptor == nil {
  1340. return srv.(SmartSiteGovernmentServer).StaffTypeStatistics(ctx, in)
  1341. }
  1342. info := &grpc.UnaryServerInfo{
  1343. Server: srv,
  1344. FullMethod: "/pb.SmartSiteGovernment/StaffTypeStatistics",
  1345. }
  1346. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1347. return srv.(SmartSiteGovernmentServer).StaffTypeStatistics(ctx, req.(*v1.StaffTypeStatisticsRequest))
  1348. }
  1349. return interceptor(ctx, in, info, handler)
  1350. }
  1351. func _SmartSiteGovernment_LaborCompanyStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1352. in := new(v1.LaborCompanyStatisticsRequest)
  1353. if err := dec(in); err != nil {
  1354. return nil, err
  1355. }
  1356. if interceptor == nil {
  1357. return srv.(SmartSiteGovernmentServer).LaborCompanyStatistics(ctx, in)
  1358. }
  1359. info := &grpc.UnaryServerInfo{
  1360. Server: srv,
  1361. FullMethod: "/pb.SmartSiteGovernment/LaborCompanyStatistics",
  1362. }
  1363. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1364. return srv.(SmartSiteGovernmentServer).LaborCompanyStatistics(ctx, req.(*v1.LaborCompanyStatisticsRequest))
  1365. }
  1366. return interceptor(ctx, in, info, handler)
  1367. }
  1368. func _SmartSiteGovernment_StaffWorkTypeStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1369. in := new(v1.StaffWorkTypeStatisticsRequest)
  1370. if err := dec(in); err != nil {
  1371. return nil, err
  1372. }
  1373. if interceptor == nil {
  1374. return srv.(SmartSiteGovernmentServer).StaffWorkTypeStatistics(ctx, in)
  1375. }
  1376. info := &grpc.UnaryServerInfo{
  1377. Server: srv,
  1378. FullMethod: "/pb.SmartSiteGovernment/StaffWorkTypeStatistics",
  1379. }
  1380. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1381. return srv.(SmartSiteGovernmentServer).StaffWorkTypeStatistics(ctx, req.(*v1.StaffWorkTypeStatisticsRequest))
  1382. }
  1383. return interceptor(ctx, in, info, handler)
  1384. }
  1385. func _SmartSiteGovernment_LatestTowerMonitorData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1386. in := new(v1.LatestTowerMonitorDataRequest)
  1387. if err := dec(in); err != nil {
  1388. return nil, err
  1389. }
  1390. if interceptor == nil {
  1391. return srv.(SmartSiteGovernmentServer).LatestTowerMonitorData(ctx, in)
  1392. }
  1393. info := &grpc.UnaryServerInfo{
  1394. Server: srv,
  1395. FullMethod: "/pb.SmartSiteGovernment/LatestTowerMonitorData",
  1396. }
  1397. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1398. return srv.(SmartSiteGovernmentServer).LatestTowerMonitorData(ctx, req.(*v1.LatestTowerMonitorDataRequest))
  1399. }
  1400. return interceptor(ctx, in, info, handler)
  1401. }
  1402. var _SmartSiteGovernment_serviceDesc = grpc.ServiceDesc{
  1403. ServiceName: "pb.SmartSiteGovernment",
  1404. HandlerType: (*SmartSiteGovernmentServer)(nil),
  1405. Methods: []grpc.MethodDesc{
  1406. {
  1407. MethodName: "DeviceTypeList",
  1408. Handler: _SmartSiteGovernment_DeviceTypeList_Handler,
  1409. },
  1410. {
  1411. MethodName: "DeviceAllTypeList",
  1412. Handler: _SmartSiteGovernment_DeviceAllTypeList_Handler,
  1413. },
  1414. {
  1415. MethodName: "Publicity",
  1416. Handler: _SmartSiteGovernment_Publicity_Handler,
  1417. },
  1418. {
  1419. MethodName: "ProviderList",
  1420. Handler: _SmartSiteGovernment_ProviderList_Handler,
  1421. },
  1422. {
  1423. MethodName: "DeviceList",
  1424. Handler: _SmartSiteGovernment_DeviceList_Handler,
  1425. },
  1426. {
  1427. MethodName: "ProviderApprove",
  1428. Handler: _SmartSiteGovernment_ProviderApprove_Handler,
  1429. },
  1430. {
  1431. MethodName: "Login",
  1432. Handler: _SmartSiteGovernment_Login_Handler,
  1433. },
  1434. {
  1435. MethodName: "EmailPrepare",
  1436. Handler: _SmartSiteGovernment_EmailPrepare_Handler,
  1437. },
  1438. {
  1439. MethodName: "EmailUpdate",
  1440. Handler: _SmartSiteGovernment_EmailUpdate_Handler,
  1441. },
  1442. {
  1443. MethodName: "PhoneUpdate",
  1444. Handler: _SmartSiteGovernment_PhoneUpdate_Handler,
  1445. },
  1446. {
  1447. MethodName: "UserInfo",
  1448. Handler: _SmartSiteGovernment_UserInfo_Handler,
  1449. },
  1450. {
  1451. MethodName: "DockingApprove",
  1452. Handler: _SmartSiteGovernment_DockingApprove_Handler,
  1453. },
  1454. {
  1455. MethodName: "CompanyList",
  1456. Handler: _SmartSiteGovernment_CompanyList_Handler,
  1457. },
  1458. {
  1459. MethodName: "ProjectList",
  1460. Handler: _SmartSiteGovernment_ProjectList_Handler,
  1461. },
  1462. {
  1463. MethodName: "ProjectChangeInfoList",
  1464. Handler: _SmartSiteGovernment_ProjectChangeInfoList_Handler,
  1465. },
  1466. {
  1467. MethodName: "CompanyApprove",
  1468. Handler: _SmartSiteGovernment_CompanyApprove_Handler,
  1469. },
  1470. {
  1471. MethodName: "DeviceDelJobList",
  1472. Handler: _SmartSiteGovernment_DeviceDelJobList_Handler,
  1473. },
  1474. {
  1475. MethodName: "ChannelList",
  1476. Handler: _SmartSiteGovernment_ChannelList_Handler,
  1477. },
  1478. {
  1479. MethodName: "VedioList",
  1480. Handler: _SmartSiteGovernment_VedioList_Handler,
  1481. },
  1482. {
  1483. MethodName: "ChangePasswd",
  1484. Handler: _SmartSiteGovernment_ChangePasswd_Handler,
  1485. },
  1486. {
  1487. MethodName: "SetPhone",
  1488. Handler: _SmartSiteGovernment_SetPhone_Handler,
  1489. },
  1490. {
  1491. MethodName: "GetPhone",
  1492. Handler: _SmartSiteGovernment_GetPhone_Handler,
  1493. },
  1494. {
  1495. MethodName: "SetPasswd",
  1496. Handler: _SmartSiteGovernment_SetPasswd_Handler,
  1497. },
  1498. {
  1499. MethodName: "DeviceStatistic",
  1500. Handler: _SmartSiteGovernment_DeviceStatistic_Handler,
  1501. },
  1502. {
  1503. MethodName: "DeviceTypeStatistic",
  1504. Handler: _SmartSiteGovernment_DeviceTypeStatistic_Handler,
  1505. },
  1506. {
  1507. MethodName: "ProjectStatistic",
  1508. Handler: _SmartSiteGovernment_ProjectStatistic_Handler,
  1509. },
  1510. {
  1511. MethodName: "ProjectTypeStatistic",
  1512. Handler: _SmartSiteGovernment_ProjectTypeStatistic_Handler,
  1513. },
  1514. {
  1515. MethodName: "StaffStatistic",
  1516. Handler: _SmartSiteGovernment_StaffStatistic_Handler,
  1517. },
  1518. {
  1519. MethodName: "CompanyStatistic",
  1520. Handler: _SmartSiteGovernment_CompanyStatistic_Handler,
  1521. },
  1522. {
  1523. MethodName: "AlarmList",
  1524. Handler: _SmartSiteGovernment_AlarmList_Handler,
  1525. },
  1526. {
  1527. MethodName: "AlarmHandle",
  1528. Handler: _SmartSiteGovernment_AlarmHandle_Handler,
  1529. },
  1530. {
  1531. MethodName: "DustAqi",
  1532. Handler: _SmartSiteGovernment_DustAqi_Handler,
  1533. },
  1534. {
  1535. MethodName: "LatestDustMonitorData",
  1536. Handler: _SmartSiteGovernment_LatestDustMonitorData_Handler,
  1537. },
  1538. {
  1539. MethodName: "AlarmProject",
  1540. Handler: _SmartSiteGovernment_AlarmProject_Handler,
  1541. },
  1542. {
  1543. MethodName: "AlarmReasonStatistic",
  1544. Handler: _SmartSiteGovernment_AlarmReasonStatistic_Handler,
  1545. },
  1546. {
  1547. MethodName: "AlarmDeviceStatistic",
  1548. Handler: _SmartSiteGovernment_AlarmDeviceStatistic_Handler,
  1549. },
  1550. {
  1551. MethodName: "AlarmIncreaseStatistic",
  1552. Handler: _SmartSiteGovernment_AlarmIncreaseStatistic_Handler,
  1553. },
  1554. {
  1555. MethodName: "AlarmPercentStatistic",
  1556. Handler: _SmartSiteGovernment_AlarmPercentStatistic_Handler,
  1557. },
  1558. {
  1559. MethodName: "StaffTypeStatistics",
  1560. Handler: _SmartSiteGovernment_StaffTypeStatistics_Handler,
  1561. },
  1562. {
  1563. MethodName: "LaborCompanyStatistics",
  1564. Handler: _SmartSiteGovernment_LaborCompanyStatistics_Handler,
  1565. },
  1566. {
  1567. MethodName: "StaffWorkTypeStatistics",
  1568. Handler: _SmartSiteGovernment_StaffWorkTypeStatistics_Handler,
  1569. },
  1570. {
  1571. MethodName: "LatestTowerMonitorData",
  1572. Handler: _SmartSiteGovernment_LatestTowerMonitorData_Handler,
  1573. },
  1574. },
  1575. Streams: []grpc.StreamDesc{},
  1576. Metadata: "goverment_management.proto",
  1577. }