1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: project_management.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb
- import (
- context "context"
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- math "math"
- v1 "smart-site-management-gateway/pb/v1"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- func init() {
- proto.RegisterFile("project_management.proto", fileDescriptor_43bfe9f32dabdf4f)
- }
- var fileDescriptor_43bfe9f32dabdf4f = []byte{
- // 1108 bytes of a gzipped FileDescriptorProto
- 0x1f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0f, 0x6c, 0xd3, 0x2b, 0xa6,
- 0xd3, 0xcf, 0xd4, 0xcf, 0xf2, 0xef, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xfd, 0xc2, 0xc1, 0xda,
- 0x2a, 0x10, 0x00, 0x00,
- }
- // Reference imports to suppress errors if they are not otherwise used.
- var _ context.Context
- var _ grpc.ClientConnInterface
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- const _ = grpc.SupportPackageIsVersion6
- // SmartSiteProjectClient is the client API for SmartSiteProject service.
- //
- // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
- type SmartSiteProjectClient interface {
- // 登录
- Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error)
- EmailPrepare(ctx context.Context, in *v1.EmailPrepareRequest, opts ...grpc.CallOption) (*v1.EmailPrepareReply, error)
- EmailUpdate(ctx context.Context, in *v1.EmailUpdateRequest, opts ...grpc.CallOption) (*v1.EmailUpdateReply, error)
- PhoneUpdate(ctx context.Context, in *v1.PhoneUpdateRequest, opts ...grpc.CallOption) (*v1.PhoneUpdateReply, error)
- UserInfo(ctx context.Context, in *v1.UserInfoRequest, opts ...grpc.CallOption) (*v1.UserInfoReply, error)
- // 更新项目内容
- ProjectChange(ctx context.Context, in *v1.ProjectChangeRequest, opts ...grpc.CallOption) (*v1.ProjectChangeReply, error)
- ProjectInfoForChange(ctx context.Context, in *v1.ProjectInfoForChangeRequest, opts ...grpc.CallOption) (*v1.ProjectInfoForChangeReply, error)
- ProjectChangeInfoList(ctx context.Context, in *v1.ProjectChangeInfoListRequest, opts ...grpc.CallOption) (*v1.ProjectChangeInfoListReply, error)
- // 设备列表
- DeviceList(ctx context.Context, in *v1.DeviceListRequest, opts ...grpc.CallOption) (*v1.DeviceListReply, error)
- // 获取设备绑定的摄像头
- DeviceVideoChannel(ctx context.Context, in *v1.DeviceVideoChannelRequest, opts ...grpc.CallOption) (*v1.DeviceVideoChannelReply, error)
- // 设备确认接口
- DeviceApprove(ctx context.Context, in *v1.DeviceApproveRequest, opts ...grpc.CallOption) (*v1.DeviceApproveReply, error)
- // 摄像头列表
- CameraList(ctx context.Context, in *v1.CameraListRequest, opts ...grpc.CallOption) (*v1.CameraListReply, error)
- ChannelUpdate(ctx context.Context, in *v1.ChannelUpdateRequest, opts ...grpc.CallOption) (*v1.ChannelUpdateReply, error)
- // 设备绑定摄像头
- DeviceBindCamera(ctx context.Context, in *v1.DeviceBindCameraRequest, opts ...grpc.CallOption) (*v1.DeviceBindCameraReply, error)
- // 设备解绑摄像头
- DeviceUnbindCamera(ctx context.Context, in *v1.DeviceUnbindCameraRequest, opts ...grpc.CallOption) (*v1.DeviceUnbindCameraReply, error)
- // 车辆进出场列表
- VehicleList(ctx context.Context, in *v1.VehicleListRequest, opts ...grpc.CallOption) (*v1.VehicleListReply, error)
- // 最近一次人员考勤数据
- LatestStaffData(ctx context.Context, in *v1.LatestStaffDataRequest, opts ...grpc.CallOption) (*v1.LatestStaffDataReply, error)
- StaffList(ctx context.Context, in *v1.StaffListRequest, opts ...grpc.CallOption) (*v1.StaffListReply, error)
- StaffAttendance(ctx context.Context, in *v1.StaffAttendanceRequest, opts ...grpc.CallOption) (*v1.StaffAttendanceReply, error)
- // 员工工种统计
- StaffWorkTypeStatistics(ctx context.Context, in *v1.StaffWorkTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffWorkTypeStatisticsReply, error)
- // 员工类型统计
- StaffTypeStatistics(ctx context.Context, in *v1.StaffTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffTypeStatisticsReply, error)
- // 员工劳务公司统计
- LaborCompanyStatistics(ctx context.Context, in *v1.LaborCompanyStatisticsRequest, opts ...grpc.CallOption) (*v1.LaborCompanyStatisticsReply, error)
- // 最近一次扬尘监控数据
- LatestDustMonitorData(ctx context.Context, in *v1.LatestDustMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestDustMonitorDataReply, error)
- // 扬尘监控历史数据
- DustMonitorHistory(ctx context.Context, in *v1.DustMonitorHistoryRequest, opts ...grpc.CallOption) (*v1.DustMonitorHistoryReply, error)
- // 扬尘设备列表
- DustList(ctx context.Context, in *v1.DustListRequest, opts ...grpc.CallOption) (*v1.DustListReply, error)
- // 最近一次塔吊数据
- LatestTowerMonitorData(ctx context.Context, in *v1.LatestTowerMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestTowerMonitorDataReply, error)
- // 塔吊历史数据
- TowerMonitorHistory(ctx context.Context, in *v1.TowerMonitorHistoryRequest, opts ...grpc.CallOption) (*v1.TowerMonitorHistoryReply, error)
- // iot设备列表
- IotList(ctx context.Context, in *v1.IotListRequest, opts ...grpc.CallOption) (*v1.IotListReply, error)
- IotLast(ctx context.Context, in *v1.IotLastRequest, opts ...grpc.CallOption) (*v1.IotLastReply, error)
- // iot设备类型列表
- IotTypeList(ctx context.Context, in *v1.IotTypeListRequest, opts ...grpc.CallOption) (*v1.IotTypeListReply, error)
- // aqi
- DustAqi(ctx context.Context, in *v1.DustAqiRequest, opts ...grpc.CallOption) (*v1.DustAqiReply, error)
- // 获取告警信息列表
- AlarmList(ctx context.Context, in *v1.AlarmListRequest, opts ...grpc.CallOption) (*v1.AlarmListReply, error)
- // 视频监控通道列表
- ChannelList(ctx context.Context, in *v1.ChannelListRequest, opts ...grpc.CallOption) (*v1.ChannelListReply, error)
- // 视频监控视频列表
- VedioList(ctx context.Context, in *v1.VedioListRequest, opts ...grpc.CallOption) (*v1.VedioListReply, error)
- // 获取视频监控播放地址
- RealPlay(ctx context.Context, in *v1.RealPlayRequest, opts ...grpc.CallOption) (*v1.RealPlayReply, error)
- // 视频监控ptz控制
- Ptz(ctx context.Context, in *v1.PtzRequest, opts ...grpc.CallOption) (*v1.PtzReply, error)
- // 保持监控在线
- VedioPing(ctx context.Context, in *v1.VedioPingRequest, opts ...grpc.CallOption) (*v1.VedioPingReply, error)
- // 修改用户密码
- ChangePasswd(ctx context.Context, in *v1.ChangePasswdRequest, opts ...grpc.CallOption) (*v1.ChangePasswdReply, error)
- // 工程信息
- ProjectInfo(ctx context.Context, in *v1.ProjectInfoRequest, opts ...grpc.CallOption) (*v1.ProjectInfoReply, error)
- // 设置工程平面图或效果图
- ProjectSetPic(ctx context.Context, in *v1.ProjectSetPicRequest, opts ...grpc.CallOption) (*v1.ProjectSetPicReply, error)
- // 修改工程名或地址,不需审批
- ProjectUpdate(ctx context.Context, in *v1.ProjectUpdateRequest, opts ...grpc.CallOption) (*v1.ProjectUpdateReply, error)
- // 项目设备统计
- ProjectDeviceStatistics(ctx context.Context, in *v1.ProjectDeviceStatisticsRequest, opts ...grpc.CallOption) (*v1.ProjectDeviceStatisticsReply, error)
- // 项目工程进度
- ProjectProgress(ctx context.Context, in *v1.ProjectProgressRequest, opts ...grpc.CallOption) (*v1.ProjectProgressReply, error)
- // 添加项目工程进度
- ProjectProgressAdd(ctx context.Context, in *v1.ProjectProgressAddRequest, opts ...grpc.CallOption) (*v1.ProjectProgressAddReply, error)
- // 项目工程阶段完成
- ProjectProgressSet(ctx context.Context, in *v1.ProjectProgressSetRequest, opts ...grpc.CallOption) (*v1.ProjectProgressSetReply, error)
- // 删除项目工程进度
- ProjectProgressDel(ctx context.Context, in *v1.ProjectProgressDelRequest, opts ...grpc.CallOption) (*v1.ProjectProgressDelReply, error)
- // 告警规则设置
- // 告警规则添加
- AlarmRuleAdd(ctx context.Context, in *v1.AlarmRuleAddRequest, opts ...grpc.CallOption) (*v1.AlarmRuleAddReply, error)
- // 告警规则列表
- AlarmRuleList(ctx context.Context, in *v1.AlarmRuleListRequest, opts ...grpc.CallOption) (*v1.AlarmRuleListReply, error)
- // 告警规则删除
- AlarmRuleDelete(ctx context.Context, in *v1.AlarmRuleDeleteRequest, opts ...grpc.CallOption) (*v1.AlarmRuleDeleteReply, error)
- // 告警规则开关
- AlarmRuleOnOff(ctx context.Context, in *v1.AlarmRuleOnOffRequest, opts ...grpc.CallOption) (*v1.AlarmRuleOnOffReply, error)
- // 告警规则更新
- AlarmRuleUpdate(ctx context.Context, in *v1.AlarmRuleUpdateRequest, opts ...grpc.CallOption) (*v1.AlarmRuleUpdateReply, error)
- // 告警推送设置
- // 告警联系人添加
- AlarmContactAdd(ctx context.Context, in *v1.AlarmContactAddRequest, opts ...grpc.CallOption) (*v1.AlarmContactAddReply, error)
- // 告警联系人列表
- AlarmContactList(ctx context.Context, in *v1.AlarmContactListRequest, opts ...grpc.CallOption) (*v1.AlarmContactListReply, error)
- // 告警联系人删除
- AlarmContactDelete(ctx context.Context, in *v1.AlarmContactDeleteRequest, opts ...grpc.CallOption) (*v1.AlarmContactDeleteReply, error)
- // 告警联系人更新
- AlarmContactUpdate(ctx context.Context, in *v1.AlarmContactUpdateRequest, opts ...grpc.CallOption) (*v1.AlarmContactUpdateReply, error)
- }
- type smartSiteProjectClient struct {
- cc grpc.ClientConnInterface
- }
- func NewSmartSiteProjectClient(cc grpc.ClientConnInterface) SmartSiteProjectClient {
- return &smartSiteProjectClient{cc}
- }
- func (c *smartSiteProjectClient) Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error) {
- out := new(v1.LoginReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/Login", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) EmailPrepare(ctx context.Context, in *v1.EmailPrepareRequest, opts ...grpc.CallOption) (*v1.EmailPrepareReply, error) {
- out := new(v1.EmailPrepareReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/EmailPrepare", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) EmailUpdate(ctx context.Context, in *v1.EmailUpdateRequest, opts ...grpc.CallOption) (*v1.EmailUpdateReply, error) {
- out := new(v1.EmailUpdateReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/EmailUpdate", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) PhoneUpdate(ctx context.Context, in *v1.PhoneUpdateRequest, opts ...grpc.CallOption) (*v1.PhoneUpdateReply, error) {
- out := new(v1.PhoneUpdateReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/PhoneUpdate", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) UserInfo(ctx context.Context, in *v1.UserInfoRequest, opts ...grpc.CallOption) (*v1.UserInfoReply, error) {
- out := new(v1.UserInfoReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/UserInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ProjectChange(ctx context.Context, in *v1.ProjectChangeRequest, opts ...grpc.CallOption) (*v1.ProjectChangeReply, error) {
- out := new(v1.ProjectChangeReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectChange", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ProjectInfoForChange(ctx context.Context, in *v1.ProjectInfoForChangeRequest, opts ...grpc.CallOption) (*v1.ProjectInfoForChangeReply, error) {
- out := new(v1.ProjectInfoForChangeReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectInfoForChange", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ProjectChangeInfoList(ctx context.Context, in *v1.ProjectChangeInfoListRequest, opts ...grpc.CallOption) (*v1.ProjectChangeInfoListReply, error) {
- out := new(v1.ProjectChangeInfoListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectChangeInfoList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) DeviceList(ctx context.Context, in *v1.DeviceListRequest, opts ...grpc.CallOption) (*v1.DeviceListReply, error) {
- out := new(v1.DeviceListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DeviceList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) DeviceVideoChannel(ctx context.Context, in *v1.DeviceVideoChannelRequest, opts ...grpc.CallOption) (*v1.DeviceVideoChannelReply, error) {
- out := new(v1.DeviceVideoChannelReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DeviceVideoChannel", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) DeviceApprove(ctx context.Context, in *v1.DeviceApproveRequest, opts ...grpc.CallOption) (*v1.DeviceApproveReply, error) {
- out := new(v1.DeviceApproveReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DeviceApprove", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) CameraList(ctx context.Context, in *v1.CameraListRequest, opts ...grpc.CallOption) (*v1.CameraListReply, error) {
- out := new(v1.CameraListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/CameraList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ChannelUpdate(ctx context.Context, in *v1.ChannelUpdateRequest, opts ...grpc.CallOption) (*v1.ChannelUpdateReply, error) {
- out := new(v1.ChannelUpdateReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ChannelUpdate", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) DeviceBindCamera(ctx context.Context, in *v1.DeviceBindCameraRequest, opts ...grpc.CallOption) (*v1.DeviceBindCameraReply, error) {
- out := new(v1.DeviceBindCameraReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DeviceBindCamera", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) DeviceUnbindCamera(ctx context.Context, in *v1.DeviceUnbindCameraRequest, opts ...grpc.CallOption) (*v1.DeviceUnbindCameraReply, error) {
- out := new(v1.DeviceUnbindCameraReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DeviceUnbindCamera", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) VehicleList(ctx context.Context, in *v1.VehicleListRequest, opts ...grpc.CallOption) (*v1.VehicleListReply, error) {
- out := new(v1.VehicleListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/VehicleList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) LatestStaffData(ctx context.Context, in *v1.LatestStaffDataRequest, opts ...grpc.CallOption) (*v1.LatestStaffDataReply, error) {
- out := new(v1.LatestStaffDataReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/LatestStaffData", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) StaffList(ctx context.Context, in *v1.StaffListRequest, opts ...grpc.CallOption) (*v1.StaffListReply, error) {
- out := new(v1.StaffListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/StaffList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) StaffAttendance(ctx context.Context, in *v1.StaffAttendanceRequest, opts ...grpc.CallOption) (*v1.StaffAttendanceReply, error) {
- out := new(v1.StaffAttendanceReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/StaffAttendance", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) StaffWorkTypeStatistics(ctx context.Context, in *v1.StaffWorkTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffWorkTypeStatisticsReply, error) {
- out := new(v1.StaffWorkTypeStatisticsReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/StaffWorkTypeStatistics", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) StaffTypeStatistics(ctx context.Context, in *v1.StaffTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffTypeStatisticsReply, error) {
- out := new(v1.StaffTypeStatisticsReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/StaffTypeStatistics", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) LaborCompanyStatistics(ctx context.Context, in *v1.LaborCompanyStatisticsRequest, opts ...grpc.CallOption) (*v1.LaborCompanyStatisticsReply, error) {
- out := new(v1.LaborCompanyStatisticsReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/LaborCompanyStatistics", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) LatestDustMonitorData(ctx context.Context, in *v1.LatestDustMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestDustMonitorDataReply, error) {
- out := new(v1.LatestDustMonitorDataReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/LatestDustMonitorData", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) DustMonitorHistory(ctx context.Context, in *v1.DustMonitorHistoryRequest, opts ...grpc.CallOption) (*v1.DustMonitorHistoryReply, error) {
- out := new(v1.DustMonitorHistoryReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DustMonitorHistory", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) DustList(ctx context.Context, in *v1.DustListRequest, opts ...grpc.CallOption) (*v1.DustListReply, error) {
- out := new(v1.DustListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DustList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) LatestTowerMonitorData(ctx context.Context, in *v1.LatestTowerMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestTowerMonitorDataReply, error) {
- out := new(v1.LatestTowerMonitorDataReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/LatestTowerMonitorData", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) TowerMonitorHistory(ctx context.Context, in *v1.TowerMonitorHistoryRequest, opts ...grpc.CallOption) (*v1.TowerMonitorHistoryReply, error) {
- out := new(v1.TowerMonitorHistoryReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/TowerMonitorHistory", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) IotList(ctx context.Context, in *v1.IotListRequest, opts ...grpc.CallOption) (*v1.IotListReply, error) {
- out := new(v1.IotListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/IotList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) IotLast(ctx context.Context, in *v1.IotLastRequest, opts ...grpc.CallOption) (*v1.IotLastReply, error) {
- out := new(v1.IotLastReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/IotLast", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) IotTypeList(ctx context.Context, in *v1.IotTypeListRequest, opts ...grpc.CallOption) (*v1.IotTypeListReply, error) {
- out := new(v1.IotTypeListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/IotTypeList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) DustAqi(ctx context.Context, in *v1.DustAqiRequest, opts ...grpc.CallOption) (*v1.DustAqiReply, error) {
- out := new(v1.DustAqiReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/DustAqi", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) AlarmList(ctx context.Context, in *v1.AlarmListRequest, opts ...grpc.CallOption) (*v1.AlarmListReply, error) {
- out := new(v1.AlarmListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ChannelList(ctx context.Context, in *v1.ChannelListRequest, opts ...grpc.CallOption) (*v1.ChannelListReply, error) {
- out := new(v1.ChannelListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ChannelList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) VedioList(ctx context.Context, in *v1.VedioListRequest, opts ...grpc.CallOption) (*v1.VedioListReply, error) {
- out := new(v1.VedioListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/VedioList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) RealPlay(ctx context.Context, in *v1.RealPlayRequest, opts ...grpc.CallOption) (*v1.RealPlayReply, error) {
- out := new(v1.RealPlayReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/RealPlay", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) Ptz(ctx context.Context, in *v1.PtzRequest, opts ...grpc.CallOption) (*v1.PtzReply, error) {
- out := new(v1.PtzReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/Ptz", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) VedioPing(ctx context.Context, in *v1.VedioPingRequest, opts ...grpc.CallOption) (*v1.VedioPingReply, error) {
- out := new(v1.VedioPingReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/VedioPing", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ChangePasswd(ctx context.Context, in *v1.ChangePasswdRequest, opts ...grpc.CallOption) (*v1.ChangePasswdReply, error) {
- out := new(v1.ChangePasswdReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ChangePasswd", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ProjectInfo(ctx context.Context, in *v1.ProjectInfoRequest, opts ...grpc.CallOption) (*v1.ProjectInfoReply, error) {
- out := new(v1.ProjectInfoReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectInfo", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ProjectSetPic(ctx context.Context, in *v1.ProjectSetPicRequest, opts ...grpc.CallOption) (*v1.ProjectSetPicReply, error) {
- out := new(v1.ProjectSetPicReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectSetPic", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ProjectUpdate(ctx context.Context, in *v1.ProjectUpdateRequest, opts ...grpc.CallOption) (*v1.ProjectUpdateReply, error) {
- out := new(v1.ProjectUpdateReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectUpdate", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ProjectDeviceStatistics(ctx context.Context, in *v1.ProjectDeviceStatisticsRequest, opts ...grpc.CallOption) (*v1.ProjectDeviceStatisticsReply, error) {
- out := new(v1.ProjectDeviceStatisticsReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectDeviceStatistics", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ProjectProgress(ctx context.Context, in *v1.ProjectProgressRequest, opts ...grpc.CallOption) (*v1.ProjectProgressReply, error) {
- out := new(v1.ProjectProgressReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectProgress", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ProjectProgressAdd(ctx context.Context, in *v1.ProjectProgressAddRequest, opts ...grpc.CallOption) (*v1.ProjectProgressAddReply, error) {
- out := new(v1.ProjectProgressAddReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectProgressAdd", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ProjectProgressSet(ctx context.Context, in *v1.ProjectProgressSetRequest, opts ...grpc.CallOption) (*v1.ProjectProgressSetReply, error) {
- out := new(v1.ProjectProgressSetReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectProgressSet", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) ProjectProgressDel(ctx context.Context, in *v1.ProjectProgressDelRequest, opts ...grpc.CallOption) (*v1.ProjectProgressDelReply, error) {
- out := new(v1.ProjectProgressDelReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/ProjectProgressDel", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) AlarmRuleAdd(ctx context.Context, in *v1.AlarmRuleAddRequest, opts ...grpc.CallOption) (*v1.AlarmRuleAddReply, error) {
- out := new(v1.AlarmRuleAddReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmRuleAdd", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) AlarmRuleList(ctx context.Context, in *v1.AlarmRuleListRequest, opts ...grpc.CallOption) (*v1.AlarmRuleListReply, error) {
- out := new(v1.AlarmRuleListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmRuleList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) AlarmRuleDelete(ctx context.Context, in *v1.AlarmRuleDeleteRequest, opts ...grpc.CallOption) (*v1.AlarmRuleDeleteReply, error) {
- out := new(v1.AlarmRuleDeleteReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmRuleDelete", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) AlarmRuleOnOff(ctx context.Context, in *v1.AlarmRuleOnOffRequest, opts ...grpc.CallOption) (*v1.AlarmRuleOnOffReply, error) {
- out := new(v1.AlarmRuleOnOffReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmRuleOnOff", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) AlarmRuleUpdate(ctx context.Context, in *v1.AlarmRuleUpdateRequest, opts ...grpc.CallOption) (*v1.AlarmRuleUpdateReply, error) {
- out := new(v1.AlarmRuleUpdateReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmRuleUpdate", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) AlarmContactAdd(ctx context.Context, in *v1.AlarmContactAddRequest, opts ...grpc.CallOption) (*v1.AlarmContactAddReply, error) {
- out := new(v1.AlarmContactAddReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmContactAdd", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) AlarmContactList(ctx context.Context, in *v1.AlarmContactListRequest, opts ...grpc.CallOption) (*v1.AlarmContactListReply, error) {
- out := new(v1.AlarmContactListReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmContactList", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) AlarmContactDelete(ctx context.Context, in *v1.AlarmContactDeleteRequest, opts ...grpc.CallOption) (*v1.AlarmContactDeleteReply, error) {
- out := new(v1.AlarmContactDeleteReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmContactDelete", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *smartSiteProjectClient) AlarmContactUpdate(ctx context.Context, in *v1.AlarmContactUpdateRequest, opts ...grpc.CallOption) (*v1.AlarmContactUpdateReply, error) {
- out := new(v1.AlarmContactUpdateReply)
- err := c.cc.Invoke(ctx, "/pb.SmartSiteProject/AlarmContactUpdate", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- // SmartSiteProjectServer is the server API for SmartSiteProject service.
- type SmartSiteProjectServer interface {
- // 登录
- Login(context.Context, *v1.LoginRequest) (*v1.LoginReply, error)
- EmailPrepare(context.Context, *v1.EmailPrepareRequest) (*v1.EmailPrepareReply, error)
- EmailUpdate(context.Context, *v1.EmailUpdateRequest) (*v1.EmailUpdateReply, error)
- PhoneUpdate(context.Context, *v1.PhoneUpdateRequest) (*v1.PhoneUpdateReply, error)
- UserInfo(context.Context, *v1.UserInfoRequest) (*v1.UserInfoReply, error)
- // 更新项目内容
- ProjectChange(context.Context, *v1.ProjectChangeRequest) (*v1.ProjectChangeReply, error)
- ProjectInfoForChange(context.Context, *v1.ProjectInfoForChangeRequest) (*v1.ProjectInfoForChangeReply, error)
- ProjectChangeInfoList(context.Context, *v1.ProjectChangeInfoListRequest) (*v1.ProjectChangeInfoListReply, error)
- // 设备列表
- DeviceList(context.Context, *v1.DeviceListRequest) (*v1.DeviceListReply, error)
- // 获取设备绑定的摄像头
- DeviceVideoChannel(context.Context, *v1.DeviceVideoChannelRequest) (*v1.DeviceVideoChannelReply, error)
- // 设备确认接口
- DeviceApprove(context.Context, *v1.DeviceApproveRequest) (*v1.DeviceApproveReply, error)
- // 摄像头列表
- CameraList(context.Context, *v1.CameraListRequest) (*v1.CameraListReply, error)
- ChannelUpdate(context.Context, *v1.ChannelUpdateRequest) (*v1.ChannelUpdateReply, error)
- // 设备绑定摄像头
- DeviceBindCamera(context.Context, *v1.DeviceBindCameraRequest) (*v1.DeviceBindCameraReply, error)
- // 设备解绑摄像头
- DeviceUnbindCamera(context.Context, *v1.DeviceUnbindCameraRequest) (*v1.DeviceUnbindCameraReply, error)
- // 车辆进出场列表
- VehicleList(context.Context, *v1.VehicleListRequest) (*v1.VehicleListReply, error)
- // 最近一次人员考勤数据
- LatestStaffData(context.Context, *v1.LatestStaffDataRequest) (*v1.LatestStaffDataReply, error)
- StaffList(context.Context, *v1.StaffListRequest) (*v1.StaffListReply, error)
- StaffAttendance(context.Context, *v1.StaffAttendanceRequest) (*v1.StaffAttendanceReply, error)
- // 员工工种统计
- StaffWorkTypeStatistics(context.Context, *v1.StaffWorkTypeStatisticsRequest) (*v1.StaffWorkTypeStatisticsReply, error)
- // 员工类型统计
- StaffTypeStatistics(context.Context, *v1.StaffTypeStatisticsRequest) (*v1.StaffTypeStatisticsReply, error)
- // 员工劳务公司统计
- LaborCompanyStatistics(context.Context, *v1.LaborCompanyStatisticsRequest) (*v1.LaborCompanyStatisticsReply, error)
- // 最近一次扬尘监控数据
- LatestDustMonitorData(context.Context, *v1.LatestDustMonitorDataRequest) (*v1.LatestDustMonitorDataReply, error)
- // 扬尘监控历史数据
- DustMonitorHistory(context.Context, *v1.DustMonitorHistoryRequest) (*v1.DustMonitorHistoryReply, error)
- // 扬尘设备列表
- DustList(context.Context, *v1.DustListRequest) (*v1.DustListReply, error)
- // 最近一次塔吊数据
- LatestTowerMonitorData(context.Context, *v1.LatestTowerMonitorDataRequest) (*v1.LatestTowerMonitorDataReply, error)
- // 塔吊历史数据
- TowerMonitorHistory(context.Context, *v1.TowerMonitorHistoryRequest) (*v1.TowerMonitorHistoryReply, error)
- // iot设备列表
- IotList(context.Context, *v1.IotListRequest) (*v1.IotListReply, error)
- IotLast(context.Context, *v1.IotLastRequest) (*v1.IotLastReply, error)
- // iot设备类型列表
- IotTypeList(context.Context, *v1.IotTypeListRequest) (*v1.IotTypeListReply, error)
- // aqi
- DustAqi(context.Context, *v1.DustAqiRequest) (*v1.DustAqiReply, error)
- // 获取告警信息列表
- AlarmList(context.Context, *v1.AlarmListRequest) (*v1.AlarmListReply, error)
- // 视频监控通道列表
- ChannelList(context.Context, *v1.ChannelListRequest) (*v1.ChannelListReply, error)
- // 视频监控视频列表
- VedioList(context.Context, *v1.VedioListRequest) (*v1.VedioListReply, error)
- // 获取视频监控播放地址
- RealPlay(context.Context, *v1.RealPlayRequest) (*v1.RealPlayReply, error)
- // 视频监控ptz控制
- Ptz(context.Context, *v1.PtzRequest) (*v1.PtzReply, error)
- // 保持监控在线
- VedioPing(context.Context, *v1.VedioPingRequest) (*v1.VedioPingReply, error)
- // 修改用户密码
- ChangePasswd(context.Context, *v1.ChangePasswdRequest) (*v1.ChangePasswdReply, error)
- // 工程信息
- ProjectInfo(context.Context, *v1.ProjectInfoRequest) (*v1.ProjectInfoReply, error)
- // 设置工程平面图或效果图
- ProjectSetPic(context.Context, *v1.ProjectSetPicRequest) (*v1.ProjectSetPicReply, error)
- // 修改工程名或地址,不需审批
- ProjectUpdate(context.Context, *v1.ProjectUpdateRequest) (*v1.ProjectUpdateReply, error)
- // 项目设备统计
- ProjectDeviceStatistics(context.Context, *v1.ProjectDeviceStatisticsRequest) (*v1.ProjectDeviceStatisticsReply, error)
- // 项目工程进度
- ProjectProgress(context.Context, *v1.ProjectProgressRequest) (*v1.ProjectProgressReply, error)
- // 添加项目工程进度
- ProjectProgressAdd(context.Context, *v1.ProjectProgressAddRequest) (*v1.ProjectProgressAddReply, error)
- // 项目工程阶段完成
- ProjectProgressSet(context.Context, *v1.ProjectProgressSetRequest) (*v1.ProjectProgressSetReply, error)
- // 删除项目工程进度
- ProjectProgressDel(context.Context, *v1.ProjectProgressDelRequest) (*v1.ProjectProgressDelReply, error)
- // 告警规则设置
- // 告警规则添加
- AlarmRuleAdd(context.Context, *v1.AlarmRuleAddRequest) (*v1.AlarmRuleAddReply, error)
- // 告警规则列表
- AlarmRuleList(context.Context, *v1.AlarmRuleListRequest) (*v1.AlarmRuleListReply, error)
- // 告警规则删除
- AlarmRuleDelete(context.Context, *v1.AlarmRuleDeleteRequest) (*v1.AlarmRuleDeleteReply, error)
- // 告警规则开关
- AlarmRuleOnOff(context.Context, *v1.AlarmRuleOnOffRequest) (*v1.AlarmRuleOnOffReply, error)
- // 告警规则更新
- AlarmRuleUpdate(context.Context, *v1.AlarmRuleUpdateRequest) (*v1.AlarmRuleUpdateReply, error)
- // 告警推送设置
- // 告警联系人添加
- AlarmContactAdd(context.Context, *v1.AlarmContactAddRequest) (*v1.AlarmContactAddReply, error)
- // 告警联系人列表
- AlarmContactList(context.Context, *v1.AlarmContactListRequest) (*v1.AlarmContactListReply, error)
- // 告警联系人删除
- AlarmContactDelete(context.Context, *v1.AlarmContactDeleteRequest) (*v1.AlarmContactDeleteReply, error)
- // 告警联系人更新
- AlarmContactUpdate(context.Context, *v1.AlarmContactUpdateRequest) (*v1.AlarmContactUpdateReply, error)
- }
- // UnimplementedSmartSiteProjectServer can be embedded to have forward compatible implementations.
- type UnimplementedSmartSiteProjectServer struct {
- }
- func (*UnimplementedSmartSiteProjectServer) Login(ctx context.Context, req *v1.LoginRequest) (*v1.LoginReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Login not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) EmailPrepare(ctx context.Context, req *v1.EmailPrepareRequest) (*v1.EmailPrepareReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method EmailPrepare not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) EmailUpdate(ctx context.Context, req *v1.EmailUpdateRequest) (*v1.EmailUpdateReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method EmailUpdate not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) PhoneUpdate(ctx context.Context, req *v1.PhoneUpdateRequest) (*v1.PhoneUpdateReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method PhoneUpdate not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) UserInfo(ctx context.Context, req *v1.UserInfoRequest) (*v1.UserInfoReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UserInfo not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ProjectChange(ctx context.Context, req *v1.ProjectChangeRequest) (*v1.ProjectChangeReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProjectChange not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ProjectInfoForChange(ctx context.Context, req *v1.ProjectInfoForChangeRequest) (*v1.ProjectInfoForChangeReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProjectInfoForChange not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ProjectChangeInfoList(ctx context.Context, req *v1.ProjectChangeInfoListRequest) (*v1.ProjectChangeInfoListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProjectChangeInfoList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) DeviceList(ctx context.Context, req *v1.DeviceListRequest) (*v1.DeviceListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) DeviceVideoChannel(ctx context.Context, req *v1.DeviceVideoChannelRequest) (*v1.DeviceVideoChannelReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceVideoChannel not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) DeviceApprove(ctx context.Context, req *v1.DeviceApproveRequest) (*v1.DeviceApproveReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceApprove not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) CameraList(ctx context.Context, req *v1.CameraListRequest) (*v1.CameraListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CameraList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ChannelUpdate(ctx context.Context, req *v1.ChannelUpdateRequest) (*v1.ChannelUpdateReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ChannelUpdate not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) DeviceBindCamera(ctx context.Context, req *v1.DeviceBindCameraRequest) (*v1.DeviceBindCameraReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceBindCamera not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) DeviceUnbindCamera(ctx context.Context, req *v1.DeviceUnbindCameraRequest) (*v1.DeviceUnbindCameraReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DeviceUnbindCamera not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) VehicleList(ctx context.Context, req *v1.VehicleListRequest) (*v1.VehicleListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VehicleList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) LatestStaffData(ctx context.Context, req *v1.LatestStaffDataRequest) (*v1.LatestStaffDataReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method LatestStaffData not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) StaffList(ctx context.Context, req *v1.StaffListRequest) (*v1.StaffListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method StaffList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) StaffAttendance(ctx context.Context, req *v1.StaffAttendanceRequest) (*v1.StaffAttendanceReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method StaffAttendance not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) StaffWorkTypeStatistics(ctx context.Context, req *v1.StaffWorkTypeStatisticsRequest) (*v1.StaffWorkTypeStatisticsReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method StaffWorkTypeStatistics not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) StaffTypeStatistics(ctx context.Context, req *v1.StaffTypeStatisticsRequest) (*v1.StaffTypeStatisticsReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method StaffTypeStatistics not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) LaborCompanyStatistics(ctx context.Context, req *v1.LaborCompanyStatisticsRequest) (*v1.LaborCompanyStatisticsReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method LaborCompanyStatistics not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) LatestDustMonitorData(ctx context.Context, req *v1.LatestDustMonitorDataRequest) (*v1.LatestDustMonitorDataReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method LatestDustMonitorData not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) DustMonitorHistory(ctx context.Context, req *v1.DustMonitorHistoryRequest) (*v1.DustMonitorHistoryReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DustMonitorHistory not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) DustList(ctx context.Context, req *v1.DustListRequest) (*v1.DustListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DustList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) LatestTowerMonitorData(ctx context.Context, req *v1.LatestTowerMonitorDataRequest) (*v1.LatestTowerMonitorDataReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method LatestTowerMonitorData not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) TowerMonitorHistory(ctx context.Context, req *v1.TowerMonitorHistoryRequest) (*v1.TowerMonitorHistoryReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method TowerMonitorHistory not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) IotList(ctx context.Context, req *v1.IotListRequest) (*v1.IotListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method IotList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) IotLast(ctx context.Context, req *v1.IotLastRequest) (*v1.IotLastReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method IotLast not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) IotTypeList(ctx context.Context, req *v1.IotTypeListRequest) (*v1.IotTypeListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method IotTypeList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) DustAqi(ctx context.Context, req *v1.DustAqiRequest) (*v1.DustAqiReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method DustAqi not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) AlarmList(ctx context.Context, req *v1.AlarmListRequest) (*v1.AlarmListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AlarmList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ChannelList(ctx context.Context, req *v1.ChannelListRequest) (*v1.ChannelListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ChannelList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) VedioList(ctx context.Context, req *v1.VedioListRequest) (*v1.VedioListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VedioList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) RealPlay(ctx context.Context, req *v1.RealPlayRequest) (*v1.RealPlayReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RealPlay not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) Ptz(ctx context.Context, req *v1.PtzRequest) (*v1.PtzReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Ptz not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) VedioPing(ctx context.Context, req *v1.VedioPingRequest) (*v1.VedioPingReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method VedioPing not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ChangePasswd(ctx context.Context, req *v1.ChangePasswdRequest) (*v1.ChangePasswdReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ChangePasswd not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ProjectInfo(ctx context.Context, req *v1.ProjectInfoRequest) (*v1.ProjectInfoReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProjectInfo not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ProjectSetPic(ctx context.Context, req *v1.ProjectSetPicRequest) (*v1.ProjectSetPicReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProjectSetPic not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ProjectUpdate(ctx context.Context, req *v1.ProjectUpdateRequest) (*v1.ProjectUpdateReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProjectUpdate not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ProjectDeviceStatistics(ctx context.Context, req *v1.ProjectDeviceStatisticsRequest) (*v1.ProjectDeviceStatisticsReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProjectDeviceStatistics not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ProjectProgress(ctx context.Context, req *v1.ProjectProgressRequest) (*v1.ProjectProgressReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProjectProgress not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ProjectProgressAdd(ctx context.Context, req *v1.ProjectProgressAddRequest) (*v1.ProjectProgressAddReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProjectProgressAdd not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ProjectProgressSet(ctx context.Context, req *v1.ProjectProgressSetRequest) (*v1.ProjectProgressSetReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProjectProgressSet not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) ProjectProgressDel(ctx context.Context, req *v1.ProjectProgressDelRequest) (*v1.ProjectProgressDelReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ProjectProgressDel not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) AlarmRuleAdd(ctx context.Context, req *v1.AlarmRuleAddRequest) (*v1.AlarmRuleAddReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AlarmRuleAdd not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) AlarmRuleList(ctx context.Context, req *v1.AlarmRuleListRequest) (*v1.AlarmRuleListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AlarmRuleList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) AlarmRuleDelete(ctx context.Context, req *v1.AlarmRuleDeleteRequest) (*v1.AlarmRuleDeleteReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AlarmRuleDelete not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) AlarmRuleOnOff(ctx context.Context, req *v1.AlarmRuleOnOffRequest) (*v1.AlarmRuleOnOffReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AlarmRuleOnOff not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) AlarmRuleUpdate(ctx context.Context, req *v1.AlarmRuleUpdateRequest) (*v1.AlarmRuleUpdateReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AlarmRuleUpdate not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) AlarmContactAdd(ctx context.Context, req *v1.AlarmContactAddRequest) (*v1.AlarmContactAddReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AlarmContactAdd not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) AlarmContactList(ctx context.Context, req *v1.AlarmContactListRequest) (*v1.AlarmContactListReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AlarmContactList not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) AlarmContactDelete(ctx context.Context, req *v1.AlarmContactDeleteRequest) (*v1.AlarmContactDeleteReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AlarmContactDelete not implemented")
- }
- func (*UnimplementedSmartSiteProjectServer) AlarmContactUpdate(ctx context.Context, req *v1.AlarmContactUpdateRequest) (*v1.AlarmContactUpdateReply, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AlarmContactUpdate not implemented")
- }
- func RegisterSmartSiteProjectServer(s *grpc.Server, srv SmartSiteProjectServer) {
- s.RegisterService(&_SmartSiteProject_serviceDesc, srv)
- }
- func _SmartSiteProject_Login_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.LoginRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).Login(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/Login",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).Login(ctx, req.(*v1.LoginRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_EmailPrepare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.EmailPrepareRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).EmailPrepare(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/EmailPrepare",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).EmailPrepare(ctx, req.(*v1.EmailPrepareRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_EmailUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.EmailUpdateRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).EmailUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/EmailUpdate",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).EmailUpdate(ctx, req.(*v1.EmailUpdateRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_PhoneUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.PhoneUpdateRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).PhoneUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/PhoneUpdate",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).PhoneUpdate(ctx, req.(*v1.PhoneUpdateRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_UserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.UserInfoRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).UserInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/UserInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).UserInfo(ctx, req.(*v1.UserInfoRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ProjectChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProjectChangeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ProjectChange(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ProjectChange",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ProjectChange(ctx, req.(*v1.ProjectChangeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ProjectInfoForChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProjectInfoForChangeRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ProjectInfoForChange(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ProjectInfoForChange",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ProjectInfoForChange(ctx, req.(*v1.ProjectInfoForChangeRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ProjectChangeInfoList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProjectChangeInfoListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ProjectChangeInfoList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ProjectChangeInfoList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ProjectChangeInfoList(ctx, req.(*v1.ProjectChangeInfoListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_DeviceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.DeviceListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).DeviceList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/DeviceList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).DeviceList(ctx, req.(*v1.DeviceListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_DeviceVideoChannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.DeviceVideoChannelRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).DeviceVideoChannel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/DeviceVideoChannel",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).DeviceVideoChannel(ctx, req.(*v1.DeviceVideoChannelRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_DeviceApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.DeviceApproveRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).DeviceApprove(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/DeviceApprove",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).DeviceApprove(ctx, req.(*v1.DeviceApproveRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_CameraList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.CameraListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).CameraList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/CameraList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).CameraList(ctx, req.(*v1.CameraListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ChannelUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ChannelUpdateRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ChannelUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ChannelUpdate",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ChannelUpdate(ctx, req.(*v1.ChannelUpdateRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_DeviceBindCamera_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.DeviceBindCameraRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).DeviceBindCamera(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/DeviceBindCamera",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).DeviceBindCamera(ctx, req.(*v1.DeviceBindCameraRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_DeviceUnbindCamera_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.DeviceUnbindCameraRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).DeviceUnbindCamera(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/DeviceUnbindCamera",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).DeviceUnbindCamera(ctx, req.(*v1.DeviceUnbindCameraRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_VehicleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.VehicleListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).VehicleList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/VehicleList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).VehicleList(ctx, req.(*v1.VehicleListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_LatestStaffData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.LatestStaffDataRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).LatestStaffData(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/LatestStaffData",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).LatestStaffData(ctx, req.(*v1.LatestStaffDataRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_StaffList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.StaffListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).StaffList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/StaffList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).StaffList(ctx, req.(*v1.StaffListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_StaffAttendance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.StaffAttendanceRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).StaffAttendance(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/StaffAttendance",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).StaffAttendance(ctx, req.(*v1.StaffAttendanceRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_StaffWorkTypeStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.StaffWorkTypeStatisticsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).StaffWorkTypeStatistics(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/StaffWorkTypeStatistics",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).StaffWorkTypeStatistics(ctx, req.(*v1.StaffWorkTypeStatisticsRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_StaffTypeStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.StaffTypeStatisticsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).StaffTypeStatistics(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/StaffTypeStatistics",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).StaffTypeStatistics(ctx, req.(*v1.StaffTypeStatisticsRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_LaborCompanyStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.LaborCompanyStatisticsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).LaborCompanyStatistics(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/LaborCompanyStatistics",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).LaborCompanyStatistics(ctx, req.(*v1.LaborCompanyStatisticsRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_LatestDustMonitorData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.LatestDustMonitorDataRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).LatestDustMonitorData(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/LatestDustMonitorData",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).LatestDustMonitorData(ctx, req.(*v1.LatestDustMonitorDataRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_DustMonitorHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.DustMonitorHistoryRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).DustMonitorHistory(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/DustMonitorHistory",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).DustMonitorHistory(ctx, req.(*v1.DustMonitorHistoryRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_DustList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.DustListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).DustList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/DustList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).DustList(ctx, req.(*v1.DustListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_LatestTowerMonitorData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.LatestTowerMonitorDataRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).LatestTowerMonitorData(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/LatestTowerMonitorData",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).LatestTowerMonitorData(ctx, req.(*v1.LatestTowerMonitorDataRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_TowerMonitorHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.TowerMonitorHistoryRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).TowerMonitorHistory(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/TowerMonitorHistory",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).TowerMonitorHistory(ctx, req.(*v1.TowerMonitorHistoryRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_IotList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.IotListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).IotList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/IotList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).IotList(ctx, req.(*v1.IotListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_IotLast_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.IotLastRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).IotLast(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/IotLast",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).IotLast(ctx, req.(*v1.IotLastRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_IotTypeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.IotTypeListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).IotTypeList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/IotTypeList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).IotTypeList(ctx, req.(*v1.IotTypeListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_DustAqi_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.DustAqiRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).DustAqi(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/DustAqi",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).DustAqi(ctx, req.(*v1.DustAqiRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_AlarmList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.AlarmListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).AlarmList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/AlarmList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).AlarmList(ctx, req.(*v1.AlarmListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ChannelList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ChannelListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ChannelList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ChannelList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ChannelList(ctx, req.(*v1.ChannelListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_VedioList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.VedioListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).VedioList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/VedioList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).VedioList(ctx, req.(*v1.VedioListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_RealPlay_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.RealPlayRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).RealPlay(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/RealPlay",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).RealPlay(ctx, req.(*v1.RealPlayRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_Ptz_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.PtzRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).Ptz(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/Ptz",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).Ptz(ctx, req.(*v1.PtzRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_VedioPing_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.VedioPingRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).VedioPing(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/VedioPing",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).VedioPing(ctx, req.(*v1.VedioPingRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ChangePasswd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ChangePasswdRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ChangePasswd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ChangePasswd",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ChangePasswd(ctx, req.(*v1.ChangePasswdRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ProjectInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProjectInfoRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ProjectInfo(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ProjectInfo",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ProjectInfo(ctx, req.(*v1.ProjectInfoRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ProjectSetPic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProjectSetPicRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ProjectSetPic(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ProjectSetPic",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ProjectSetPic(ctx, req.(*v1.ProjectSetPicRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ProjectUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProjectUpdateRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ProjectUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ProjectUpdate",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ProjectUpdate(ctx, req.(*v1.ProjectUpdateRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ProjectDeviceStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProjectDeviceStatisticsRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ProjectDeviceStatistics(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ProjectDeviceStatistics",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ProjectDeviceStatistics(ctx, req.(*v1.ProjectDeviceStatisticsRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ProjectProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProjectProgressRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ProjectProgress(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ProjectProgress",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ProjectProgress(ctx, req.(*v1.ProjectProgressRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ProjectProgressAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProjectProgressAddRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ProjectProgressAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ProjectProgressAdd",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ProjectProgressAdd(ctx, req.(*v1.ProjectProgressAddRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ProjectProgressSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProjectProgressSetRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ProjectProgressSet(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ProjectProgressSet",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ProjectProgressSet(ctx, req.(*v1.ProjectProgressSetRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_ProjectProgressDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.ProjectProgressDelRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).ProjectProgressDel(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/ProjectProgressDel",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).ProjectProgressDel(ctx, req.(*v1.ProjectProgressDelRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_AlarmRuleAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.AlarmRuleAddRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).AlarmRuleAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/AlarmRuleAdd",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).AlarmRuleAdd(ctx, req.(*v1.AlarmRuleAddRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_AlarmRuleList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.AlarmRuleListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).AlarmRuleList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/AlarmRuleList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).AlarmRuleList(ctx, req.(*v1.AlarmRuleListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_AlarmRuleDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.AlarmRuleDeleteRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).AlarmRuleDelete(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/AlarmRuleDelete",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).AlarmRuleDelete(ctx, req.(*v1.AlarmRuleDeleteRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_AlarmRuleOnOff_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.AlarmRuleOnOffRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).AlarmRuleOnOff(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/AlarmRuleOnOff",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).AlarmRuleOnOff(ctx, req.(*v1.AlarmRuleOnOffRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_AlarmRuleUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.AlarmRuleUpdateRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).AlarmRuleUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/AlarmRuleUpdate",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).AlarmRuleUpdate(ctx, req.(*v1.AlarmRuleUpdateRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_AlarmContactAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.AlarmContactAddRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).AlarmContactAdd(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/AlarmContactAdd",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).AlarmContactAdd(ctx, req.(*v1.AlarmContactAddRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_AlarmContactList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.AlarmContactListRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).AlarmContactList(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/AlarmContactList",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).AlarmContactList(ctx, req.(*v1.AlarmContactListRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_AlarmContactDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.AlarmContactDeleteRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).AlarmContactDelete(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/AlarmContactDelete",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).AlarmContactDelete(ctx, req.(*v1.AlarmContactDeleteRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- func _SmartSiteProject_AlarmContactUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(v1.AlarmContactUpdateRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(SmartSiteProjectServer).AlarmContactUpdate(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/pb.SmartSiteProject/AlarmContactUpdate",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(SmartSiteProjectServer).AlarmContactUpdate(ctx, req.(*v1.AlarmContactUpdateRequest))
- }
- return interceptor(ctx, in, info, handler)
- }
- var _SmartSiteProject_serviceDesc = grpc.ServiceDesc{
- ServiceName: "pb.SmartSiteProject",
- HandlerType: (*SmartSiteProjectServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "Login",
- Handler: _SmartSiteProject_Login_Handler,
- },
- {
- MethodName: "EmailPrepare",
- Handler: _SmartSiteProject_EmailPrepare_Handler,
- },
- {
- MethodName: "EmailUpdate",
- Handler: _SmartSiteProject_EmailUpdate_Handler,
- },
- {
- MethodName: "PhoneUpdate",
- Handler: _SmartSiteProject_PhoneUpdate_Handler,
- },
- {
- MethodName: "UserInfo",
- Handler: _SmartSiteProject_UserInfo_Handler,
- },
- {
- MethodName: "ProjectChange",
- Handler: _SmartSiteProject_ProjectChange_Handler,
- },
- {
- MethodName: "ProjectInfoForChange",
- Handler: _SmartSiteProject_ProjectInfoForChange_Handler,
- },
- {
- MethodName: "ProjectChangeInfoList",
- Handler: _SmartSiteProject_ProjectChangeInfoList_Handler,
- },
- {
- MethodName: "DeviceList",
- Handler: _SmartSiteProject_DeviceList_Handler,
- },
- {
- MethodName: "DeviceVideoChannel",
- Handler: _SmartSiteProject_DeviceVideoChannel_Handler,
- },
- {
- MethodName: "DeviceApprove",
- Handler: _SmartSiteProject_DeviceApprove_Handler,
- },
- {
- MethodName: "CameraList",
- Handler: _SmartSiteProject_CameraList_Handler,
- },
- {
- MethodName: "ChannelUpdate",
- Handler: _SmartSiteProject_ChannelUpdate_Handler,
- },
- {
- MethodName: "DeviceBindCamera",
- Handler: _SmartSiteProject_DeviceBindCamera_Handler,
- },
- {
- MethodName: "DeviceUnbindCamera",
- Handler: _SmartSiteProject_DeviceUnbindCamera_Handler,
- },
- {
- MethodName: "VehicleList",
- Handler: _SmartSiteProject_VehicleList_Handler,
- },
- {
- MethodName: "LatestStaffData",
- Handler: _SmartSiteProject_LatestStaffData_Handler,
- },
- {
- MethodName: "StaffList",
- Handler: _SmartSiteProject_StaffList_Handler,
- },
- {
- MethodName: "StaffAttendance",
- Handler: _SmartSiteProject_StaffAttendance_Handler,
- },
- {
- MethodName: "StaffWorkTypeStatistics",
- Handler: _SmartSiteProject_StaffWorkTypeStatistics_Handler,
- },
- {
- MethodName: "StaffTypeStatistics",
- Handler: _SmartSiteProject_StaffTypeStatistics_Handler,
- },
- {
- MethodName: "LaborCompanyStatistics",
- Handler: _SmartSiteProject_LaborCompanyStatistics_Handler,
- },
- {
- MethodName: "LatestDustMonitorData",
- Handler: _SmartSiteProject_LatestDustMonitorData_Handler,
- },
- {
- MethodName: "DustMonitorHistory",
- Handler: _SmartSiteProject_DustMonitorHistory_Handler,
- },
- {
- MethodName: "DustList",
- Handler: _SmartSiteProject_DustList_Handler,
- },
- {
- MethodName: "LatestTowerMonitorData",
- Handler: _SmartSiteProject_LatestTowerMonitorData_Handler,
- },
- {
- MethodName: "TowerMonitorHistory",
- Handler: _SmartSiteProject_TowerMonitorHistory_Handler,
- },
- {
- MethodName: "IotList",
- Handler: _SmartSiteProject_IotList_Handler,
- },
- {
- MethodName: "IotLast",
- Handler: _SmartSiteProject_IotLast_Handler,
- },
- {
- MethodName: "IotTypeList",
- Handler: _SmartSiteProject_IotTypeList_Handler,
- },
- {
- MethodName: "DustAqi",
- Handler: _SmartSiteProject_DustAqi_Handler,
- },
- {
- MethodName: "AlarmList",
- Handler: _SmartSiteProject_AlarmList_Handler,
- },
- {
- MethodName: "ChannelList",
- Handler: _SmartSiteProject_ChannelList_Handler,
- },
- {
- MethodName: "VedioList",
- Handler: _SmartSiteProject_VedioList_Handler,
- },
- {
- MethodName: "RealPlay",
- Handler: _SmartSiteProject_RealPlay_Handler,
- },
- {
- MethodName: "Ptz",
- Handler: _SmartSiteProject_Ptz_Handler,
- },
- {
- MethodName: "VedioPing",
- Handler: _SmartSiteProject_VedioPing_Handler,
- },
- {
- MethodName: "ChangePasswd",
- Handler: _SmartSiteProject_ChangePasswd_Handler,
- },
- {
- MethodName: "ProjectInfo",
- Handler: _SmartSiteProject_ProjectInfo_Handler,
- },
- {
- MethodName: "ProjectSetPic",
- Handler: _SmartSiteProject_ProjectSetPic_Handler,
- },
- {
- MethodName: "ProjectUpdate",
- Handler: _SmartSiteProject_ProjectUpdate_Handler,
- },
- {
- MethodName: "ProjectDeviceStatistics",
- Handler: _SmartSiteProject_ProjectDeviceStatistics_Handler,
- },
- {
- MethodName: "ProjectProgress",
- Handler: _SmartSiteProject_ProjectProgress_Handler,
- },
- {
- MethodName: "ProjectProgressAdd",
- Handler: _SmartSiteProject_ProjectProgressAdd_Handler,
- },
- {
- MethodName: "ProjectProgressSet",
- Handler: _SmartSiteProject_ProjectProgressSet_Handler,
- },
- {
- MethodName: "ProjectProgressDel",
- Handler: _SmartSiteProject_ProjectProgressDel_Handler,
- },
- {
- MethodName: "AlarmRuleAdd",
- Handler: _SmartSiteProject_AlarmRuleAdd_Handler,
- },
- {
- MethodName: "AlarmRuleList",
- Handler: _SmartSiteProject_AlarmRuleList_Handler,
- },
- {
- MethodName: "AlarmRuleDelete",
- Handler: _SmartSiteProject_AlarmRuleDelete_Handler,
- },
- {
- MethodName: "AlarmRuleOnOff",
- Handler: _SmartSiteProject_AlarmRuleOnOff_Handler,
- },
- {
- MethodName: "AlarmRuleUpdate",
- Handler: _SmartSiteProject_AlarmRuleUpdate_Handler,
- },
- {
- MethodName: "AlarmContactAdd",
- Handler: _SmartSiteProject_AlarmContactAdd_Handler,
- },
- {
- MethodName: "AlarmContactList",
- Handler: _SmartSiteProject_AlarmContactList_Handler,
- },
- {
- MethodName: "AlarmContactDelete",
- Handler: _SmartSiteProject_AlarmContactDelete_Handler,
- },
- {
- MethodName: "AlarmContactUpdate",
- Handler: _SmartSiteProject_AlarmContactUpdate_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "project_management.proto",
- }
|