project_management.pb.go 96 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: project_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-site-management-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("project_management.proto", fileDescriptor_43bfe9f32dabdf4f)
  26. }
  27. var fileDescriptor_43bfe9f32dabdf4f = []byte{
  28. // 1108 bytes of a gzipped FileDescriptorProto
  29. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x58, 0x6f, 0x6f, 0xdb, 0xb6,
  30. 0x13, 0xfe, 0xe1, 0x37, 0xec, 0x1f, 0x9b, 0xa6, 0x29, 0xd3, 0xc6, 0x4e, 0xb2, 0xa4, 0x69, 0x80,
  31. 0xbd, 0x1a, 0x12, 0xc3, 0xdb, 0x80, 0x01, 0x03, 0x0a, 0xd4, 0xb5, 0x57, 0x2c, 0x80, 0x87, 0x0a,
  32. 0x71, 0x93, 0x0d, 0x1b, 0xb0, 0x81, 0xb6, 0x68, 0x47, 0x9b, 0x2d, 0xaa, 0x12, 0xe3, 0xc0, 0xfd,
  33. 0xc6, 0xfb, 0x16, 0x83, 0x78, 0xfc, 0x77, 0x14, 0xe5, 0x77, 0xb9, 0xe7, 0xb9, 0x7b, 0x78, 0x3c,
  34. 0x92, 0xa7, 0x73, 0x48, 0xb7, 0x28, 0xc5, 0xdf, 0x7c, 0x26, 0xff, 0x5a, 0xb1, 0x9c, 0x2d, 0xf8,
  35. 0x8a, 0xe7, 0xf2, 0xb2, 0x28, 0x85, 0x14, 0xf4, 0xff, 0xc5, 0xf4, 0x68, 0x6f, 0xdd, 0xef, 0x69,
  36. 0x07, 0x40, 0x15, 0xb2, 0xe6, 0x77, 0xd9, 0x6c, 0xc9, 0x35, 0xf2, 0x78, 0xdd, 0xef, 0xa5, 0xf7,
  37. 0x95, 0x71, 0xd8, 0x5d, 0xf7, 0x7b, 0x95, 0x64, 0xf3, 0xb9, 0x67, 0xb3, 0x25, 0x2b, 0x57, 0xda,
  38. 0x7e, 0xb2, 0xee, 0xf7, 0x66, 0x6c, 0xc5, 0x4b, 0xe6, 0x39, 0x48, 0xf1, 0xc0, 0x4b, 0xb0, 0xbf,
  39. 0xfd, 0xf7, 0x94, 0xec, 0x4d, 0x56, 0xac, 0x94, 0x93, 0x4c, 0xf2, 0x04, 0x16, 0xa7, 0xdf, 0x90,
  40. 0x4f, 0xc7, 0x62, 0x91, 0xe5, 0x74, 0xef, 0x72, 0xdd, 0xbf, 0x54, 0x7f, 0x5e, 0xf3, 0x0f, 0xf7,
  41. 0xbc, 0x92, 0x47, 0xbb, 0x1e, 0x52, 0x2c, 0x37, 0xe7, 0xff, 0xa3, 0xaf, 0xc9, 0xce, 0x4f, 0x2b,
  42. 0x96, 0x2d, 0x93, 0x92, 0x17, 0xac, 0xe4, 0xb4, 0x53, 0x7b, 0xf8, 0x88, 0x09, 0x7d, 0xde, 0x24,
  43. 0x40, 0xe1, 0x15, 0x79, 0xa4, 0xe0, 0x9b, 0x22, 0x65, 0x92, 0xd3, 0x03, 0xeb, 0x07, 0x80, 0x89,
  44. 0x7f, 0xd6, 0xc0, 0x6d, 0x78, 0x72, 0x27, 0x72, 0xee, 0x87, 0x7b, 0x00, 0x0a, 0x47, 0x38, 0x84,
  45. 0x7f, 0x4f, 0xbe, 0xb8, 0xa9, 0x78, 0x79, 0x95, 0xcf, 0x05, 0xdd, 0xaf, 0x7d, 0x8c, 0x65, 0x02,
  46. 0x9f, 0x62, 0x10, 0xa2, 0x86, 0xe4, 0xb1, 0xae, 0xd6, 0xf0, 0x8e, 0xe5, 0x0b, 0x4e, 0xbb, 0x4a,
  47. 0xde, 0x87, 0x4c, 0xfc, 0x41, 0x84, 0x01, 0x91, 0xdf, 0xc8, 0x33, 0x8d, 0xd7, 0xd2, 0x6f, 0x45,
  48. 0xa9, 0xb5, 0x5e, 0x78, 0x11, 0x88, 0x31, 0x92, 0x27, 0xed, 0x0e, 0xa0, 0xfc, 0x07, 0x79, 0x8e,
  49. 0x56, 0xac, 0x9d, 0xc6, 0x59, 0x25, 0xe9, 0x59, 0x23, 0x19, 0x43, 0x19, 0xed, 0xd3, 0x2d, 0x1e,
  50. 0x20, 0xfe, 0x23, 0x21, 0x23, 0xbe, 0xce, 0x66, 0x5c, 0x29, 0xaa, 0x63, 0x75, 0xb6, 0x91, 0xd9,
  51. 0x0f, 0x61, 0x88, 0xbd, 0x26, 0x14, 0xc0, 0xdb, 0x2c, 0xe5, 0xa2, 0xd6, 0xcf, 0xf9, 0x92, 0x9e,
  52. 0x38, 0x67, 0x1f, 0x37, 0x5a, 0xc7, 0x6d, 0xb4, 0x3d, 0x0b, 0x20, 0x07, 0x45, 0x51, 0x8a, 0xb5,
  53. 0x3e, 0x0b, 0x04, 0xa1, 0xb3, 0x08, 0x18, 0xbb, 0xa9, 0xa1, 0x7a, 0x28, 0x6e, 0x53, 0xce, 0x46,
  54. 0x9b, 0xf2, 0x61, 0x9b, 0x80, 0x4e, 0x49, 0xdf, 0x41, 0x95, 0x00, 0x82, 0x50, 0x02, 0x01, 0x03,
  55. 0x22, 0x63, 0xb2, 0x07, 0x89, 0xbd, 0xc9, 0xf2, 0x14, 0xd6, 0xa0, 0xde, 0xc6, 0x1d, 0x6a, 0xa4,
  56. 0x0e, 0xe3, 0x64, 0x50, 0xe7, 0x9b, 0x7c, 0xea, 0xf4, 0xbc, 0x3a, 0xfb, 0x78, 0xa4, 0xce, 0x98,
  57. 0xb6, 0x0f, 0xed, 0x16, 0x9a, 0x91, 0xaa, 0x91, 0xda, 0x8a, 0x07, 0xa0, 0x87, 0x86, 0x70, 0x08,
  58. 0xbf, 0x22, 0x4f, 0xc6, 0x4c, 0xf2, 0x4a, 0x4e, 0xea, 0x86, 0x35, 0x62, 0x92, 0xd1, 0x23, 0xd5,
  59. 0x4d, 0x30, 0x68, 0x64, 0xba, 0x51, 0x0e, 0xa4, 0x7e, 0x20, 0x5f, 0x2a, 0x4c, 0xe5, 0xa1, 0xd6,
  60. 0xb3, 0xa6, 0x09, 0xa7, 0x01, 0x6a, 0x73, 0x50, 0xd8, 0x40, 0x4a, 0x9e, 0xa7, 0x2c, 0x9f, 0x71,
  61. 0xc8, 0x21, 0x00, 0x51, 0x0e, 0x0d, 0x0e, 0xa4, 0x18, 0xe9, 0x28, 0xe6, 0x57, 0x51, 0xfe, 0xf3,
  62. 0x7e, 0x53, 0xf0, 0x89, 0x64, 0x32, 0xab, 0x64, 0x36, 0xab, 0xe8, 0xb9, 0x0d, 0x6b, 0x92, 0x46,
  63. 0xfa, 0x6c, 0xab, 0x0f, 0x2c, 0x71, 0x43, 0xf6, 0x95, 0x47, 0x20, 0x7f, 0x6a, 0x43, 0xe3, 0xd2,
  64. 0x5f, 0xb5, 0xf2, 0x20, 0xfb, 0x27, 0x39, 0x18, 0xb3, 0xa9, 0x28, 0x87, 0x62, 0x55, 0xb0, 0x7c,
  65. 0xe3, 0x29, 0xbf, 0x84, 0x9a, 0xc7, 0x38, 0x23, 0xfe, 0x62, 0x9b, 0x8b, 0x6d, 0x3e, 0x70, 0x6e,
  66. 0xa3, 0xfb, 0x4a, 0xfe, 0x22, 0xf2, 0x4c, 0x8a, 0x52, 0x1d, 0xf7, 0x99, 0x3b, 0xd2, 0x80, 0x42,
  67. 0xcd, 0xa7, 0xc5, 0xc3, 0x5d, 0x6c, 0xc7, 0xfc, 0x9c, 0x55, 0x52, 0x94, 0x1b, 0x7d, 0xb1, 0x1b,
  68. 0x38, 0xbe, 0xd8, 0x11, 0xda, 0x7e, 0x02, 0x6a, 0x52, 0xdd, 0xa6, 0x7d, 0xe3, 0xea, 0x5f, 0xa6,
  69. 0xa7, 0x18, 0xf4, 0xca, 0x58, 0x67, 0xfa, 0xbe, 0xfe, 0x9e, 0xfa, 0xfb, 0x7c, 0xe9, 0x76, 0x11,
  70. 0x72, 0x41, 0x19, 0xe3, 0x2e, 0xf6, 0xf4, 0x7d, 0xca, 0x6c, 0x55, 0x95, 0x28, 0x42, 0xa0, 0xd3,
  71. 0x8f, 0xf2, 0x20, 0xdb, 0x27, 0x9f, 0x5f, 0x09, 0xd8, 0xab, 0x7a, 0x23, 0xda, 0x30, 0xe1, 0x7b,
  72. 0x08, 0x43, 0x21, 0xcc, 0x0f, 0x61, 0x91, 0x10, 0xe6, 0x42, 0x5e, 0x91, 0x47, 0x57, 0x42, 0xd6,
  73. 0xf7, 0xcf, 0xf5, 0x0a, 0x0f, 0x40, 0xbd, 0x02, 0xe1, 0x76, 0xc5, 0xba, 0xdc, 0x83, 0x0f, 0x19,
  74. 0xac, 0xa8, 0x0d, 0xb4, 0xa2, 0xc5, 0x6c, 0x4f, 0x18, 0xd4, 0x93, 0x8f, 0xeb, 0x09, 0xd6, 0x44,
  75. 0x3d, 0xc1, 0x43, 0x6d, 0xaa, 0xba, 0x21, 0xbb, 0x54, 0x3d, 0x00, 0xa5, 0x8a, 0x70, 0xbb, 0xee,
  76. 0x2d, 0x4f, 0x33, 0xe1, 0xd6, 0xb5, 0x26, 0x5a, 0xd7, 0x43, 0xed, 0xad, 0xbb, 0xe6, 0x6c, 0x99,
  77. 0x2c, 0xd9, 0x06, 0x6e, 0x9d, 0xb1, 0xd0, 0xad, 0x73, 0x20, 0x44, 0x7d, 0x4d, 0x3e, 0x49, 0xe4,
  78. 0x47, 0xaa, 0xe6, 0xb0, 0x44, 0x7e, 0x34, 0xbe, 0x3b, 0xd6, 0xc6, 0x59, 0x25, 0x59, 0xbe, 0xf0,
  79. 0xb2, 0xaa, 0xcd, 0x66, 0x56, 0x80, 0xda, 0x71, 0x0e, 0xbe, 0xfa, 0x09, 0xab, 0xaa, 0x87, 0x14,
  80. 0xc6, 0x39, 0x1f, 0x41, 0xe3, 0x1c, 0x26, 0xdc, 0x3c, 0xe6, 0x46, 0x13, 0x7a, 0x10, 0xcc, 0x2a,
  81. 0x78, 0x1e, 0xf3, 0xf1, 0x70, 0xb2, 0x9a, 0x70, 0x99, 0x64, 0x33, 0x34, 0x59, 0x01, 0x14, 0x9b,
  82. 0xac, 0x0c, 0x13, 0x8a, 0xf8, 0x5f, 0x64, 0x04, 0xc5, 0x44, 0xf0, 0x17, 0x99, 0x91, 0x8e, 0xc6,
  83. 0xe1, 0x9b, 0x18, 0x76, 0xf8, 0x16, 0x12, 0x75, 0xf8, 0x56, 0x1f, 0xfb, 0x3d, 0xd2, 0x1e, 0x49,
  84. 0x29, 0x16, 0x25, 0xaf, 0x2a, 0xf8, 0x1e, 0x05, 0x20, 0xfa, 0x1e, 0x35, 0x38, 0xdb, 0x18, 0x03,
  85. 0x66, 0x90, 0xa6, 0xf4, 0x24, 0x12, 0x31, 0x48, 0x53, 0xd4, 0x18, 0x63, 0x74, 0x9b, 0xe6, 0x84,
  86. 0xcb, 0xa8, 0xe6, 0x84, 0xcb, 0x6d, 0x9a, 0x8a, 0x6e, 0xd3, 0x1c, 0x99, 0x09, 0xb0, 0x89, 0x6f,
  87. 0xd3, 0x1c, 0xb9, 0x09, 0xf0, 0x35, 0xd9, 0x51, 0xcf, 0xfa, 0xfa, 0x7e, 0xc9, 0xeb, 0x5d, 0x77,
  88. 0xec, 0x43, 0xd7, 0x08, 0xba, 0xb4, 0x98, 0xb0, 0x17, 0xc6, 0xc2, 0xea, 0x25, 0x77, 0x91, 0xa7,
  89. 0xff, 0x9a, 0x0f, 0x22, 0x8c, 0x3d, 0x4d, 0x8b, 0x8f, 0xf8, 0x92, 0x4b, 0x3d, 0x5d, 0x04, 0x20,
  90. 0x3a, 0xcd, 0x06, 0x07, 0x52, 0x6f, 0xc9, 0xae, 0x65, 0xde, 0xe5, 0xef, 0xe6, 0x73, 0x7a, 0x88,
  91. 0xbc, 0x15, 0x66, 0x84, 0x3a, 0x31, 0xaa, 0x99, 0x92, 0x7e, 0x0a, 0x38, 0x25, 0xfc, 0x18, 0xba,
  92. 0x51, 0x0e, 0x4b, 0x0d, 0x45, 0x2e, 0xd9, 0x4c, 0xd6, 0x75, 0x76, 0x52, 0x0e, 0x6c, 0x4a, 0xf9,
  93. 0x9c, 0x9d, 0x75, 0x7d, 0x46, 0x15, 0xfc, 0x38, 0xf4, 0xf7, 0x6b, 0x7e, 0x18, 0x27, 0xed, 0x8d,
  94. 0xf2, 0x29, 0x5d, 0xf9, 0x93, 0x30, 0x04, 0x17, 0xff, 0xb8, 0x8d, 0x8e, 0x6a, 0xea, 0xd2, 0x35,
  95. 0x34, 0x71, 0xf5, 0x8e, 0xdb, 0x68, 0xa5, 0xf9, 0xe6, 0xfc, 0xf7, 0xb3, 0xaa, 0xfe, 0xa9, 0x7d,
  96. 0x51, 0x65, 0x92, 0x5f, 0xb8, 0x7f, 0x01, 0x5c, 0x2c, 0x98, 0xe4, 0x0f, 0x6c, 0xd3, 0x2b, 0xa6,
  97. 0xd3, 0xcf, 0xd4, 0xcf, 0xf2, 0xef, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xfd, 0xc2, 0xc1, 0xda,
  98. 0x2a, 0x10, 0x00, 0x00,
  99. }
  100. // Reference imports to suppress errors if they are not otherwise used.
  101. var _ context.Context
  102. var _ grpc.ClientConnInterface
  103. // This is a compile-time assertion to ensure that this generated file
  104. // is compatible with the grpc package it is being compiled against.
  105. const _ = grpc.SupportPackageIsVersion6
  106. // SmartSiteProjectClient is the client API for SmartSiteProject service.
  107. //
  108. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  109. type SmartSiteProjectClient interface {
  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. ProjectChange(ctx context.Context, in *v1.ProjectChangeRequest, opts ...grpc.CallOption) (*v1.ProjectChangeReply, error)
  118. ProjectInfoForChange(ctx context.Context, in *v1.ProjectInfoForChangeRequest, opts ...grpc.CallOption) (*v1.ProjectInfoForChangeReply, error)
  119. ProjectChangeInfoList(ctx context.Context, in *v1.ProjectChangeInfoListRequest, opts ...grpc.CallOption) (*v1.ProjectChangeInfoListReply, error)
  120. // 设备列表
  121. DeviceList(ctx context.Context, in *v1.DeviceListRequest, opts ...grpc.CallOption) (*v1.DeviceListReply, error)
  122. // 获取设备绑定的摄像头
  123. DeviceVideoChannel(ctx context.Context, in *v1.DeviceVideoChannelRequest, opts ...grpc.CallOption) (*v1.DeviceVideoChannelReply, error)
  124. // 设备确认接口
  125. DeviceApprove(ctx context.Context, in *v1.DeviceApproveRequest, opts ...grpc.CallOption) (*v1.DeviceApproveReply, error)
  126. // 摄像头列表
  127. CameraList(ctx context.Context, in *v1.CameraListRequest, opts ...grpc.CallOption) (*v1.CameraListReply, error)
  128. ChannelUpdate(ctx context.Context, in *v1.ChannelUpdateRequest, opts ...grpc.CallOption) (*v1.ChannelUpdateReply, error)
  129. // 设备绑定摄像头
  130. DeviceBindCamera(ctx context.Context, in *v1.DeviceBindCameraRequest, opts ...grpc.CallOption) (*v1.DeviceBindCameraReply, error)
  131. // 设备解绑摄像头
  132. DeviceUnbindCamera(ctx context.Context, in *v1.DeviceUnbindCameraRequest, opts ...grpc.CallOption) (*v1.DeviceUnbindCameraReply, error)
  133. // 车辆进出场列表
  134. VehicleList(ctx context.Context, in *v1.VehicleListRequest, opts ...grpc.CallOption) (*v1.VehicleListReply, error)
  135. // 最近一次人员考勤数据
  136. LatestStaffData(ctx context.Context, in *v1.LatestStaffDataRequest, opts ...grpc.CallOption) (*v1.LatestStaffDataReply, error)
  137. StaffList(ctx context.Context, in *v1.StaffListRequest, opts ...grpc.CallOption) (*v1.StaffListReply, error)
  138. StaffAttendance(ctx context.Context, in *v1.StaffAttendanceRequest, opts ...grpc.CallOption) (*v1.StaffAttendanceReply, error)
  139. // 员工工种统计
  140. StaffWorkTypeStatistics(ctx context.Context, in *v1.StaffWorkTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffWorkTypeStatisticsReply, error)
  141. // 员工类型统计
  142. StaffTypeStatistics(ctx context.Context, in *v1.StaffTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffTypeStatisticsReply, error)
  143. // 员工劳务公司统计
  144. LaborCompanyStatistics(ctx context.Context, in *v1.LaborCompanyStatisticsRequest, opts ...grpc.CallOption) (*v1.LaborCompanyStatisticsReply, error)
  145. // 最近一次扬尘监控数据
  146. LatestDustMonitorData(ctx context.Context, in *v1.LatestDustMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestDustMonitorDataReply, error)
  147. // 扬尘监控历史数据
  148. DustMonitorHistory(ctx context.Context, in *v1.DustMonitorHistoryRequest, opts ...grpc.CallOption) (*v1.DustMonitorHistoryReply, error)
  149. // 扬尘设备列表
  150. DustList(ctx context.Context, in *v1.DustListRequest, opts ...grpc.CallOption) (*v1.DustListReply, error)
  151. // 最近一次塔吊数据
  152. LatestTowerMonitorData(ctx context.Context, in *v1.LatestTowerMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestTowerMonitorDataReply, error)
  153. // 塔吊历史数据
  154. TowerMonitorHistory(ctx context.Context, in *v1.TowerMonitorHistoryRequest, opts ...grpc.CallOption) (*v1.TowerMonitorHistoryReply, error)
  155. // iot设备列表
  156. IotList(ctx context.Context, in *v1.IotListRequest, opts ...grpc.CallOption) (*v1.IotListReply, error)
  157. IotLast(ctx context.Context, in *v1.IotLastRequest, opts ...grpc.CallOption) (*v1.IotLastReply, error)
  158. // iot设备类型列表
  159. IotTypeList(ctx context.Context, in *v1.IotTypeListRequest, opts ...grpc.CallOption) (*v1.IotTypeListReply, error)
  160. // aqi
  161. DustAqi(ctx context.Context, in *v1.DustAqiRequest, opts ...grpc.CallOption) (*v1.DustAqiReply, error)
  162. // 获取告警信息列表
  163. AlarmList(ctx context.Context, in *v1.AlarmListRequest, opts ...grpc.CallOption) (*v1.AlarmListReply, error)
  164. // 视频监控通道列表
  165. ChannelList(ctx context.Context, in *v1.ChannelListRequest, opts ...grpc.CallOption) (*v1.ChannelListReply, error)
  166. // 视频监控视频列表
  167. VedioList(ctx context.Context, in *v1.VedioListRequest, opts ...grpc.CallOption) (*v1.VedioListReply, error)
  168. // 获取视频监控播放地址
  169. RealPlay(ctx context.Context, in *v1.RealPlayRequest, opts ...grpc.CallOption) (*v1.RealPlayReply, error)
  170. // 视频监控ptz控制
  171. Ptz(ctx context.Context, in *v1.PtzRequest, opts ...grpc.CallOption) (*v1.PtzReply, error)
  172. // 保持监控在线
  173. VedioPing(ctx context.Context, in *v1.VedioPingRequest, opts ...grpc.CallOption) (*v1.VedioPingReply, error)
  174. // 修改用户密码
  175. ChangePasswd(ctx context.Context, in *v1.ChangePasswdRequest, opts ...grpc.CallOption) (*v1.ChangePasswdReply, error)
  176. // 工程信息
  177. ProjectInfo(ctx context.Context, in *v1.ProjectInfoRequest, opts ...grpc.CallOption) (*v1.ProjectInfoReply, error)
  178. // 设置工程平面图或效果图
  179. ProjectSetPic(ctx context.Context, in *v1.ProjectSetPicRequest, opts ...grpc.CallOption) (*v1.ProjectSetPicReply, error)
  180. // 修改工程名或地址,不需审批
  181. ProjectUpdate(ctx context.Context, in *v1.ProjectUpdateRequest, opts ...grpc.CallOption) (*v1.ProjectUpdateReply, error)
  182. // 项目设备统计
  183. ProjectDeviceStatistics(ctx context.Context, in *v1.ProjectDeviceStatisticsRequest, opts ...grpc.CallOption) (*v1.ProjectDeviceStatisticsReply, error)
  184. // 项目工程进度
  185. ProjectProgress(ctx context.Context, in *v1.ProjectProgressRequest, opts ...grpc.CallOption) (*v1.ProjectProgressReply, error)
  186. // 添加项目工程进度
  187. ProjectProgressAdd(ctx context.Context, in *v1.ProjectProgressAddRequest, opts ...grpc.CallOption) (*v1.ProjectProgressAddReply, error)
  188. // 项目工程阶段完成
  189. ProjectProgressSet(ctx context.Context, in *v1.ProjectProgressSetRequest, opts ...grpc.CallOption) (*v1.ProjectProgressSetReply, error)
  190. // 删除项目工程进度
  191. ProjectProgressDel(ctx context.Context, in *v1.ProjectProgressDelRequest, opts ...grpc.CallOption) (*v1.ProjectProgressDelReply, error)
  192. // 告警规则设置
  193. // 告警规则添加
  194. AlarmRuleAdd(ctx context.Context, in *v1.AlarmRuleAddRequest, opts ...grpc.CallOption) (*v1.AlarmRuleAddReply, error)
  195. // 告警规则列表
  196. AlarmRuleList(ctx context.Context, in *v1.AlarmRuleListRequest, opts ...grpc.CallOption) (*v1.AlarmRuleListReply, error)
  197. // 告警规则删除
  198. AlarmRuleDelete(ctx context.Context, in *v1.AlarmRuleDeleteRequest, opts ...grpc.CallOption) (*v1.AlarmRuleDeleteReply, error)
  199. // 告警规则开关
  200. AlarmRuleOnOff(ctx context.Context, in *v1.AlarmRuleOnOffRequest, opts ...grpc.CallOption) (*v1.AlarmRuleOnOffReply, error)
  201. // 告警规则更新
  202. AlarmRuleUpdate(ctx context.Context, in *v1.AlarmRuleUpdateRequest, opts ...grpc.CallOption) (*v1.AlarmRuleUpdateReply, error)
  203. // 告警推送设置
  204. // 告警联系人添加
  205. AlarmContactAdd(ctx context.Context, in *v1.AlarmContactAddRequest, opts ...grpc.CallOption) (*v1.AlarmContactAddReply, error)
  206. // 告警联系人列表
  207. AlarmContactList(ctx context.Context, in *v1.AlarmContactListRequest, opts ...grpc.CallOption) (*v1.AlarmContactListReply, error)
  208. // 告警联系人删除
  209. AlarmContactDelete(ctx context.Context, in *v1.AlarmContactDeleteRequest, opts ...grpc.CallOption) (*v1.AlarmContactDeleteReply, error)
  210. // 告警联系人更新
  211. AlarmContactUpdate(ctx context.Context, in *v1.AlarmContactUpdateRequest, opts ...grpc.CallOption) (*v1.AlarmContactUpdateReply, error)
  212. }
  213. type smartSiteProjectClient struct {
  214. cc grpc.ClientConnInterface
  215. }
  216. func NewSmartSiteProjectClient(cc grpc.ClientConnInterface) SmartSiteProjectClient {
  217. return &smartSiteProjectClient{cc}
  218. }
  219. func (c *smartSiteProjectClient) Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error) {
  220. out := new(v1.LoginReply)
  221. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/Login", in, out, opts...)
  222. if err != nil {
  223. return nil, err
  224. }
  225. return out, nil
  226. }
  227. func (c *smartSiteProjectClient) EmailPrepare(ctx context.Context, in *v1.EmailPrepareRequest, opts ...grpc.CallOption) (*v1.EmailPrepareReply, error) {
  228. out := new(v1.EmailPrepareReply)
  229. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/EmailPrepare", in, out, opts...)
  230. if err != nil {
  231. return nil, err
  232. }
  233. return out, nil
  234. }
  235. func (c *smartSiteProjectClient) EmailUpdate(ctx context.Context, in *v1.EmailUpdateRequest, opts ...grpc.CallOption) (*v1.EmailUpdateReply, error) {
  236. out := new(v1.EmailUpdateReply)
  237. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/EmailUpdate", in, out, opts...)
  238. if err != nil {
  239. return nil, err
  240. }
  241. return out, nil
  242. }
  243. func (c *smartSiteProjectClient) PhoneUpdate(ctx context.Context, in *v1.PhoneUpdateRequest, opts ...grpc.CallOption) (*v1.PhoneUpdateReply, error) {
  244. out := new(v1.PhoneUpdateReply)
  245. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/PhoneUpdate", in, out, opts...)
  246. if err != nil {
  247. return nil, err
  248. }
  249. return out, nil
  250. }
  251. func (c *smartSiteProjectClient) UserInfo(ctx context.Context, in *v1.UserInfoRequest, opts ...grpc.CallOption) (*v1.UserInfoReply, error) {
  252. out := new(v1.UserInfoReply)
  253. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/UserInfo", in, out, opts...)
  254. if err != nil {
  255. return nil, err
  256. }
  257. return out, nil
  258. }
  259. func (c *smartSiteProjectClient) ProjectChange(ctx context.Context, in *v1.ProjectChangeRequest, opts ...grpc.CallOption) (*v1.ProjectChangeReply, error) {
  260. out := new(v1.ProjectChangeReply)
  261. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectChange", in, out, opts...)
  262. if err != nil {
  263. return nil, err
  264. }
  265. return out, nil
  266. }
  267. func (c *smartSiteProjectClient) ProjectInfoForChange(ctx context.Context, in *v1.ProjectInfoForChangeRequest, opts ...grpc.CallOption) (*v1.ProjectInfoForChangeReply, error) {
  268. out := new(v1.ProjectInfoForChangeReply)
  269. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectInfoForChange", in, out, opts...)
  270. if err != nil {
  271. return nil, err
  272. }
  273. return out, nil
  274. }
  275. func (c *smartSiteProjectClient) ProjectChangeInfoList(ctx context.Context, in *v1.ProjectChangeInfoListRequest, opts ...grpc.CallOption) (*v1.ProjectChangeInfoListReply, error) {
  276. out := new(v1.ProjectChangeInfoListReply)
  277. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectChangeInfoList", in, out, opts...)
  278. if err != nil {
  279. return nil, err
  280. }
  281. return out, nil
  282. }
  283. func (c *smartSiteProjectClient) DeviceList(ctx context.Context, in *v1.DeviceListRequest, opts ...grpc.CallOption) (*v1.DeviceListReply, error) {
  284. out := new(v1.DeviceListReply)
  285. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DeviceList", in, out, opts...)
  286. if err != nil {
  287. return nil, err
  288. }
  289. return out, nil
  290. }
  291. func (c *smartSiteProjectClient) DeviceVideoChannel(ctx context.Context, in *v1.DeviceVideoChannelRequest, opts ...grpc.CallOption) (*v1.DeviceVideoChannelReply, error) {
  292. out := new(v1.DeviceVideoChannelReply)
  293. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DeviceVideoChannel", in, out, opts...)
  294. if err != nil {
  295. return nil, err
  296. }
  297. return out, nil
  298. }
  299. func (c *smartSiteProjectClient) DeviceApprove(ctx context.Context, in *v1.DeviceApproveRequest, opts ...grpc.CallOption) (*v1.DeviceApproveReply, error) {
  300. out := new(v1.DeviceApproveReply)
  301. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DeviceApprove", in, out, opts...)
  302. if err != nil {
  303. return nil, err
  304. }
  305. return out, nil
  306. }
  307. func (c *smartSiteProjectClient) CameraList(ctx context.Context, in *v1.CameraListRequest, opts ...grpc.CallOption) (*v1.CameraListReply, error) {
  308. out := new(v1.CameraListReply)
  309. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/CameraList", in, out, opts...)
  310. if err != nil {
  311. return nil, err
  312. }
  313. return out, nil
  314. }
  315. func (c *smartSiteProjectClient) ChannelUpdate(ctx context.Context, in *v1.ChannelUpdateRequest, opts ...grpc.CallOption) (*v1.ChannelUpdateReply, error) {
  316. out := new(v1.ChannelUpdateReply)
  317. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ChannelUpdate", in, out, opts...)
  318. if err != nil {
  319. return nil, err
  320. }
  321. return out, nil
  322. }
  323. func (c *smartSiteProjectClient) DeviceBindCamera(ctx context.Context, in *v1.DeviceBindCameraRequest, opts ...grpc.CallOption) (*v1.DeviceBindCameraReply, error) {
  324. out := new(v1.DeviceBindCameraReply)
  325. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DeviceBindCamera", in, out, opts...)
  326. if err != nil {
  327. return nil, err
  328. }
  329. return out, nil
  330. }
  331. func (c *smartSiteProjectClient) DeviceUnbindCamera(ctx context.Context, in *v1.DeviceUnbindCameraRequest, opts ...grpc.CallOption) (*v1.DeviceUnbindCameraReply, error) {
  332. out := new(v1.DeviceUnbindCameraReply)
  333. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DeviceUnbindCamera", in, out, opts...)
  334. if err != nil {
  335. return nil, err
  336. }
  337. return out, nil
  338. }
  339. func (c *smartSiteProjectClient) VehicleList(ctx context.Context, in *v1.VehicleListRequest, opts ...grpc.CallOption) (*v1.VehicleListReply, error) {
  340. out := new(v1.VehicleListReply)
  341. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/VehicleList", in, out, opts...)
  342. if err != nil {
  343. return nil, err
  344. }
  345. return out, nil
  346. }
  347. func (c *smartSiteProjectClient) LatestStaffData(ctx context.Context, in *v1.LatestStaffDataRequest, opts ...grpc.CallOption) (*v1.LatestStaffDataReply, error) {
  348. out := new(v1.LatestStaffDataReply)
  349. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/LatestStaffData", in, out, opts...)
  350. if err != nil {
  351. return nil, err
  352. }
  353. return out, nil
  354. }
  355. func (c *smartSiteProjectClient) StaffList(ctx context.Context, in *v1.StaffListRequest, opts ...grpc.CallOption) (*v1.StaffListReply, error) {
  356. out := new(v1.StaffListReply)
  357. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/StaffList", in, out, opts...)
  358. if err != nil {
  359. return nil, err
  360. }
  361. return out, nil
  362. }
  363. func (c *smartSiteProjectClient) StaffAttendance(ctx context.Context, in *v1.StaffAttendanceRequest, opts ...grpc.CallOption) (*v1.StaffAttendanceReply, error) {
  364. out := new(v1.StaffAttendanceReply)
  365. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/StaffAttendance", in, out, opts...)
  366. if err != nil {
  367. return nil, err
  368. }
  369. return out, nil
  370. }
  371. func (c *smartSiteProjectClient) StaffWorkTypeStatistics(ctx context.Context, in *v1.StaffWorkTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffWorkTypeStatisticsReply, error) {
  372. out := new(v1.StaffWorkTypeStatisticsReply)
  373. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/StaffWorkTypeStatistics", in, out, opts...)
  374. if err != nil {
  375. return nil, err
  376. }
  377. return out, nil
  378. }
  379. func (c *smartSiteProjectClient) StaffTypeStatistics(ctx context.Context, in *v1.StaffTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffTypeStatisticsReply, error) {
  380. out := new(v1.StaffTypeStatisticsReply)
  381. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/StaffTypeStatistics", in, out, opts...)
  382. if err != nil {
  383. return nil, err
  384. }
  385. return out, nil
  386. }
  387. func (c *smartSiteProjectClient) LaborCompanyStatistics(ctx context.Context, in *v1.LaborCompanyStatisticsRequest, opts ...grpc.CallOption) (*v1.LaborCompanyStatisticsReply, error) {
  388. out := new(v1.LaborCompanyStatisticsReply)
  389. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/LaborCompanyStatistics", in, out, opts...)
  390. if err != nil {
  391. return nil, err
  392. }
  393. return out, nil
  394. }
  395. func (c *smartSiteProjectClient) LatestDustMonitorData(ctx context.Context, in *v1.LatestDustMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestDustMonitorDataReply, error) {
  396. out := new(v1.LatestDustMonitorDataReply)
  397. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/LatestDustMonitorData", in, out, opts...)
  398. if err != nil {
  399. return nil, err
  400. }
  401. return out, nil
  402. }
  403. func (c *smartSiteProjectClient) DustMonitorHistory(ctx context.Context, in *v1.DustMonitorHistoryRequest, opts ...grpc.CallOption) (*v1.DustMonitorHistoryReply, error) {
  404. out := new(v1.DustMonitorHistoryReply)
  405. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DustMonitorHistory", in, out, opts...)
  406. if err != nil {
  407. return nil, err
  408. }
  409. return out, nil
  410. }
  411. func (c *smartSiteProjectClient) DustList(ctx context.Context, in *v1.DustListRequest, opts ...grpc.CallOption) (*v1.DustListReply, error) {
  412. out := new(v1.DustListReply)
  413. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DustList", in, out, opts...)
  414. if err != nil {
  415. return nil, err
  416. }
  417. return out, nil
  418. }
  419. func (c *smartSiteProjectClient) LatestTowerMonitorData(ctx context.Context, in *v1.LatestTowerMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestTowerMonitorDataReply, error) {
  420. out := new(v1.LatestTowerMonitorDataReply)
  421. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/LatestTowerMonitorData", in, out, opts...)
  422. if err != nil {
  423. return nil, err
  424. }
  425. return out, nil
  426. }
  427. func (c *smartSiteProjectClient) TowerMonitorHistory(ctx context.Context, in *v1.TowerMonitorHistoryRequest, opts ...grpc.CallOption) (*v1.TowerMonitorHistoryReply, error) {
  428. out := new(v1.TowerMonitorHistoryReply)
  429. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/TowerMonitorHistory", in, out, opts...)
  430. if err != nil {
  431. return nil, err
  432. }
  433. return out, nil
  434. }
  435. func (c *smartSiteProjectClient) IotList(ctx context.Context, in *v1.IotListRequest, opts ...grpc.CallOption) (*v1.IotListReply, error) {
  436. out := new(v1.IotListReply)
  437. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/IotList", in, out, opts...)
  438. if err != nil {
  439. return nil, err
  440. }
  441. return out, nil
  442. }
  443. func (c *smartSiteProjectClient) IotLast(ctx context.Context, in *v1.IotLastRequest, opts ...grpc.CallOption) (*v1.IotLastReply, error) {
  444. out := new(v1.IotLastReply)
  445. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/IotLast", in, out, opts...)
  446. if err != nil {
  447. return nil, err
  448. }
  449. return out, nil
  450. }
  451. func (c *smartSiteProjectClient) IotTypeList(ctx context.Context, in *v1.IotTypeListRequest, opts ...grpc.CallOption) (*v1.IotTypeListReply, error) {
  452. out := new(v1.IotTypeListReply)
  453. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/IotTypeList", in, out, opts...)
  454. if err != nil {
  455. return nil, err
  456. }
  457. return out, nil
  458. }
  459. func (c *smartSiteProjectClient) DustAqi(ctx context.Context, in *v1.DustAqiRequest, opts ...grpc.CallOption) (*v1.DustAqiReply, error) {
  460. out := new(v1.DustAqiReply)
  461. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DustAqi", in, out, opts...)
  462. if err != nil {
  463. return nil, err
  464. }
  465. return out, nil
  466. }
  467. func (c *smartSiteProjectClient) AlarmList(ctx context.Context, in *v1.AlarmListRequest, opts ...grpc.CallOption) (*v1.AlarmListReply, error) {
  468. out := new(v1.AlarmListReply)
  469. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmList", in, out, opts...)
  470. if err != nil {
  471. return nil, err
  472. }
  473. return out, nil
  474. }
  475. func (c *smartSiteProjectClient) ChannelList(ctx context.Context, in *v1.ChannelListRequest, opts ...grpc.CallOption) (*v1.ChannelListReply, error) {
  476. out := new(v1.ChannelListReply)
  477. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ChannelList", in, out, opts...)
  478. if err != nil {
  479. return nil, err
  480. }
  481. return out, nil
  482. }
  483. func (c *smartSiteProjectClient) VedioList(ctx context.Context, in *v1.VedioListRequest, opts ...grpc.CallOption) (*v1.VedioListReply, error) {
  484. out := new(v1.VedioListReply)
  485. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/VedioList", in, out, opts...)
  486. if err != nil {
  487. return nil, err
  488. }
  489. return out, nil
  490. }
  491. func (c *smartSiteProjectClient) RealPlay(ctx context.Context, in *v1.RealPlayRequest, opts ...grpc.CallOption) (*v1.RealPlayReply, error) {
  492. out := new(v1.RealPlayReply)
  493. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/RealPlay", in, out, opts...)
  494. if err != nil {
  495. return nil, err
  496. }
  497. return out, nil
  498. }
  499. func (c *smartSiteProjectClient) Ptz(ctx context.Context, in *v1.PtzRequest, opts ...grpc.CallOption) (*v1.PtzReply, error) {
  500. out := new(v1.PtzReply)
  501. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/Ptz", in, out, opts...)
  502. if err != nil {
  503. return nil, err
  504. }
  505. return out, nil
  506. }
  507. func (c *smartSiteProjectClient) VedioPing(ctx context.Context, in *v1.VedioPingRequest, opts ...grpc.CallOption) (*v1.VedioPingReply, error) {
  508. out := new(v1.VedioPingReply)
  509. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/VedioPing", in, out, opts...)
  510. if err != nil {
  511. return nil, err
  512. }
  513. return out, nil
  514. }
  515. func (c *smartSiteProjectClient) ChangePasswd(ctx context.Context, in *v1.ChangePasswdRequest, opts ...grpc.CallOption) (*v1.ChangePasswdReply, error) {
  516. out := new(v1.ChangePasswdReply)
  517. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ChangePasswd", in, out, opts...)
  518. if err != nil {
  519. return nil, err
  520. }
  521. return out, nil
  522. }
  523. func (c *smartSiteProjectClient) ProjectInfo(ctx context.Context, in *v1.ProjectInfoRequest, opts ...grpc.CallOption) (*v1.ProjectInfoReply, error) {
  524. out := new(v1.ProjectInfoReply)
  525. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectInfo", in, out, opts...)
  526. if err != nil {
  527. return nil, err
  528. }
  529. return out, nil
  530. }
  531. func (c *smartSiteProjectClient) ProjectSetPic(ctx context.Context, in *v1.ProjectSetPicRequest, opts ...grpc.CallOption) (*v1.ProjectSetPicReply, error) {
  532. out := new(v1.ProjectSetPicReply)
  533. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectSetPic", in, out, opts...)
  534. if err != nil {
  535. return nil, err
  536. }
  537. return out, nil
  538. }
  539. func (c *smartSiteProjectClient) ProjectUpdate(ctx context.Context, in *v1.ProjectUpdateRequest, opts ...grpc.CallOption) (*v1.ProjectUpdateReply, error) {
  540. out := new(v1.ProjectUpdateReply)
  541. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectUpdate", in, out, opts...)
  542. if err != nil {
  543. return nil, err
  544. }
  545. return out, nil
  546. }
  547. func (c *smartSiteProjectClient) ProjectDeviceStatistics(ctx context.Context, in *v1.ProjectDeviceStatisticsRequest, opts ...grpc.CallOption) (*v1.ProjectDeviceStatisticsReply, error) {
  548. out := new(v1.ProjectDeviceStatisticsReply)
  549. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectDeviceStatistics", in, out, opts...)
  550. if err != nil {
  551. return nil, err
  552. }
  553. return out, nil
  554. }
  555. func (c *smartSiteProjectClient) ProjectProgress(ctx context.Context, in *v1.ProjectProgressRequest, opts ...grpc.CallOption) (*v1.ProjectProgressReply, error) {
  556. out := new(v1.ProjectProgressReply)
  557. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectProgress", in, out, opts...)
  558. if err != nil {
  559. return nil, err
  560. }
  561. return out, nil
  562. }
  563. func (c *smartSiteProjectClient) ProjectProgressAdd(ctx context.Context, in *v1.ProjectProgressAddRequest, opts ...grpc.CallOption) (*v1.ProjectProgressAddReply, error) {
  564. out := new(v1.ProjectProgressAddReply)
  565. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectProgressAdd", in, out, opts...)
  566. if err != nil {
  567. return nil, err
  568. }
  569. return out, nil
  570. }
  571. func (c *smartSiteProjectClient) ProjectProgressSet(ctx context.Context, in *v1.ProjectProgressSetRequest, opts ...grpc.CallOption) (*v1.ProjectProgressSetReply, error) {
  572. out := new(v1.ProjectProgressSetReply)
  573. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectProgressSet", in, out, opts...)
  574. if err != nil {
  575. return nil, err
  576. }
  577. return out, nil
  578. }
  579. func (c *smartSiteProjectClient) ProjectProgressDel(ctx context.Context, in *v1.ProjectProgressDelRequest, opts ...grpc.CallOption) (*v1.ProjectProgressDelReply, error) {
  580. out := new(v1.ProjectProgressDelReply)
  581. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectProgressDel", in, out, opts...)
  582. if err != nil {
  583. return nil, err
  584. }
  585. return out, nil
  586. }
  587. func (c *smartSiteProjectClient) AlarmRuleAdd(ctx context.Context, in *v1.AlarmRuleAddRequest, opts ...grpc.CallOption) (*v1.AlarmRuleAddReply, error) {
  588. out := new(v1.AlarmRuleAddReply)
  589. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmRuleAdd", in, out, opts...)
  590. if err != nil {
  591. return nil, err
  592. }
  593. return out, nil
  594. }
  595. func (c *smartSiteProjectClient) AlarmRuleList(ctx context.Context, in *v1.AlarmRuleListRequest, opts ...grpc.CallOption) (*v1.AlarmRuleListReply, error) {
  596. out := new(v1.AlarmRuleListReply)
  597. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmRuleList", in, out, opts...)
  598. if err != nil {
  599. return nil, err
  600. }
  601. return out, nil
  602. }
  603. func (c *smartSiteProjectClient) AlarmRuleDelete(ctx context.Context, in *v1.AlarmRuleDeleteRequest, opts ...grpc.CallOption) (*v1.AlarmRuleDeleteReply, error) {
  604. out := new(v1.AlarmRuleDeleteReply)
  605. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmRuleDelete", in, out, opts...)
  606. if err != nil {
  607. return nil, err
  608. }
  609. return out, nil
  610. }
  611. func (c *smartSiteProjectClient) AlarmRuleOnOff(ctx context.Context, in *v1.AlarmRuleOnOffRequest, opts ...grpc.CallOption) (*v1.AlarmRuleOnOffReply, error) {
  612. out := new(v1.AlarmRuleOnOffReply)
  613. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmRuleOnOff", in, out, opts...)
  614. if err != nil {
  615. return nil, err
  616. }
  617. return out, nil
  618. }
  619. func (c *smartSiteProjectClient) AlarmRuleUpdate(ctx context.Context, in *v1.AlarmRuleUpdateRequest, opts ...grpc.CallOption) (*v1.AlarmRuleUpdateReply, error) {
  620. out := new(v1.AlarmRuleUpdateReply)
  621. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmRuleUpdate", in, out, opts...)
  622. if err != nil {
  623. return nil, err
  624. }
  625. return out, nil
  626. }
  627. func (c *smartSiteProjectClient) AlarmContactAdd(ctx context.Context, in *v1.AlarmContactAddRequest, opts ...grpc.CallOption) (*v1.AlarmContactAddReply, error) {
  628. out := new(v1.AlarmContactAddReply)
  629. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmContactAdd", in, out, opts...)
  630. if err != nil {
  631. return nil, err
  632. }
  633. return out, nil
  634. }
  635. func (c *smartSiteProjectClient) AlarmContactList(ctx context.Context, in *v1.AlarmContactListRequest, opts ...grpc.CallOption) (*v1.AlarmContactListReply, error) {
  636. out := new(v1.AlarmContactListReply)
  637. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmContactList", in, out, opts...)
  638. if err != nil {
  639. return nil, err
  640. }
  641. return out, nil
  642. }
  643. func (c *smartSiteProjectClient) AlarmContactDelete(ctx context.Context, in *v1.AlarmContactDeleteRequest, opts ...grpc.CallOption) (*v1.AlarmContactDeleteReply, error) {
  644. out := new(v1.AlarmContactDeleteReply)
  645. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmContactDelete", in, out, opts...)
  646. if err != nil {
  647. return nil, err
  648. }
  649. return out, nil
  650. }
  651. func (c *smartSiteProjectClient) AlarmContactUpdate(ctx context.Context, in *v1.AlarmContactUpdateRequest, opts ...grpc.CallOption) (*v1.AlarmContactUpdateReply, error) {
  652. out := new(v1.AlarmContactUpdateReply)
  653. err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmContactUpdate", in, out, opts...)
  654. if err != nil {
  655. return nil, err
  656. }
  657. return out, nil
  658. }
  659. // SmartSiteProjectServer is the server API for SmartSiteProject service.
  660. type SmartSiteProjectServer interface {
  661. // 登录
  662. Login(context.Context, *v1.LoginRequest) (*v1.LoginReply, error)
  663. EmailPrepare(context.Context, *v1.EmailPrepareRequest) (*v1.EmailPrepareReply, error)
  664. EmailUpdate(context.Context, *v1.EmailUpdateRequest) (*v1.EmailUpdateReply, error)
  665. PhoneUpdate(context.Context, *v1.PhoneUpdateRequest) (*v1.PhoneUpdateReply, error)
  666. UserInfo(context.Context, *v1.UserInfoRequest) (*v1.UserInfoReply, error)
  667. // 更新项目内容
  668. ProjectChange(context.Context, *v1.ProjectChangeRequest) (*v1.ProjectChangeReply, error)
  669. ProjectInfoForChange(context.Context, *v1.ProjectInfoForChangeRequest) (*v1.ProjectInfoForChangeReply, error)
  670. ProjectChangeInfoList(context.Context, *v1.ProjectChangeInfoListRequest) (*v1.ProjectChangeInfoListReply, error)
  671. // 设备列表
  672. DeviceList(context.Context, *v1.DeviceListRequest) (*v1.DeviceListReply, error)
  673. // 获取设备绑定的摄像头
  674. DeviceVideoChannel(context.Context, *v1.DeviceVideoChannelRequest) (*v1.DeviceVideoChannelReply, error)
  675. // 设备确认接口
  676. DeviceApprove(context.Context, *v1.DeviceApproveRequest) (*v1.DeviceApproveReply, error)
  677. // 摄像头列表
  678. CameraList(context.Context, *v1.CameraListRequest) (*v1.CameraListReply, error)
  679. ChannelUpdate(context.Context, *v1.ChannelUpdateRequest) (*v1.ChannelUpdateReply, error)
  680. // 设备绑定摄像头
  681. DeviceBindCamera(context.Context, *v1.DeviceBindCameraRequest) (*v1.DeviceBindCameraReply, error)
  682. // 设备解绑摄像头
  683. DeviceUnbindCamera(context.Context, *v1.DeviceUnbindCameraRequest) (*v1.DeviceUnbindCameraReply, error)
  684. // 车辆进出场列表
  685. VehicleList(context.Context, *v1.VehicleListRequest) (*v1.VehicleListReply, error)
  686. // 最近一次人员考勤数据
  687. LatestStaffData(context.Context, *v1.LatestStaffDataRequest) (*v1.LatestStaffDataReply, error)
  688. StaffList(context.Context, *v1.StaffListRequest) (*v1.StaffListReply, error)
  689. StaffAttendance(context.Context, *v1.StaffAttendanceRequest) (*v1.StaffAttendanceReply, error)
  690. // 员工工种统计
  691. StaffWorkTypeStatistics(context.Context, *v1.StaffWorkTypeStatisticsRequest) (*v1.StaffWorkTypeStatisticsReply, error)
  692. // 员工类型统计
  693. StaffTypeStatistics(context.Context, *v1.StaffTypeStatisticsRequest) (*v1.StaffTypeStatisticsReply, error)
  694. // 员工劳务公司统计
  695. LaborCompanyStatistics(context.Context, *v1.LaborCompanyStatisticsRequest) (*v1.LaborCompanyStatisticsReply, error)
  696. // 最近一次扬尘监控数据
  697. LatestDustMonitorData(context.Context, *v1.LatestDustMonitorDataRequest) (*v1.LatestDustMonitorDataReply, error)
  698. // 扬尘监控历史数据
  699. DustMonitorHistory(context.Context, *v1.DustMonitorHistoryRequest) (*v1.DustMonitorHistoryReply, error)
  700. // 扬尘设备列表
  701. DustList(context.Context, *v1.DustListRequest) (*v1.DustListReply, error)
  702. // 最近一次塔吊数据
  703. LatestTowerMonitorData(context.Context, *v1.LatestTowerMonitorDataRequest) (*v1.LatestTowerMonitorDataReply, error)
  704. // 塔吊历史数据
  705. TowerMonitorHistory(context.Context, *v1.TowerMonitorHistoryRequest) (*v1.TowerMonitorHistoryReply, error)
  706. // iot设备列表
  707. IotList(context.Context, *v1.IotListRequest) (*v1.IotListReply, error)
  708. IotLast(context.Context, *v1.IotLastRequest) (*v1.IotLastReply, error)
  709. // iot设备类型列表
  710. IotTypeList(context.Context, *v1.IotTypeListRequest) (*v1.IotTypeListReply, error)
  711. // aqi
  712. DustAqi(context.Context, *v1.DustAqiRequest) (*v1.DustAqiReply, error)
  713. // 获取告警信息列表
  714. AlarmList(context.Context, *v1.AlarmListRequest) (*v1.AlarmListReply, error)
  715. // 视频监控通道列表
  716. ChannelList(context.Context, *v1.ChannelListRequest) (*v1.ChannelListReply, error)
  717. // 视频监控视频列表
  718. VedioList(context.Context, *v1.VedioListRequest) (*v1.VedioListReply, error)
  719. // 获取视频监控播放地址
  720. RealPlay(context.Context, *v1.RealPlayRequest) (*v1.RealPlayReply, error)
  721. // 视频监控ptz控制
  722. Ptz(context.Context, *v1.PtzRequest) (*v1.PtzReply, error)
  723. // 保持监控在线
  724. VedioPing(context.Context, *v1.VedioPingRequest) (*v1.VedioPingReply, error)
  725. // 修改用户密码
  726. ChangePasswd(context.Context, *v1.ChangePasswdRequest) (*v1.ChangePasswdReply, error)
  727. // 工程信息
  728. ProjectInfo(context.Context, *v1.ProjectInfoRequest) (*v1.ProjectInfoReply, error)
  729. // 设置工程平面图或效果图
  730. ProjectSetPic(context.Context, *v1.ProjectSetPicRequest) (*v1.ProjectSetPicReply, error)
  731. // 修改工程名或地址,不需审批
  732. ProjectUpdate(context.Context, *v1.ProjectUpdateRequest) (*v1.ProjectUpdateReply, error)
  733. // 项目设备统计
  734. ProjectDeviceStatistics(context.Context, *v1.ProjectDeviceStatisticsRequest) (*v1.ProjectDeviceStatisticsReply, error)
  735. // 项目工程进度
  736. ProjectProgress(context.Context, *v1.ProjectProgressRequest) (*v1.ProjectProgressReply, error)
  737. // 添加项目工程进度
  738. ProjectProgressAdd(context.Context, *v1.ProjectProgressAddRequest) (*v1.ProjectProgressAddReply, error)
  739. // 项目工程阶段完成
  740. ProjectProgressSet(context.Context, *v1.ProjectProgressSetRequest) (*v1.ProjectProgressSetReply, error)
  741. // 删除项目工程进度
  742. ProjectProgressDel(context.Context, *v1.ProjectProgressDelRequest) (*v1.ProjectProgressDelReply, error)
  743. // 告警规则设置
  744. // 告警规则添加
  745. AlarmRuleAdd(context.Context, *v1.AlarmRuleAddRequest) (*v1.AlarmRuleAddReply, error)
  746. // 告警规则列表
  747. AlarmRuleList(context.Context, *v1.AlarmRuleListRequest) (*v1.AlarmRuleListReply, error)
  748. // 告警规则删除
  749. AlarmRuleDelete(context.Context, *v1.AlarmRuleDeleteRequest) (*v1.AlarmRuleDeleteReply, error)
  750. // 告警规则开关
  751. AlarmRuleOnOff(context.Context, *v1.AlarmRuleOnOffRequest) (*v1.AlarmRuleOnOffReply, error)
  752. // 告警规则更新
  753. AlarmRuleUpdate(context.Context, *v1.AlarmRuleUpdateRequest) (*v1.AlarmRuleUpdateReply, error)
  754. // 告警推送设置
  755. // 告警联系人添加
  756. AlarmContactAdd(context.Context, *v1.AlarmContactAddRequest) (*v1.AlarmContactAddReply, error)
  757. // 告警联系人列表
  758. AlarmContactList(context.Context, *v1.AlarmContactListRequest) (*v1.AlarmContactListReply, error)
  759. // 告警联系人删除
  760. AlarmContactDelete(context.Context, *v1.AlarmContactDeleteRequest) (*v1.AlarmContactDeleteReply, error)
  761. // 告警联系人更新
  762. AlarmContactUpdate(context.Context, *v1.AlarmContactUpdateRequest) (*v1.AlarmContactUpdateReply, error)
  763. }
  764. // UnimplementedSmartSiteProjectServer can be embedded to have forward compatible implementations.
  765. type UnimplementedSmartSiteProjectServer struct {
  766. }
  767. func (*UnimplementedSmartSiteProjectServer) Login(ctx context.Context, req *v1.LoginRequest) (*v1.LoginReply, error) {
  768. return nil, status.Errorf(codes.Unimplemented, "method Login not implemented")
  769. }
  770. func (*UnimplementedSmartSiteProjectServer) EmailPrepare(ctx context.Context, req *v1.EmailPrepareRequest) (*v1.EmailPrepareReply, error) {
  771. return nil, status.Errorf(codes.Unimplemented, "method EmailPrepare not implemented")
  772. }
  773. func (*UnimplementedSmartSiteProjectServer) EmailUpdate(ctx context.Context, req *v1.EmailUpdateRequest) (*v1.EmailUpdateReply, error) {
  774. return nil, status.Errorf(codes.Unimplemented, "method EmailUpdate not implemented")
  775. }
  776. func (*UnimplementedSmartSiteProjectServer) PhoneUpdate(ctx context.Context, req *v1.PhoneUpdateRequest) (*v1.PhoneUpdateReply, error) {
  777. return nil, status.Errorf(codes.Unimplemented, "method PhoneUpdate not implemented")
  778. }
  779. func (*UnimplementedSmartSiteProjectServer) UserInfo(ctx context.Context, req *v1.UserInfoRequest) (*v1.UserInfoReply, error) {
  780. return nil, status.Errorf(codes.Unimplemented, "method UserInfo not implemented")
  781. }
  782. func (*UnimplementedSmartSiteProjectServer) ProjectChange(ctx context.Context, req *v1.ProjectChangeRequest) (*v1.ProjectChangeReply, error) {
  783. return nil, status.Errorf(codes.Unimplemented, "method ProjectChange not implemented")
  784. }
  785. func (*UnimplementedSmartSiteProjectServer) ProjectInfoForChange(ctx context.Context, req *v1.ProjectInfoForChangeRequest) (*v1.ProjectInfoForChangeReply, error) {
  786. return nil, status.Errorf(codes.Unimplemented, "method ProjectInfoForChange not implemented")
  787. }
  788. func (*UnimplementedSmartSiteProjectServer) ProjectChangeInfoList(ctx context.Context, req *v1.ProjectChangeInfoListRequest) (*v1.ProjectChangeInfoListReply, error) {
  789. return nil, status.Errorf(codes.Unimplemented, "method ProjectChangeInfoList not implemented")
  790. }
  791. func (*UnimplementedSmartSiteProjectServer) DeviceList(ctx context.Context, req *v1.DeviceListRequest) (*v1.DeviceListReply, error) {
  792. return nil, status.Errorf(codes.Unimplemented, "method DeviceList not implemented")
  793. }
  794. func (*UnimplementedSmartSiteProjectServer) DeviceVideoChannel(ctx context.Context, req *v1.DeviceVideoChannelRequest) (*v1.DeviceVideoChannelReply, error) {
  795. return nil, status.Errorf(codes.Unimplemented, "method DeviceVideoChannel not implemented")
  796. }
  797. func (*UnimplementedSmartSiteProjectServer) DeviceApprove(ctx context.Context, req *v1.DeviceApproveRequest) (*v1.DeviceApproveReply, error) {
  798. return nil, status.Errorf(codes.Unimplemented, "method DeviceApprove not implemented")
  799. }
  800. func (*UnimplementedSmartSiteProjectServer) CameraList(ctx context.Context, req *v1.CameraListRequest) (*v1.CameraListReply, error) {
  801. return nil, status.Errorf(codes.Unimplemented, "method CameraList not implemented")
  802. }
  803. func (*UnimplementedSmartSiteProjectServer) ChannelUpdate(ctx context.Context, req *v1.ChannelUpdateRequest) (*v1.ChannelUpdateReply, error) {
  804. return nil, status.Errorf(codes.Unimplemented, "method ChannelUpdate not implemented")
  805. }
  806. func (*UnimplementedSmartSiteProjectServer) DeviceBindCamera(ctx context.Context, req *v1.DeviceBindCameraRequest) (*v1.DeviceBindCameraReply, error) {
  807. return nil, status.Errorf(codes.Unimplemented, "method DeviceBindCamera not implemented")
  808. }
  809. func (*UnimplementedSmartSiteProjectServer) DeviceUnbindCamera(ctx context.Context, req *v1.DeviceUnbindCameraRequest) (*v1.DeviceUnbindCameraReply, error) {
  810. return nil, status.Errorf(codes.Unimplemented, "method DeviceUnbindCamera not implemented")
  811. }
  812. func (*UnimplementedSmartSiteProjectServer) VehicleList(ctx context.Context, req *v1.VehicleListRequest) (*v1.VehicleListReply, error) {
  813. return nil, status.Errorf(codes.Unimplemented, "method VehicleList not implemented")
  814. }
  815. func (*UnimplementedSmartSiteProjectServer) LatestStaffData(ctx context.Context, req *v1.LatestStaffDataRequest) (*v1.LatestStaffDataReply, error) {
  816. return nil, status.Errorf(codes.Unimplemented, "method LatestStaffData not implemented")
  817. }
  818. func (*UnimplementedSmartSiteProjectServer) StaffList(ctx context.Context, req *v1.StaffListRequest) (*v1.StaffListReply, error) {
  819. return nil, status.Errorf(codes.Unimplemented, "method StaffList not implemented")
  820. }
  821. func (*UnimplementedSmartSiteProjectServer) StaffAttendance(ctx context.Context, req *v1.StaffAttendanceRequest) (*v1.StaffAttendanceReply, error) {
  822. return nil, status.Errorf(codes.Unimplemented, "method StaffAttendance not implemented")
  823. }
  824. func (*UnimplementedSmartSiteProjectServer) StaffWorkTypeStatistics(ctx context.Context, req *v1.StaffWorkTypeStatisticsRequest) (*v1.StaffWorkTypeStatisticsReply, error) {
  825. return nil, status.Errorf(codes.Unimplemented, "method StaffWorkTypeStatistics not implemented")
  826. }
  827. func (*UnimplementedSmartSiteProjectServer) StaffTypeStatistics(ctx context.Context, req *v1.StaffTypeStatisticsRequest) (*v1.StaffTypeStatisticsReply, error) {
  828. return nil, status.Errorf(codes.Unimplemented, "method StaffTypeStatistics not implemented")
  829. }
  830. func (*UnimplementedSmartSiteProjectServer) LaborCompanyStatistics(ctx context.Context, req *v1.LaborCompanyStatisticsRequest) (*v1.LaborCompanyStatisticsReply, error) {
  831. return nil, status.Errorf(codes.Unimplemented, "method LaborCompanyStatistics not implemented")
  832. }
  833. func (*UnimplementedSmartSiteProjectServer) LatestDustMonitorData(ctx context.Context, req *v1.LatestDustMonitorDataRequest) (*v1.LatestDustMonitorDataReply, error) {
  834. return nil, status.Errorf(codes.Unimplemented, "method LatestDustMonitorData not implemented")
  835. }
  836. func (*UnimplementedSmartSiteProjectServer) DustMonitorHistory(ctx context.Context, req *v1.DustMonitorHistoryRequest) (*v1.DustMonitorHistoryReply, error) {
  837. return nil, status.Errorf(codes.Unimplemented, "method DustMonitorHistory not implemented")
  838. }
  839. func (*UnimplementedSmartSiteProjectServer) DustList(ctx context.Context, req *v1.DustListRequest) (*v1.DustListReply, error) {
  840. return nil, status.Errorf(codes.Unimplemented, "method DustList not implemented")
  841. }
  842. func (*UnimplementedSmartSiteProjectServer) LatestTowerMonitorData(ctx context.Context, req *v1.LatestTowerMonitorDataRequest) (*v1.LatestTowerMonitorDataReply, error) {
  843. return nil, status.Errorf(codes.Unimplemented, "method LatestTowerMonitorData not implemented")
  844. }
  845. func (*UnimplementedSmartSiteProjectServer) TowerMonitorHistory(ctx context.Context, req *v1.TowerMonitorHistoryRequest) (*v1.TowerMonitorHistoryReply, error) {
  846. return nil, status.Errorf(codes.Unimplemented, "method TowerMonitorHistory not implemented")
  847. }
  848. func (*UnimplementedSmartSiteProjectServer) IotList(ctx context.Context, req *v1.IotListRequest) (*v1.IotListReply, error) {
  849. return nil, status.Errorf(codes.Unimplemented, "method IotList not implemented")
  850. }
  851. func (*UnimplementedSmartSiteProjectServer) IotLast(ctx context.Context, req *v1.IotLastRequest) (*v1.IotLastReply, error) {
  852. return nil, status.Errorf(codes.Unimplemented, "method IotLast not implemented")
  853. }
  854. func (*UnimplementedSmartSiteProjectServer) IotTypeList(ctx context.Context, req *v1.IotTypeListRequest) (*v1.IotTypeListReply, error) {
  855. return nil, status.Errorf(codes.Unimplemented, "method IotTypeList not implemented")
  856. }
  857. func (*UnimplementedSmartSiteProjectServer) DustAqi(ctx context.Context, req *v1.DustAqiRequest) (*v1.DustAqiReply, error) {
  858. return nil, status.Errorf(codes.Unimplemented, "method DustAqi not implemented")
  859. }
  860. func (*UnimplementedSmartSiteProjectServer) AlarmList(ctx context.Context, req *v1.AlarmListRequest) (*v1.AlarmListReply, error) {
  861. return nil, status.Errorf(codes.Unimplemented, "method AlarmList not implemented")
  862. }
  863. func (*UnimplementedSmartSiteProjectServer) ChannelList(ctx context.Context, req *v1.ChannelListRequest) (*v1.ChannelListReply, error) {
  864. return nil, status.Errorf(codes.Unimplemented, "method ChannelList not implemented")
  865. }
  866. func (*UnimplementedSmartSiteProjectServer) VedioList(ctx context.Context, req *v1.VedioListRequest) (*v1.VedioListReply, error) {
  867. return nil, status.Errorf(codes.Unimplemented, "method VedioList not implemented")
  868. }
  869. func (*UnimplementedSmartSiteProjectServer) RealPlay(ctx context.Context, req *v1.RealPlayRequest) (*v1.RealPlayReply, error) {
  870. return nil, status.Errorf(codes.Unimplemented, "method RealPlay not implemented")
  871. }
  872. func (*UnimplementedSmartSiteProjectServer) Ptz(ctx context.Context, req *v1.PtzRequest) (*v1.PtzReply, error) {
  873. return nil, status.Errorf(codes.Unimplemented, "method Ptz not implemented")
  874. }
  875. func (*UnimplementedSmartSiteProjectServer) VedioPing(ctx context.Context, req *v1.VedioPingRequest) (*v1.VedioPingReply, error) {
  876. return nil, status.Errorf(codes.Unimplemented, "method VedioPing not implemented")
  877. }
  878. func (*UnimplementedSmartSiteProjectServer) ChangePasswd(ctx context.Context, req *v1.ChangePasswdRequest) (*v1.ChangePasswdReply, error) {
  879. return nil, status.Errorf(codes.Unimplemented, "method ChangePasswd not implemented")
  880. }
  881. func (*UnimplementedSmartSiteProjectServer) ProjectInfo(ctx context.Context, req *v1.ProjectInfoRequest) (*v1.ProjectInfoReply, error) {
  882. return nil, status.Errorf(codes.Unimplemented, "method ProjectInfo not implemented")
  883. }
  884. func (*UnimplementedSmartSiteProjectServer) ProjectSetPic(ctx context.Context, req *v1.ProjectSetPicRequest) (*v1.ProjectSetPicReply, error) {
  885. return nil, status.Errorf(codes.Unimplemented, "method ProjectSetPic not implemented")
  886. }
  887. func (*UnimplementedSmartSiteProjectServer) ProjectUpdate(ctx context.Context, req *v1.ProjectUpdateRequest) (*v1.ProjectUpdateReply, error) {
  888. return nil, status.Errorf(codes.Unimplemented, "method ProjectUpdate not implemented")
  889. }
  890. func (*UnimplementedSmartSiteProjectServer) ProjectDeviceStatistics(ctx context.Context, req *v1.ProjectDeviceStatisticsRequest) (*v1.ProjectDeviceStatisticsReply, error) {
  891. return nil, status.Errorf(codes.Unimplemented, "method ProjectDeviceStatistics not implemented")
  892. }
  893. func (*UnimplementedSmartSiteProjectServer) ProjectProgress(ctx context.Context, req *v1.ProjectProgressRequest) (*v1.ProjectProgressReply, error) {
  894. return nil, status.Errorf(codes.Unimplemented, "method ProjectProgress not implemented")
  895. }
  896. func (*UnimplementedSmartSiteProjectServer) ProjectProgressAdd(ctx context.Context, req *v1.ProjectProgressAddRequest) (*v1.ProjectProgressAddReply, error) {
  897. return nil, status.Errorf(codes.Unimplemented, "method ProjectProgressAdd not implemented")
  898. }
  899. func (*UnimplementedSmartSiteProjectServer) ProjectProgressSet(ctx context.Context, req *v1.ProjectProgressSetRequest) (*v1.ProjectProgressSetReply, error) {
  900. return nil, status.Errorf(codes.Unimplemented, "method ProjectProgressSet not implemented")
  901. }
  902. func (*UnimplementedSmartSiteProjectServer) ProjectProgressDel(ctx context.Context, req *v1.ProjectProgressDelRequest) (*v1.ProjectProgressDelReply, error) {
  903. return nil, status.Errorf(codes.Unimplemented, "method ProjectProgressDel not implemented")
  904. }
  905. func (*UnimplementedSmartSiteProjectServer) AlarmRuleAdd(ctx context.Context, req *v1.AlarmRuleAddRequest) (*v1.AlarmRuleAddReply, error) {
  906. return nil, status.Errorf(codes.Unimplemented, "method AlarmRuleAdd not implemented")
  907. }
  908. func (*UnimplementedSmartSiteProjectServer) AlarmRuleList(ctx context.Context, req *v1.AlarmRuleListRequest) (*v1.AlarmRuleListReply, error) {
  909. return nil, status.Errorf(codes.Unimplemented, "method AlarmRuleList not implemented")
  910. }
  911. func (*UnimplementedSmartSiteProjectServer) AlarmRuleDelete(ctx context.Context, req *v1.AlarmRuleDeleteRequest) (*v1.AlarmRuleDeleteReply, error) {
  912. return nil, status.Errorf(codes.Unimplemented, "method AlarmRuleDelete not implemented")
  913. }
  914. func (*UnimplementedSmartSiteProjectServer) AlarmRuleOnOff(ctx context.Context, req *v1.AlarmRuleOnOffRequest) (*v1.AlarmRuleOnOffReply, error) {
  915. return nil, status.Errorf(codes.Unimplemented, "method AlarmRuleOnOff not implemented")
  916. }
  917. func (*UnimplementedSmartSiteProjectServer) AlarmRuleUpdate(ctx context.Context, req *v1.AlarmRuleUpdateRequest) (*v1.AlarmRuleUpdateReply, error) {
  918. return nil, status.Errorf(codes.Unimplemented, "method AlarmRuleUpdate not implemented")
  919. }
  920. func (*UnimplementedSmartSiteProjectServer) AlarmContactAdd(ctx context.Context, req *v1.AlarmContactAddRequest) (*v1.AlarmContactAddReply, error) {
  921. return nil, status.Errorf(codes.Unimplemented, "method AlarmContactAdd not implemented")
  922. }
  923. func (*UnimplementedSmartSiteProjectServer) AlarmContactList(ctx context.Context, req *v1.AlarmContactListRequest) (*v1.AlarmContactListReply, error) {
  924. return nil, status.Errorf(codes.Unimplemented, "method AlarmContactList not implemented")
  925. }
  926. func (*UnimplementedSmartSiteProjectServer) AlarmContactDelete(ctx context.Context, req *v1.AlarmContactDeleteRequest) (*v1.AlarmContactDeleteReply, error) {
  927. return nil, status.Errorf(codes.Unimplemented, "method AlarmContactDelete not implemented")
  928. }
  929. func (*UnimplementedSmartSiteProjectServer) AlarmContactUpdate(ctx context.Context, req *v1.AlarmContactUpdateRequest) (*v1.AlarmContactUpdateReply, error) {
  930. return nil, status.Errorf(codes.Unimplemented, "method AlarmContactUpdate not implemented")
  931. }
  932. func RegisterSmartSiteProjectServer(s *grpc.Server, srv SmartSiteProjectServer) {
  933. s.RegisterService(&_SmartSiteProject_serviceDesc, srv)
  934. }
  935. func _SmartSiteProject_Login_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  936. in := new(v1.LoginRequest)
  937. if err := dec(in); err != nil {
  938. return nil, err
  939. }
  940. if interceptor == nil {
  941. return srv.(SmartSiteProjectServer).Login(ctx, in)
  942. }
  943. info := &grpc.UnaryServerInfo{
  944. Server: srv,
  945. FullMethod: "/pb.SmartSiteProject/Login",
  946. }
  947. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  948. return srv.(SmartSiteProjectServer).Login(ctx, req.(*v1.LoginRequest))
  949. }
  950. return interceptor(ctx, in, info, handler)
  951. }
  952. func _SmartSiteProject_EmailPrepare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  953. in := new(v1.EmailPrepareRequest)
  954. if err := dec(in); err != nil {
  955. return nil, err
  956. }
  957. if interceptor == nil {
  958. return srv.(SmartSiteProjectServer).EmailPrepare(ctx, in)
  959. }
  960. info := &grpc.UnaryServerInfo{
  961. Server: srv,
  962. FullMethod: "/pb.SmartSiteProject/EmailPrepare",
  963. }
  964. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  965. return srv.(SmartSiteProjectServer).EmailPrepare(ctx, req.(*v1.EmailPrepareRequest))
  966. }
  967. return interceptor(ctx, in, info, handler)
  968. }
  969. func _SmartSiteProject_EmailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  970. in := new(v1.EmailUpdateRequest)
  971. if err := dec(in); err != nil {
  972. return nil, err
  973. }
  974. if interceptor == nil {
  975. return srv.(SmartSiteProjectServer).EmailUpdate(ctx, in)
  976. }
  977. info := &grpc.UnaryServerInfo{
  978. Server: srv,
  979. FullMethod: "/pb.SmartSiteProject/EmailUpdate",
  980. }
  981. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  982. return srv.(SmartSiteProjectServer).EmailUpdate(ctx, req.(*v1.EmailUpdateRequest))
  983. }
  984. return interceptor(ctx, in, info, handler)
  985. }
  986. func _SmartSiteProject_PhoneUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  987. in := new(v1.PhoneUpdateRequest)
  988. if err := dec(in); err != nil {
  989. return nil, err
  990. }
  991. if interceptor == nil {
  992. return srv.(SmartSiteProjectServer).PhoneUpdate(ctx, in)
  993. }
  994. info := &grpc.UnaryServerInfo{
  995. Server: srv,
  996. FullMethod: "/pb.SmartSiteProject/PhoneUpdate",
  997. }
  998. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  999. return srv.(SmartSiteProjectServer).PhoneUpdate(ctx, req.(*v1.PhoneUpdateRequest))
  1000. }
  1001. return interceptor(ctx, in, info, handler)
  1002. }
  1003. func _SmartSiteProject_UserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1004. in := new(v1.UserInfoRequest)
  1005. if err := dec(in); err != nil {
  1006. return nil, err
  1007. }
  1008. if interceptor == nil {
  1009. return srv.(SmartSiteProjectServer).UserInfo(ctx, in)
  1010. }
  1011. info := &grpc.UnaryServerInfo{
  1012. Server: srv,
  1013. FullMethod: "/pb.SmartSiteProject/UserInfo",
  1014. }
  1015. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1016. return srv.(SmartSiteProjectServer).UserInfo(ctx, req.(*v1.UserInfoRequest))
  1017. }
  1018. return interceptor(ctx, in, info, handler)
  1019. }
  1020. func _SmartSiteProject_ProjectChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1021. in := new(v1.ProjectChangeRequest)
  1022. if err := dec(in); err != nil {
  1023. return nil, err
  1024. }
  1025. if interceptor == nil {
  1026. return srv.(SmartSiteProjectServer).ProjectChange(ctx, in)
  1027. }
  1028. info := &grpc.UnaryServerInfo{
  1029. Server: srv,
  1030. FullMethod: "/pb.SmartSiteProject/ProjectChange",
  1031. }
  1032. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1033. return srv.(SmartSiteProjectServer).ProjectChange(ctx, req.(*v1.ProjectChangeRequest))
  1034. }
  1035. return interceptor(ctx, in, info, handler)
  1036. }
  1037. func _SmartSiteProject_ProjectInfoForChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1038. in := new(v1.ProjectInfoForChangeRequest)
  1039. if err := dec(in); err != nil {
  1040. return nil, err
  1041. }
  1042. if interceptor == nil {
  1043. return srv.(SmartSiteProjectServer).ProjectInfoForChange(ctx, in)
  1044. }
  1045. info := &grpc.UnaryServerInfo{
  1046. Server: srv,
  1047. FullMethod: "/pb.SmartSiteProject/ProjectInfoForChange",
  1048. }
  1049. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1050. return srv.(SmartSiteProjectServer).ProjectInfoForChange(ctx, req.(*v1.ProjectInfoForChangeRequest))
  1051. }
  1052. return interceptor(ctx, in, info, handler)
  1053. }
  1054. func _SmartSiteProject_ProjectChangeInfoList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1055. in := new(v1.ProjectChangeInfoListRequest)
  1056. if err := dec(in); err != nil {
  1057. return nil, err
  1058. }
  1059. if interceptor == nil {
  1060. return srv.(SmartSiteProjectServer).ProjectChangeInfoList(ctx, in)
  1061. }
  1062. info := &grpc.UnaryServerInfo{
  1063. Server: srv,
  1064. FullMethod: "/pb.SmartSiteProject/ProjectChangeInfoList",
  1065. }
  1066. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1067. return srv.(SmartSiteProjectServer).ProjectChangeInfoList(ctx, req.(*v1.ProjectChangeInfoListRequest))
  1068. }
  1069. return interceptor(ctx, in, info, handler)
  1070. }
  1071. func _SmartSiteProject_DeviceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1072. in := new(v1.DeviceListRequest)
  1073. if err := dec(in); err != nil {
  1074. return nil, err
  1075. }
  1076. if interceptor == nil {
  1077. return srv.(SmartSiteProjectServer).DeviceList(ctx, in)
  1078. }
  1079. info := &grpc.UnaryServerInfo{
  1080. Server: srv,
  1081. FullMethod: "/pb.SmartSiteProject/DeviceList",
  1082. }
  1083. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1084. return srv.(SmartSiteProjectServer).DeviceList(ctx, req.(*v1.DeviceListRequest))
  1085. }
  1086. return interceptor(ctx, in, info, handler)
  1087. }
  1088. func _SmartSiteProject_DeviceVideoChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1089. in := new(v1.DeviceVideoChannelRequest)
  1090. if err := dec(in); err != nil {
  1091. return nil, err
  1092. }
  1093. if interceptor == nil {
  1094. return srv.(SmartSiteProjectServer).DeviceVideoChannel(ctx, in)
  1095. }
  1096. info := &grpc.UnaryServerInfo{
  1097. Server: srv,
  1098. FullMethod: "/pb.SmartSiteProject/DeviceVideoChannel",
  1099. }
  1100. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1101. return srv.(SmartSiteProjectServer).DeviceVideoChannel(ctx, req.(*v1.DeviceVideoChannelRequest))
  1102. }
  1103. return interceptor(ctx, in, info, handler)
  1104. }
  1105. func _SmartSiteProject_DeviceApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1106. in := new(v1.DeviceApproveRequest)
  1107. if err := dec(in); err != nil {
  1108. return nil, err
  1109. }
  1110. if interceptor == nil {
  1111. return srv.(SmartSiteProjectServer).DeviceApprove(ctx, in)
  1112. }
  1113. info := &grpc.UnaryServerInfo{
  1114. Server: srv,
  1115. FullMethod: "/pb.SmartSiteProject/DeviceApprove",
  1116. }
  1117. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1118. return srv.(SmartSiteProjectServer).DeviceApprove(ctx, req.(*v1.DeviceApproveRequest))
  1119. }
  1120. return interceptor(ctx, in, info, handler)
  1121. }
  1122. func _SmartSiteProject_CameraList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1123. in := new(v1.CameraListRequest)
  1124. if err := dec(in); err != nil {
  1125. return nil, err
  1126. }
  1127. if interceptor == nil {
  1128. return srv.(SmartSiteProjectServer).CameraList(ctx, in)
  1129. }
  1130. info := &grpc.UnaryServerInfo{
  1131. Server: srv,
  1132. FullMethod: "/pb.SmartSiteProject/CameraList",
  1133. }
  1134. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1135. return srv.(SmartSiteProjectServer).CameraList(ctx, req.(*v1.CameraListRequest))
  1136. }
  1137. return interceptor(ctx, in, info, handler)
  1138. }
  1139. func _SmartSiteProject_ChannelUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1140. in := new(v1.ChannelUpdateRequest)
  1141. if err := dec(in); err != nil {
  1142. return nil, err
  1143. }
  1144. if interceptor == nil {
  1145. return srv.(SmartSiteProjectServer).ChannelUpdate(ctx, in)
  1146. }
  1147. info := &grpc.UnaryServerInfo{
  1148. Server: srv,
  1149. FullMethod: "/pb.SmartSiteProject/ChannelUpdate",
  1150. }
  1151. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1152. return srv.(SmartSiteProjectServer).ChannelUpdate(ctx, req.(*v1.ChannelUpdateRequest))
  1153. }
  1154. return interceptor(ctx, in, info, handler)
  1155. }
  1156. func _SmartSiteProject_DeviceBindCamera_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1157. in := new(v1.DeviceBindCameraRequest)
  1158. if err := dec(in); err != nil {
  1159. return nil, err
  1160. }
  1161. if interceptor == nil {
  1162. return srv.(SmartSiteProjectServer).DeviceBindCamera(ctx, in)
  1163. }
  1164. info := &grpc.UnaryServerInfo{
  1165. Server: srv,
  1166. FullMethod: "/pb.SmartSiteProject/DeviceBindCamera",
  1167. }
  1168. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1169. return srv.(SmartSiteProjectServer).DeviceBindCamera(ctx, req.(*v1.DeviceBindCameraRequest))
  1170. }
  1171. return interceptor(ctx, in, info, handler)
  1172. }
  1173. func _SmartSiteProject_DeviceUnbindCamera_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1174. in := new(v1.DeviceUnbindCameraRequest)
  1175. if err := dec(in); err != nil {
  1176. return nil, err
  1177. }
  1178. if interceptor == nil {
  1179. return srv.(SmartSiteProjectServer).DeviceUnbindCamera(ctx, in)
  1180. }
  1181. info := &grpc.UnaryServerInfo{
  1182. Server: srv,
  1183. FullMethod: "/pb.SmartSiteProject/DeviceUnbindCamera",
  1184. }
  1185. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1186. return srv.(SmartSiteProjectServer).DeviceUnbindCamera(ctx, req.(*v1.DeviceUnbindCameraRequest))
  1187. }
  1188. return interceptor(ctx, in, info, handler)
  1189. }
  1190. func _SmartSiteProject_VehicleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1191. in := new(v1.VehicleListRequest)
  1192. if err := dec(in); err != nil {
  1193. return nil, err
  1194. }
  1195. if interceptor == nil {
  1196. return srv.(SmartSiteProjectServer).VehicleList(ctx, in)
  1197. }
  1198. info := &grpc.UnaryServerInfo{
  1199. Server: srv,
  1200. FullMethod: "/pb.SmartSiteProject/VehicleList",
  1201. }
  1202. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1203. return srv.(SmartSiteProjectServer).VehicleList(ctx, req.(*v1.VehicleListRequest))
  1204. }
  1205. return interceptor(ctx, in, info, handler)
  1206. }
  1207. func _SmartSiteProject_LatestStaffData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1208. in := new(v1.LatestStaffDataRequest)
  1209. if err := dec(in); err != nil {
  1210. return nil, err
  1211. }
  1212. if interceptor == nil {
  1213. return srv.(SmartSiteProjectServer).LatestStaffData(ctx, in)
  1214. }
  1215. info := &grpc.UnaryServerInfo{
  1216. Server: srv,
  1217. FullMethod: "/pb.SmartSiteProject/LatestStaffData",
  1218. }
  1219. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1220. return srv.(SmartSiteProjectServer).LatestStaffData(ctx, req.(*v1.LatestStaffDataRequest))
  1221. }
  1222. return interceptor(ctx, in, info, handler)
  1223. }
  1224. func _SmartSiteProject_StaffList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1225. in := new(v1.StaffListRequest)
  1226. if err := dec(in); err != nil {
  1227. return nil, err
  1228. }
  1229. if interceptor == nil {
  1230. return srv.(SmartSiteProjectServer).StaffList(ctx, in)
  1231. }
  1232. info := &grpc.UnaryServerInfo{
  1233. Server: srv,
  1234. FullMethod: "/pb.SmartSiteProject/StaffList",
  1235. }
  1236. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1237. return srv.(SmartSiteProjectServer).StaffList(ctx, req.(*v1.StaffListRequest))
  1238. }
  1239. return interceptor(ctx, in, info, handler)
  1240. }
  1241. func _SmartSiteProject_StaffAttendance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1242. in := new(v1.StaffAttendanceRequest)
  1243. if err := dec(in); err != nil {
  1244. return nil, err
  1245. }
  1246. if interceptor == nil {
  1247. return srv.(SmartSiteProjectServer).StaffAttendance(ctx, in)
  1248. }
  1249. info := &grpc.UnaryServerInfo{
  1250. Server: srv,
  1251. FullMethod: "/pb.SmartSiteProject/StaffAttendance",
  1252. }
  1253. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1254. return srv.(SmartSiteProjectServer).StaffAttendance(ctx, req.(*v1.StaffAttendanceRequest))
  1255. }
  1256. return interceptor(ctx, in, info, handler)
  1257. }
  1258. func _SmartSiteProject_StaffWorkTypeStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1259. in := new(v1.StaffWorkTypeStatisticsRequest)
  1260. if err := dec(in); err != nil {
  1261. return nil, err
  1262. }
  1263. if interceptor == nil {
  1264. return srv.(SmartSiteProjectServer).StaffWorkTypeStatistics(ctx, in)
  1265. }
  1266. info := &grpc.UnaryServerInfo{
  1267. Server: srv,
  1268. FullMethod: "/pb.SmartSiteProject/StaffWorkTypeStatistics",
  1269. }
  1270. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1271. return srv.(SmartSiteProjectServer).StaffWorkTypeStatistics(ctx, req.(*v1.StaffWorkTypeStatisticsRequest))
  1272. }
  1273. return interceptor(ctx, in, info, handler)
  1274. }
  1275. func _SmartSiteProject_StaffTypeStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1276. in := new(v1.StaffTypeStatisticsRequest)
  1277. if err := dec(in); err != nil {
  1278. return nil, err
  1279. }
  1280. if interceptor == nil {
  1281. return srv.(SmartSiteProjectServer).StaffTypeStatistics(ctx, in)
  1282. }
  1283. info := &grpc.UnaryServerInfo{
  1284. Server: srv,
  1285. FullMethod: "/pb.SmartSiteProject/StaffTypeStatistics",
  1286. }
  1287. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1288. return srv.(SmartSiteProjectServer).StaffTypeStatistics(ctx, req.(*v1.StaffTypeStatisticsRequest))
  1289. }
  1290. return interceptor(ctx, in, info, handler)
  1291. }
  1292. func _SmartSiteProject_LaborCompanyStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1293. in := new(v1.LaborCompanyStatisticsRequest)
  1294. if err := dec(in); err != nil {
  1295. return nil, err
  1296. }
  1297. if interceptor == nil {
  1298. return srv.(SmartSiteProjectServer).LaborCompanyStatistics(ctx, in)
  1299. }
  1300. info := &grpc.UnaryServerInfo{
  1301. Server: srv,
  1302. FullMethod: "/pb.SmartSiteProject/LaborCompanyStatistics",
  1303. }
  1304. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1305. return srv.(SmartSiteProjectServer).LaborCompanyStatistics(ctx, req.(*v1.LaborCompanyStatisticsRequest))
  1306. }
  1307. return interceptor(ctx, in, info, handler)
  1308. }
  1309. func _SmartSiteProject_LatestDustMonitorData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1310. in := new(v1.LatestDustMonitorDataRequest)
  1311. if err := dec(in); err != nil {
  1312. return nil, err
  1313. }
  1314. if interceptor == nil {
  1315. return srv.(SmartSiteProjectServer).LatestDustMonitorData(ctx, in)
  1316. }
  1317. info := &grpc.UnaryServerInfo{
  1318. Server: srv,
  1319. FullMethod: "/pb.SmartSiteProject/LatestDustMonitorData",
  1320. }
  1321. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1322. return srv.(SmartSiteProjectServer).LatestDustMonitorData(ctx, req.(*v1.LatestDustMonitorDataRequest))
  1323. }
  1324. return interceptor(ctx, in, info, handler)
  1325. }
  1326. func _SmartSiteProject_DustMonitorHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1327. in := new(v1.DustMonitorHistoryRequest)
  1328. if err := dec(in); err != nil {
  1329. return nil, err
  1330. }
  1331. if interceptor == nil {
  1332. return srv.(SmartSiteProjectServer).DustMonitorHistory(ctx, in)
  1333. }
  1334. info := &grpc.UnaryServerInfo{
  1335. Server: srv,
  1336. FullMethod: "/pb.SmartSiteProject/DustMonitorHistory",
  1337. }
  1338. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1339. return srv.(SmartSiteProjectServer).DustMonitorHistory(ctx, req.(*v1.DustMonitorHistoryRequest))
  1340. }
  1341. return interceptor(ctx, in, info, handler)
  1342. }
  1343. func _SmartSiteProject_DustList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1344. in := new(v1.DustListRequest)
  1345. if err := dec(in); err != nil {
  1346. return nil, err
  1347. }
  1348. if interceptor == nil {
  1349. return srv.(SmartSiteProjectServer).DustList(ctx, in)
  1350. }
  1351. info := &grpc.UnaryServerInfo{
  1352. Server: srv,
  1353. FullMethod: "/pb.SmartSiteProject/DustList",
  1354. }
  1355. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1356. return srv.(SmartSiteProjectServer).DustList(ctx, req.(*v1.DustListRequest))
  1357. }
  1358. return interceptor(ctx, in, info, handler)
  1359. }
  1360. func _SmartSiteProject_LatestTowerMonitorData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1361. in := new(v1.LatestTowerMonitorDataRequest)
  1362. if err := dec(in); err != nil {
  1363. return nil, err
  1364. }
  1365. if interceptor == nil {
  1366. return srv.(SmartSiteProjectServer).LatestTowerMonitorData(ctx, in)
  1367. }
  1368. info := &grpc.UnaryServerInfo{
  1369. Server: srv,
  1370. FullMethod: "/pb.SmartSiteProject/LatestTowerMonitorData",
  1371. }
  1372. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1373. return srv.(SmartSiteProjectServer).LatestTowerMonitorData(ctx, req.(*v1.LatestTowerMonitorDataRequest))
  1374. }
  1375. return interceptor(ctx, in, info, handler)
  1376. }
  1377. func _SmartSiteProject_TowerMonitorHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1378. in := new(v1.TowerMonitorHistoryRequest)
  1379. if err := dec(in); err != nil {
  1380. return nil, err
  1381. }
  1382. if interceptor == nil {
  1383. return srv.(SmartSiteProjectServer).TowerMonitorHistory(ctx, in)
  1384. }
  1385. info := &grpc.UnaryServerInfo{
  1386. Server: srv,
  1387. FullMethod: "/pb.SmartSiteProject/TowerMonitorHistory",
  1388. }
  1389. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1390. return srv.(SmartSiteProjectServer).TowerMonitorHistory(ctx, req.(*v1.TowerMonitorHistoryRequest))
  1391. }
  1392. return interceptor(ctx, in, info, handler)
  1393. }
  1394. func _SmartSiteProject_IotList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1395. in := new(v1.IotListRequest)
  1396. if err := dec(in); err != nil {
  1397. return nil, err
  1398. }
  1399. if interceptor == nil {
  1400. return srv.(SmartSiteProjectServer).IotList(ctx, in)
  1401. }
  1402. info := &grpc.UnaryServerInfo{
  1403. Server: srv,
  1404. FullMethod: "/pb.SmartSiteProject/IotList",
  1405. }
  1406. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1407. return srv.(SmartSiteProjectServer).IotList(ctx, req.(*v1.IotListRequest))
  1408. }
  1409. return interceptor(ctx, in, info, handler)
  1410. }
  1411. func _SmartSiteProject_IotLast_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1412. in := new(v1.IotLastRequest)
  1413. if err := dec(in); err != nil {
  1414. return nil, err
  1415. }
  1416. if interceptor == nil {
  1417. return srv.(SmartSiteProjectServer).IotLast(ctx, in)
  1418. }
  1419. info := &grpc.UnaryServerInfo{
  1420. Server: srv,
  1421. FullMethod: "/pb.SmartSiteProject/IotLast",
  1422. }
  1423. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1424. return srv.(SmartSiteProjectServer).IotLast(ctx, req.(*v1.IotLastRequest))
  1425. }
  1426. return interceptor(ctx, in, info, handler)
  1427. }
  1428. func _SmartSiteProject_IotTypeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1429. in := new(v1.IotTypeListRequest)
  1430. if err := dec(in); err != nil {
  1431. return nil, err
  1432. }
  1433. if interceptor == nil {
  1434. return srv.(SmartSiteProjectServer).IotTypeList(ctx, in)
  1435. }
  1436. info := &grpc.UnaryServerInfo{
  1437. Server: srv,
  1438. FullMethod: "/pb.SmartSiteProject/IotTypeList",
  1439. }
  1440. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1441. return srv.(SmartSiteProjectServer).IotTypeList(ctx, req.(*v1.IotTypeListRequest))
  1442. }
  1443. return interceptor(ctx, in, info, handler)
  1444. }
  1445. func _SmartSiteProject_DustAqi_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1446. in := new(v1.DustAqiRequest)
  1447. if err := dec(in); err != nil {
  1448. return nil, err
  1449. }
  1450. if interceptor == nil {
  1451. return srv.(SmartSiteProjectServer).DustAqi(ctx, in)
  1452. }
  1453. info := &grpc.UnaryServerInfo{
  1454. Server: srv,
  1455. FullMethod: "/pb.SmartSiteProject/DustAqi",
  1456. }
  1457. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1458. return srv.(SmartSiteProjectServer).DustAqi(ctx, req.(*v1.DustAqiRequest))
  1459. }
  1460. return interceptor(ctx, in, info, handler)
  1461. }
  1462. func _SmartSiteProject_AlarmList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1463. in := new(v1.AlarmListRequest)
  1464. if err := dec(in); err != nil {
  1465. return nil, err
  1466. }
  1467. if interceptor == nil {
  1468. return srv.(SmartSiteProjectServer).AlarmList(ctx, in)
  1469. }
  1470. info := &grpc.UnaryServerInfo{
  1471. Server: srv,
  1472. FullMethod: "/pb.SmartSiteProject/AlarmList",
  1473. }
  1474. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1475. return srv.(SmartSiteProjectServer).AlarmList(ctx, req.(*v1.AlarmListRequest))
  1476. }
  1477. return interceptor(ctx, in, info, handler)
  1478. }
  1479. func _SmartSiteProject_ChannelList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1480. in := new(v1.ChannelListRequest)
  1481. if err := dec(in); err != nil {
  1482. return nil, err
  1483. }
  1484. if interceptor == nil {
  1485. return srv.(SmartSiteProjectServer).ChannelList(ctx, in)
  1486. }
  1487. info := &grpc.UnaryServerInfo{
  1488. Server: srv,
  1489. FullMethod: "/pb.SmartSiteProject/ChannelList",
  1490. }
  1491. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1492. return srv.(SmartSiteProjectServer).ChannelList(ctx, req.(*v1.ChannelListRequest))
  1493. }
  1494. return interceptor(ctx, in, info, handler)
  1495. }
  1496. func _SmartSiteProject_VedioList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1497. in := new(v1.VedioListRequest)
  1498. if err := dec(in); err != nil {
  1499. return nil, err
  1500. }
  1501. if interceptor == nil {
  1502. return srv.(SmartSiteProjectServer).VedioList(ctx, in)
  1503. }
  1504. info := &grpc.UnaryServerInfo{
  1505. Server: srv,
  1506. FullMethod: "/pb.SmartSiteProject/VedioList",
  1507. }
  1508. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1509. return srv.(SmartSiteProjectServer).VedioList(ctx, req.(*v1.VedioListRequest))
  1510. }
  1511. return interceptor(ctx, in, info, handler)
  1512. }
  1513. func _SmartSiteProject_RealPlay_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1514. in := new(v1.RealPlayRequest)
  1515. if err := dec(in); err != nil {
  1516. return nil, err
  1517. }
  1518. if interceptor == nil {
  1519. return srv.(SmartSiteProjectServer).RealPlay(ctx, in)
  1520. }
  1521. info := &grpc.UnaryServerInfo{
  1522. Server: srv,
  1523. FullMethod: "/pb.SmartSiteProject/RealPlay",
  1524. }
  1525. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1526. return srv.(SmartSiteProjectServer).RealPlay(ctx, req.(*v1.RealPlayRequest))
  1527. }
  1528. return interceptor(ctx, in, info, handler)
  1529. }
  1530. func _SmartSiteProject_Ptz_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1531. in := new(v1.PtzRequest)
  1532. if err := dec(in); err != nil {
  1533. return nil, err
  1534. }
  1535. if interceptor == nil {
  1536. return srv.(SmartSiteProjectServer).Ptz(ctx, in)
  1537. }
  1538. info := &grpc.UnaryServerInfo{
  1539. Server: srv,
  1540. FullMethod: "/pb.SmartSiteProject/Ptz",
  1541. }
  1542. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1543. return srv.(SmartSiteProjectServer).Ptz(ctx, req.(*v1.PtzRequest))
  1544. }
  1545. return interceptor(ctx, in, info, handler)
  1546. }
  1547. func _SmartSiteProject_VedioPing_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1548. in := new(v1.VedioPingRequest)
  1549. if err := dec(in); err != nil {
  1550. return nil, err
  1551. }
  1552. if interceptor == nil {
  1553. return srv.(SmartSiteProjectServer).VedioPing(ctx, in)
  1554. }
  1555. info := &grpc.UnaryServerInfo{
  1556. Server: srv,
  1557. FullMethod: "/pb.SmartSiteProject/VedioPing",
  1558. }
  1559. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1560. return srv.(SmartSiteProjectServer).VedioPing(ctx, req.(*v1.VedioPingRequest))
  1561. }
  1562. return interceptor(ctx, in, info, handler)
  1563. }
  1564. func _SmartSiteProject_ChangePasswd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1565. in := new(v1.ChangePasswdRequest)
  1566. if err := dec(in); err != nil {
  1567. return nil, err
  1568. }
  1569. if interceptor == nil {
  1570. return srv.(SmartSiteProjectServer).ChangePasswd(ctx, in)
  1571. }
  1572. info := &grpc.UnaryServerInfo{
  1573. Server: srv,
  1574. FullMethod: "/pb.SmartSiteProject/ChangePasswd",
  1575. }
  1576. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1577. return srv.(SmartSiteProjectServer).ChangePasswd(ctx, req.(*v1.ChangePasswdRequest))
  1578. }
  1579. return interceptor(ctx, in, info, handler)
  1580. }
  1581. func _SmartSiteProject_ProjectInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1582. in := new(v1.ProjectInfoRequest)
  1583. if err := dec(in); err != nil {
  1584. return nil, err
  1585. }
  1586. if interceptor == nil {
  1587. return srv.(SmartSiteProjectServer).ProjectInfo(ctx, in)
  1588. }
  1589. info := &grpc.UnaryServerInfo{
  1590. Server: srv,
  1591. FullMethod: "/pb.SmartSiteProject/ProjectInfo",
  1592. }
  1593. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1594. return srv.(SmartSiteProjectServer).ProjectInfo(ctx, req.(*v1.ProjectInfoRequest))
  1595. }
  1596. return interceptor(ctx, in, info, handler)
  1597. }
  1598. func _SmartSiteProject_ProjectSetPic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1599. in := new(v1.ProjectSetPicRequest)
  1600. if err := dec(in); err != nil {
  1601. return nil, err
  1602. }
  1603. if interceptor == nil {
  1604. return srv.(SmartSiteProjectServer).ProjectSetPic(ctx, in)
  1605. }
  1606. info := &grpc.UnaryServerInfo{
  1607. Server: srv,
  1608. FullMethod: "/pb.SmartSiteProject/ProjectSetPic",
  1609. }
  1610. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1611. return srv.(SmartSiteProjectServer).ProjectSetPic(ctx, req.(*v1.ProjectSetPicRequest))
  1612. }
  1613. return interceptor(ctx, in, info, handler)
  1614. }
  1615. func _SmartSiteProject_ProjectUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1616. in := new(v1.ProjectUpdateRequest)
  1617. if err := dec(in); err != nil {
  1618. return nil, err
  1619. }
  1620. if interceptor == nil {
  1621. return srv.(SmartSiteProjectServer).ProjectUpdate(ctx, in)
  1622. }
  1623. info := &grpc.UnaryServerInfo{
  1624. Server: srv,
  1625. FullMethod: "/pb.SmartSiteProject/ProjectUpdate",
  1626. }
  1627. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1628. return srv.(SmartSiteProjectServer).ProjectUpdate(ctx, req.(*v1.ProjectUpdateRequest))
  1629. }
  1630. return interceptor(ctx, in, info, handler)
  1631. }
  1632. func _SmartSiteProject_ProjectDeviceStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1633. in := new(v1.ProjectDeviceStatisticsRequest)
  1634. if err := dec(in); err != nil {
  1635. return nil, err
  1636. }
  1637. if interceptor == nil {
  1638. return srv.(SmartSiteProjectServer).ProjectDeviceStatistics(ctx, in)
  1639. }
  1640. info := &grpc.UnaryServerInfo{
  1641. Server: srv,
  1642. FullMethod: "/pb.SmartSiteProject/ProjectDeviceStatistics",
  1643. }
  1644. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1645. return srv.(SmartSiteProjectServer).ProjectDeviceStatistics(ctx, req.(*v1.ProjectDeviceStatisticsRequest))
  1646. }
  1647. return interceptor(ctx, in, info, handler)
  1648. }
  1649. func _SmartSiteProject_ProjectProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1650. in := new(v1.ProjectProgressRequest)
  1651. if err := dec(in); err != nil {
  1652. return nil, err
  1653. }
  1654. if interceptor == nil {
  1655. return srv.(SmartSiteProjectServer).ProjectProgress(ctx, in)
  1656. }
  1657. info := &grpc.UnaryServerInfo{
  1658. Server: srv,
  1659. FullMethod: "/pb.SmartSiteProject/ProjectProgress",
  1660. }
  1661. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1662. return srv.(SmartSiteProjectServer).ProjectProgress(ctx, req.(*v1.ProjectProgressRequest))
  1663. }
  1664. return interceptor(ctx, in, info, handler)
  1665. }
  1666. func _SmartSiteProject_ProjectProgressAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1667. in := new(v1.ProjectProgressAddRequest)
  1668. if err := dec(in); err != nil {
  1669. return nil, err
  1670. }
  1671. if interceptor == nil {
  1672. return srv.(SmartSiteProjectServer).ProjectProgressAdd(ctx, in)
  1673. }
  1674. info := &grpc.UnaryServerInfo{
  1675. Server: srv,
  1676. FullMethod: "/pb.SmartSiteProject/ProjectProgressAdd",
  1677. }
  1678. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1679. return srv.(SmartSiteProjectServer).ProjectProgressAdd(ctx, req.(*v1.ProjectProgressAddRequest))
  1680. }
  1681. return interceptor(ctx, in, info, handler)
  1682. }
  1683. func _SmartSiteProject_ProjectProgressSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1684. in := new(v1.ProjectProgressSetRequest)
  1685. if err := dec(in); err != nil {
  1686. return nil, err
  1687. }
  1688. if interceptor == nil {
  1689. return srv.(SmartSiteProjectServer).ProjectProgressSet(ctx, in)
  1690. }
  1691. info := &grpc.UnaryServerInfo{
  1692. Server: srv,
  1693. FullMethod: "/pb.SmartSiteProject/ProjectProgressSet",
  1694. }
  1695. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1696. return srv.(SmartSiteProjectServer).ProjectProgressSet(ctx, req.(*v1.ProjectProgressSetRequest))
  1697. }
  1698. return interceptor(ctx, in, info, handler)
  1699. }
  1700. func _SmartSiteProject_ProjectProgressDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1701. in := new(v1.ProjectProgressDelRequest)
  1702. if err := dec(in); err != nil {
  1703. return nil, err
  1704. }
  1705. if interceptor == nil {
  1706. return srv.(SmartSiteProjectServer).ProjectProgressDel(ctx, in)
  1707. }
  1708. info := &grpc.UnaryServerInfo{
  1709. Server: srv,
  1710. FullMethod: "/pb.SmartSiteProject/ProjectProgressDel",
  1711. }
  1712. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1713. return srv.(SmartSiteProjectServer).ProjectProgressDel(ctx, req.(*v1.ProjectProgressDelRequest))
  1714. }
  1715. return interceptor(ctx, in, info, handler)
  1716. }
  1717. func _SmartSiteProject_AlarmRuleAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1718. in := new(v1.AlarmRuleAddRequest)
  1719. if err := dec(in); err != nil {
  1720. return nil, err
  1721. }
  1722. if interceptor == nil {
  1723. return srv.(SmartSiteProjectServer).AlarmRuleAdd(ctx, in)
  1724. }
  1725. info := &grpc.UnaryServerInfo{
  1726. Server: srv,
  1727. FullMethod: "/pb.SmartSiteProject/AlarmRuleAdd",
  1728. }
  1729. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1730. return srv.(SmartSiteProjectServer).AlarmRuleAdd(ctx, req.(*v1.AlarmRuleAddRequest))
  1731. }
  1732. return interceptor(ctx, in, info, handler)
  1733. }
  1734. func _SmartSiteProject_AlarmRuleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1735. in := new(v1.AlarmRuleListRequest)
  1736. if err := dec(in); err != nil {
  1737. return nil, err
  1738. }
  1739. if interceptor == nil {
  1740. return srv.(SmartSiteProjectServer).AlarmRuleList(ctx, in)
  1741. }
  1742. info := &grpc.UnaryServerInfo{
  1743. Server: srv,
  1744. FullMethod: "/pb.SmartSiteProject/AlarmRuleList",
  1745. }
  1746. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1747. return srv.(SmartSiteProjectServer).AlarmRuleList(ctx, req.(*v1.AlarmRuleListRequest))
  1748. }
  1749. return interceptor(ctx, in, info, handler)
  1750. }
  1751. func _SmartSiteProject_AlarmRuleDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1752. in := new(v1.AlarmRuleDeleteRequest)
  1753. if err := dec(in); err != nil {
  1754. return nil, err
  1755. }
  1756. if interceptor == nil {
  1757. return srv.(SmartSiteProjectServer).AlarmRuleDelete(ctx, in)
  1758. }
  1759. info := &grpc.UnaryServerInfo{
  1760. Server: srv,
  1761. FullMethod: "/pb.SmartSiteProject/AlarmRuleDelete",
  1762. }
  1763. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1764. return srv.(SmartSiteProjectServer).AlarmRuleDelete(ctx, req.(*v1.AlarmRuleDeleteRequest))
  1765. }
  1766. return interceptor(ctx, in, info, handler)
  1767. }
  1768. func _SmartSiteProject_AlarmRuleOnOff_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1769. in := new(v1.AlarmRuleOnOffRequest)
  1770. if err := dec(in); err != nil {
  1771. return nil, err
  1772. }
  1773. if interceptor == nil {
  1774. return srv.(SmartSiteProjectServer).AlarmRuleOnOff(ctx, in)
  1775. }
  1776. info := &grpc.UnaryServerInfo{
  1777. Server: srv,
  1778. FullMethod: "/pb.SmartSiteProject/AlarmRuleOnOff",
  1779. }
  1780. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1781. return srv.(SmartSiteProjectServer).AlarmRuleOnOff(ctx, req.(*v1.AlarmRuleOnOffRequest))
  1782. }
  1783. return interceptor(ctx, in, info, handler)
  1784. }
  1785. func _SmartSiteProject_AlarmRuleUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1786. in := new(v1.AlarmRuleUpdateRequest)
  1787. if err := dec(in); err != nil {
  1788. return nil, err
  1789. }
  1790. if interceptor == nil {
  1791. return srv.(SmartSiteProjectServer).AlarmRuleUpdate(ctx, in)
  1792. }
  1793. info := &grpc.UnaryServerInfo{
  1794. Server: srv,
  1795. FullMethod: "/pb.SmartSiteProject/AlarmRuleUpdate",
  1796. }
  1797. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1798. return srv.(SmartSiteProjectServer).AlarmRuleUpdate(ctx, req.(*v1.AlarmRuleUpdateRequest))
  1799. }
  1800. return interceptor(ctx, in, info, handler)
  1801. }
  1802. func _SmartSiteProject_AlarmContactAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1803. in := new(v1.AlarmContactAddRequest)
  1804. if err := dec(in); err != nil {
  1805. return nil, err
  1806. }
  1807. if interceptor == nil {
  1808. return srv.(SmartSiteProjectServer).AlarmContactAdd(ctx, in)
  1809. }
  1810. info := &grpc.UnaryServerInfo{
  1811. Server: srv,
  1812. FullMethod: "/pb.SmartSiteProject/AlarmContactAdd",
  1813. }
  1814. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1815. return srv.(SmartSiteProjectServer).AlarmContactAdd(ctx, req.(*v1.AlarmContactAddRequest))
  1816. }
  1817. return interceptor(ctx, in, info, handler)
  1818. }
  1819. func _SmartSiteProject_AlarmContactList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1820. in := new(v1.AlarmContactListRequest)
  1821. if err := dec(in); err != nil {
  1822. return nil, err
  1823. }
  1824. if interceptor == nil {
  1825. return srv.(SmartSiteProjectServer).AlarmContactList(ctx, in)
  1826. }
  1827. info := &grpc.UnaryServerInfo{
  1828. Server: srv,
  1829. FullMethod: "/pb.SmartSiteProject/AlarmContactList",
  1830. }
  1831. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1832. return srv.(SmartSiteProjectServer).AlarmContactList(ctx, req.(*v1.AlarmContactListRequest))
  1833. }
  1834. return interceptor(ctx, in, info, handler)
  1835. }
  1836. func _SmartSiteProject_AlarmContactDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1837. in := new(v1.AlarmContactDeleteRequest)
  1838. if err := dec(in); err != nil {
  1839. return nil, err
  1840. }
  1841. if interceptor == nil {
  1842. return srv.(SmartSiteProjectServer).AlarmContactDelete(ctx, in)
  1843. }
  1844. info := &grpc.UnaryServerInfo{
  1845. Server: srv,
  1846. FullMethod: "/pb.SmartSiteProject/AlarmContactDelete",
  1847. }
  1848. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1849. return srv.(SmartSiteProjectServer).AlarmContactDelete(ctx, req.(*v1.AlarmContactDeleteRequest))
  1850. }
  1851. return interceptor(ctx, in, info, handler)
  1852. }
  1853. func _SmartSiteProject_AlarmContactUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  1854. in := new(v1.AlarmContactUpdateRequest)
  1855. if err := dec(in); err != nil {
  1856. return nil, err
  1857. }
  1858. if interceptor == nil {
  1859. return srv.(SmartSiteProjectServer).AlarmContactUpdate(ctx, in)
  1860. }
  1861. info := &grpc.UnaryServerInfo{
  1862. Server: srv,
  1863. FullMethod: "/pb.SmartSiteProject/AlarmContactUpdate",
  1864. }
  1865. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  1866. return srv.(SmartSiteProjectServer).AlarmContactUpdate(ctx, req.(*v1.AlarmContactUpdateRequest))
  1867. }
  1868. return interceptor(ctx, in, info, handler)
  1869. }
  1870. var _SmartSiteProject_serviceDesc = grpc.ServiceDesc{
  1871. ServiceName: "pb.SmartSiteProject",
  1872. HandlerType: (*SmartSiteProjectServer)(nil),
  1873. Methods: []grpc.MethodDesc{
  1874. {
  1875. MethodName: "Login",
  1876. Handler: _SmartSiteProject_Login_Handler,
  1877. },
  1878. {
  1879. MethodName: "EmailPrepare",
  1880. Handler: _SmartSiteProject_EmailPrepare_Handler,
  1881. },
  1882. {
  1883. MethodName: "EmailUpdate",
  1884. Handler: _SmartSiteProject_EmailUpdate_Handler,
  1885. },
  1886. {
  1887. MethodName: "PhoneUpdate",
  1888. Handler: _SmartSiteProject_PhoneUpdate_Handler,
  1889. },
  1890. {
  1891. MethodName: "UserInfo",
  1892. Handler: _SmartSiteProject_UserInfo_Handler,
  1893. },
  1894. {
  1895. MethodName: "ProjectChange",
  1896. Handler: _SmartSiteProject_ProjectChange_Handler,
  1897. },
  1898. {
  1899. MethodName: "ProjectInfoForChange",
  1900. Handler: _SmartSiteProject_ProjectInfoForChange_Handler,
  1901. },
  1902. {
  1903. MethodName: "ProjectChangeInfoList",
  1904. Handler: _SmartSiteProject_ProjectChangeInfoList_Handler,
  1905. },
  1906. {
  1907. MethodName: "DeviceList",
  1908. Handler: _SmartSiteProject_DeviceList_Handler,
  1909. },
  1910. {
  1911. MethodName: "DeviceVideoChannel",
  1912. Handler: _SmartSiteProject_DeviceVideoChannel_Handler,
  1913. },
  1914. {
  1915. MethodName: "DeviceApprove",
  1916. Handler: _SmartSiteProject_DeviceApprove_Handler,
  1917. },
  1918. {
  1919. MethodName: "CameraList",
  1920. Handler: _SmartSiteProject_CameraList_Handler,
  1921. },
  1922. {
  1923. MethodName: "ChannelUpdate",
  1924. Handler: _SmartSiteProject_ChannelUpdate_Handler,
  1925. },
  1926. {
  1927. MethodName: "DeviceBindCamera",
  1928. Handler: _SmartSiteProject_DeviceBindCamera_Handler,
  1929. },
  1930. {
  1931. MethodName: "DeviceUnbindCamera",
  1932. Handler: _SmartSiteProject_DeviceUnbindCamera_Handler,
  1933. },
  1934. {
  1935. MethodName: "VehicleList",
  1936. Handler: _SmartSiteProject_VehicleList_Handler,
  1937. },
  1938. {
  1939. MethodName: "LatestStaffData",
  1940. Handler: _SmartSiteProject_LatestStaffData_Handler,
  1941. },
  1942. {
  1943. MethodName: "StaffList",
  1944. Handler: _SmartSiteProject_StaffList_Handler,
  1945. },
  1946. {
  1947. MethodName: "StaffAttendance",
  1948. Handler: _SmartSiteProject_StaffAttendance_Handler,
  1949. },
  1950. {
  1951. MethodName: "StaffWorkTypeStatistics",
  1952. Handler: _SmartSiteProject_StaffWorkTypeStatistics_Handler,
  1953. },
  1954. {
  1955. MethodName: "StaffTypeStatistics",
  1956. Handler: _SmartSiteProject_StaffTypeStatistics_Handler,
  1957. },
  1958. {
  1959. MethodName: "LaborCompanyStatistics",
  1960. Handler: _SmartSiteProject_LaborCompanyStatistics_Handler,
  1961. },
  1962. {
  1963. MethodName: "LatestDustMonitorData",
  1964. Handler: _SmartSiteProject_LatestDustMonitorData_Handler,
  1965. },
  1966. {
  1967. MethodName: "DustMonitorHistory",
  1968. Handler: _SmartSiteProject_DustMonitorHistory_Handler,
  1969. },
  1970. {
  1971. MethodName: "DustList",
  1972. Handler: _SmartSiteProject_DustList_Handler,
  1973. },
  1974. {
  1975. MethodName: "LatestTowerMonitorData",
  1976. Handler: _SmartSiteProject_LatestTowerMonitorData_Handler,
  1977. },
  1978. {
  1979. MethodName: "TowerMonitorHistory",
  1980. Handler: _SmartSiteProject_TowerMonitorHistory_Handler,
  1981. },
  1982. {
  1983. MethodName: "IotList",
  1984. Handler: _SmartSiteProject_IotList_Handler,
  1985. },
  1986. {
  1987. MethodName: "IotLast",
  1988. Handler: _SmartSiteProject_IotLast_Handler,
  1989. },
  1990. {
  1991. MethodName: "IotTypeList",
  1992. Handler: _SmartSiteProject_IotTypeList_Handler,
  1993. },
  1994. {
  1995. MethodName: "DustAqi",
  1996. Handler: _SmartSiteProject_DustAqi_Handler,
  1997. },
  1998. {
  1999. MethodName: "AlarmList",
  2000. Handler: _SmartSiteProject_AlarmList_Handler,
  2001. },
  2002. {
  2003. MethodName: "ChannelList",
  2004. Handler: _SmartSiteProject_ChannelList_Handler,
  2005. },
  2006. {
  2007. MethodName: "VedioList",
  2008. Handler: _SmartSiteProject_VedioList_Handler,
  2009. },
  2010. {
  2011. MethodName: "RealPlay",
  2012. Handler: _SmartSiteProject_RealPlay_Handler,
  2013. },
  2014. {
  2015. MethodName: "Ptz",
  2016. Handler: _SmartSiteProject_Ptz_Handler,
  2017. },
  2018. {
  2019. MethodName: "VedioPing",
  2020. Handler: _SmartSiteProject_VedioPing_Handler,
  2021. },
  2022. {
  2023. MethodName: "ChangePasswd",
  2024. Handler: _SmartSiteProject_ChangePasswd_Handler,
  2025. },
  2026. {
  2027. MethodName: "ProjectInfo",
  2028. Handler: _SmartSiteProject_ProjectInfo_Handler,
  2029. },
  2030. {
  2031. MethodName: "ProjectSetPic",
  2032. Handler: _SmartSiteProject_ProjectSetPic_Handler,
  2033. },
  2034. {
  2035. MethodName: "ProjectUpdate",
  2036. Handler: _SmartSiteProject_ProjectUpdate_Handler,
  2037. },
  2038. {
  2039. MethodName: "ProjectDeviceStatistics",
  2040. Handler: _SmartSiteProject_ProjectDeviceStatistics_Handler,
  2041. },
  2042. {
  2043. MethodName: "ProjectProgress",
  2044. Handler: _SmartSiteProject_ProjectProgress_Handler,
  2045. },
  2046. {
  2047. MethodName: "ProjectProgressAdd",
  2048. Handler: _SmartSiteProject_ProjectProgressAdd_Handler,
  2049. },
  2050. {
  2051. MethodName: "ProjectProgressSet",
  2052. Handler: _SmartSiteProject_ProjectProgressSet_Handler,
  2053. },
  2054. {
  2055. MethodName: "ProjectProgressDel",
  2056. Handler: _SmartSiteProject_ProjectProgressDel_Handler,
  2057. },
  2058. {
  2059. MethodName: "AlarmRuleAdd",
  2060. Handler: _SmartSiteProject_AlarmRuleAdd_Handler,
  2061. },
  2062. {
  2063. MethodName: "AlarmRuleList",
  2064. Handler: _SmartSiteProject_AlarmRuleList_Handler,
  2065. },
  2066. {
  2067. MethodName: "AlarmRuleDelete",
  2068. Handler: _SmartSiteProject_AlarmRuleDelete_Handler,
  2069. },
  2070. {
  2071. MethodName: "AlarmRuleOnOff",
  2072. Handler: _SmartSiteProject_AlarmRuleOnOff_Handler,
  2073. },
  2074. {
  2075. MethodName: "AlarmRuleUpdate",
  2076. Handler: _SmartSiteProject_AlarmRuleUpdate_Handler,
  2077. },
  2078. {
  2079. MethodName: "AlarmContactAdd",
  2080. Handler: _SmartSiteProject_AlarmContactAdd_Handler,
  2081. },
  2082. {
  2083. MethodName: "AlarmContactList",
  2084. Handler: _SmartSiteProject_AlarmContactList_Handler,
  2085. },
  2086. {
  2087. MethodName: "AlarmContactDelete",
  2088. Handler: _SmartSiteProject_AlarmContactDelete_Handler,
  2089. },
  2090. {
  2091. MethodName: "AlarmContactUpdate",
  2092. Handler: _SmartSiteProject_AlarmContactUpdate_Handler,
  2093. },
  2094. },
  2095. Streams: []grpc.StreamDesc{},
  2096. Metadata: "project_management.proto",
  2097. }