// Code generated by protoc-gen-go. DO NOT EDIT. // source: goverment_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-government-management/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("goverment_management.proto", fileDescriptor_33e60eed1a4d425c) } var fileDescriptor_33e60eed1a4d425c = []byte{ // 922 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x57, 0xef, 0x6f, 0x1b, 0x45, 0x10, 0x45, 0x48, 0xfc, 0xe8, 0x02, 0xa9, 0x73, 0x71, 0xda, 0xc6, 0x6d, 0x53, 0xb7, 0x5f, 0x51, 0x63, 0x19, 0x90, 0x2a, 0x21, 0x21, 0x61, 0x6a, 0x30, 0x41, 0x46, 0x58, 0x75, 0x02, 0x08, 0x24, 0xd0, 0xfa, 0xbc, 0x71, 0x8e, 0x9c, 0x77, 0x2f, 0xbb, 0xeb, 0x8b, 0xfc, 0x8d, 0x3f, 0xbd, 0xba, 0x9d, 0xdb, 0x1f, 0xb3, 0x77, 0x97, 0x6f, 0xde, 0xf7, 0xe6, 0x3d, 0xcf, 0xce, 0xcd, 0x8c, 0x7d, 0x64, 0xb0, 0x11, 0x25, 0x93, 0x5b, 0xc6, 0xf5, 0xbf, 0x5b, 0xca, 0xe9, 0x86, 0x55, 0x1f, 0xcf, 0x0a, 0x29, 0xb4, 0x48, 0x3e, 0x2c, 0x56, 0x83, 0xc3, 0x72, 0x3c, 0x52, 0xbb, 0xa2, 0xc8, 0x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 0x21, 0xe4, 0x4d, 0x94, 0xfa, 0x2b, 0x97, 0x5a, 0x93, 0xb4, 0xdf, 0x30, 0xbc, 0x37, 0x26, 0xb8, 0x42, 0xd5, 0xec, 0x17, 0xd5, 0xff, 0xf6, 0x70, 0x54, 0x5e, 0xfa, 0x41, 0x88, 0xb9, 0xe8, 0x0a, 0xed, 0x21, 0xc6, 0xff, 0x87, 0xe1, 0x5f, 0xa7, 0xaa, 0x7a, 0x03, 0x78, 0xbd, 0x71, 0x7f, 0xff, 0x5f, 0xfb, 0xf7, 0x95, 0x51, 0xb1, 0x5a, 0x7d, 0x6c, 0xde, 0x15, 0xbe, 0x7e, 0x1f, 0x00, 0x00, 0xff, 0xff, 0xb5, 0x32, 0x75, 0x40, 0xd1, 0x0c, 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 // SmartSiteGovernmentClient is the client API for SmartSiteGovernment service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type SmartSiteGovernmentClient interface { // 设备类型列表 DeviceTypeList(ctx context.Context, in *v1.DeviceTypeListRequest, opts ...grpc.CallOption) (*v1.DeviceTypeListReply, error) // 平台支持得设备类型 DeviceAllTypeList(ctx context.Context, in *v1.DeviceAllTypeListRequest, opts ...grpc.CallOption) (*v1.DeviceAllTypeListReply, error) // 公示列表 Publicity(ctx context.Context, in *v1.PublicityRequest, opts ...grpc.CallOption) (*v1.PublicityReply, error) // 供应商列表 ProviderList(ctx context.Context, in *v1.ProviderListRequest, opts ...grpc.CallOption) (*v1.ProviderListReply, error) // 设备 DeviceList(ctx context.Context, in *v1.DeviceListRequest, opts ...grpc.CallOption) (*v1.DeviceListReply, error) // 供应商注册审批,设备申报审批,设备拆机审批 ProviderApprove(ctx context.Context, in *v1.ProviderApproveRequest, opts ...grpc.CallOption) (*v1.ProviderApproveReply, error) // 登录 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) // 设备对接测试审批,开发者调用 DockingApprove(ctx context.Context, in *v1.DockingApproveRequest, opts ...grpc.CallOption) (*v1.DockingApproveReply, error) // 企业列表 CompanyList(ctx context.Context, in *v1.CompanyListRequest, opts ...grpc.CallOption) (*v1.CompanyListReply, error) // 项目列表 ProjectList(ctx context.Context, in *v1.ProjectListRequest, opts ...grpc.CallOption) (*v1.ProjectListReply, error) // 项目变更申报列表 ProjectChangeInfoList(ctx context.Context, in *v1.ProjectChangeInfoListRequest, opts ...grpc.CallOption) (*v1.ProjectChangeInfoListReply, error) // 公司注册审批,项目添加审批,项目变更审批 CompanyApprove(ctx context.Context, in *v1.CompanyApproveRequest, opts ...grpc.CallOption) (*v1.CompanyApproveReply, error) // 拆机申请列表 DeviceDelJobList(ctx context.Context, in *v1.DeviceDelJobListRequest, opts ...grpc.CallOption) (*v1.DeviceDelJobListReply, 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) ChangePasswd(ctx context.Context, in *v1.ChangePasswdRequest, opts ...grpc.CallOption) (*v1.ChangePasswdReply, error) SetPhone(ctx context.Context, in *v1.SetPhoneRequest, opts ...grpc.CallOption) (*v1.SetPhoneReply, error) GetPhone(ctx context.Context, in *v1.GetPhoneRequest, opts ...grpc.CallOption) (*v1.GetPhoneReply, error) SetPasswd(ctx context.Context, in *v1.SetPasswdRequest, opts ...grpc.CallOption) (*v1.SetPasswdReply, error) DeviceStatistic(ctx context.Context, in *v1.DeviceStatisticRequest, opts ...grpc.CallOption) (*v1.DeviceStatisticReply, error) DeviceTypeStatistic(ctx context.Context, in *v1.DeviceTypeStatisticRequest, opts ...grpc.CallOption) (*v1.DeviceTypeStatisticReply, error) ProjectStatistic(ctx context.Context, in *v1.ProjectStatisticRequest, opts ...grpc.CallOption) (*v1.ProjectStatisticReply, error) ProjectTypeStatistic(ctx context.Context, in *v1.ProjectTypeStatisticRequest, opts ...grpc.CallOption) (*v1.ProjectTypeStatisticReply, error) StaffStatistic(ctx context.Context, in *v1.StaffStatisticRequest, opts ...grpc.CallOption) (*v1.StaffStatisticReply, error) CompanyStatistic(ctx context.Context, in *v1.CompanyStatisticRequest, opts ...grpc.CallOption) (*v1.CompanyStatisticReply, error) AlarmList(ctx context.Context, in *v1.AlarmListRequest, opts ...grpc.CallOption) (*v1.AlarmListReply, error) AlarmHandle(ctx context.Context, in *v1.AlarmHandleRequest, opts ...grpc.CallOption) (*v1.AlarmHandleReply, error) DustAqi(ctx context.Context, in *v1.DustAqiRequest, opts ...grpc.CallOption) (*v1.DustAqiReply, error) // 最近一次扬尘监控数据 LatestDustMonitorData(ctx context.Context, in *v1.LatestDustMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestDustMonitorDataReply, error) AlarmProject(ctx context.Context, in *v1.AlarmProjectRequest, opts ...grpc.CallOption) (*v1.AlarmProjectReply, error) AlarmReasonStatistic(ctx context.Context, in *v1.AlarmReasonStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmReasonStatisticReply, error) AlarmDeviceStatistic(ctx context.Context, in *v1.AlarmDeviceStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmDeviceStatisticReply, error) AlarmIncreaseStatistic(ctx context.Context, in *v1.AlarmIncreaseStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmIncreaseStatisticReply, error) AlarmPercentStatistic(ctx context.Context, in *v1.AlarmPercentStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmPercentStatisticReply, 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) StaffWorkTypeStatistics(ctx context.Context, in *v1.StaffWorkTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffWorkTypeStatisticsReply, error) LatestTowerMonitorData(ctx context.Context, in *v1.LatestTowerMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestTowerMonitorDataReply, error) } type smartSiteGovernmentClient struct { cc grpc.ClientConnInterface } func NewSmartSiteGovernmentClient(cc grpc.ClientConnInterface) SmartSiteGovernmentClient { return &smartSiteGovernmentClient{cc} } func (c *smartSiteGovernmentClient) DeviceTypeList(ctx context.Context, in *v1.DeviceTypeListRequest, opts ...grpc.CallOption) (*v1.DeviceTypeListReply, error) { out := new(v1.DeviceTypeListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DeviceTypeList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) DeviceAllTypeList(ctx context.Context, in *v1.DeviceAllTypeListRequest, opts ...grpc.CallOption) (*v1.DeviceAllTypeListReply, error) { out := new(v1.DeviceAllTypeListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DeviceAllTypeList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) Publicity(ctx context.Context, in *v1.PublicityRequest, opts ...grpc.CallOption) (*v1.PublicityReply, error) { out := new(v1.PublicityReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/Publicity", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) ProviderList(ctx context.Context, in *v1.ProviderListRequest, opts ...grpc.CallOption) (*v1.ProviderListReply, error) { out := new(v1.ProviderListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ProviderList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) DeviceList(ctx context.Context, in *v1.DeviceListRequest, opts ...grpc.CallOption) (*v1.DeviceListReply, error) { out := new(v1.DeviceListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DeviceList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) ProviderApprove(ctx context.Context, in *v1.ProviderApproveRequest, opts ...grpc.CallOption) (*v1.ProviderApproveReply, error) { out := new(v1.ProviderApproveReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ProviderApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error) { out := new(v1.LoginReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/Login", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) EmailPrepare(ctx context.Context, in *v1.EmailPrepareRequest, opts ...grpc.CallOption) (*v1.EmailPrepareReply, error) { out := new(v1.EmailPrepareReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/EmailPrepare", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) EmailUpdate(ctx context.Context, in *v1.EmailUpdateRequest, opts ...grpc.CallOption) (*v1.EmailUpdateReply, error) { out := new(v1.EmailUpdateReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/EmailUpdate", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) PhoneUpdate(ctx context.Context, in *v1.PhoneUpdateRequest, opts ...grpc.CallOption) (*v1.PhoneUpdateReply, error) { out := new(v1.PhoneUpdateReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/PhoneUpdate", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) UserInfo(ctx context.Context, in *v1.UserInfoRequest, opts ...grpc.CallOption) (*v1.UserInfoReply, error) { out := new(v1.UserInfoReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/UserInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) DockingApprove(ctx context.Context, in *v1.DockingApproveRequest, opts ...grpc.CallOption) (*v1.DockingApproveReply, error) { out := new(v1.DockingApproveReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DockingApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) CompanyList(ctx context.Context, in *v1.CompanyListRequest, opts ...grpc.CallOption) (*v1.CompanyListReply, error) { out := new(v1.CompanyListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/CompanyList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) ProjectList(ctx context.Context, in *v1.ProjectListRequest, opts ...grpc.CallOption) (*v1.ProjectListReply, error) { out := new(v1.ProjectListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ProjectList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) ProjectChangeInfoList(ctx context.Context, in *v1.ProjectChangeInfoListRequest, opts ...grpc.CallOption) (*v1.ProjectChangeInfoListReply, error) { out := new(v1.ProjectChangeInfoListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ProjectChangeInfoList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) CompanyApprove(ctx context.Context, in *v1.CompanyApproveRequest, opts ...grpc.CallOption) (*v1.CompanyApproveReply, error) { out := new(v1.CompanyApproveReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/CompanyApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) DeviceDelJobList(ctx context.Context, in *v1.DeviceDelJobListRequest, opts ...grpc.CallOption) (*v1.DeviceDelJobListReply, error) { out := new(v1.DeviceDelJobListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DeviceDelJobList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) ChannelList(ctx context.Context, in *v1.ChannelListRequest, opts ...grpc.CallOption) (*v1.ChannelListReply, error) { out := new(v1.ChannelListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ChannelList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) VedioList(ctx context.Context, in *v1.VedioListRequest, opts ...grpc.CallOption) (*v1.VedioListReply, error) { out := new(v1.VedioListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/VedioList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) ChangePasswd(ctx context.Context, in *v1.ChangePasswdRequest, opts ...grpc.CallOption) (*v1.ChangePasswdReply, error) { out := new(v1.ChangePasswdReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ChangePasswd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) SetPhone(ctx context.Context, in *v1.SetPhoneRequest, opts ...grpc.CallOption) (*v1.SetPhoneReply, error) { out := new(v1.SetPhoneReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/SetPhone", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) GetPhone(ctx context.Context, in *v1.GetPhoneRequest, opts ...grpc.CallOption) (*v1.GetPhoneReply, error) { out := new(v1.GetPhoneReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/GetPhone", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) SetPasswd(ctx context.Context, in *v1.SetPasswdRequest, opts ...grpc.CallOption) (*v1.SetPasswdReply, error) { out := new(v1.SetPasswdReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/SetPasswd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) DeviceStatistic(ctx context.Context, in *v1.DeviceStatisticRequest, opts ...grpc.CallOption) (*v1.DeviceStatisticReply, error) { out := new(v1.DeviceStatisticReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DeviceStatistic", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) DeviceTypeStatistic(ctx context.Context, in *v1.DeviceTypeStatisticRequest, opts ...grpc.CallOption) (*v1.DeviceTypeStatisticReply, error) { out := new(v1.DeviceTypeStatisticReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DeviceTypeStatistic", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) ProjectStatistic(ctx context.Context, in *v1.ProjectStatisticRequest, opts ...grpc.CallOption) (*v1.ProjectStatisticReply, error) { out := new(v1.ProjectStatisticReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ProjectStatistic", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) ProjectTypeStatistic(ctx context.Context, in *v1.ProjectTypeStatisticRequest, opts ...grpc.CallOption) (*v1.ProjectTypeStatisticReply, error) { out := new(v1.ProjectTypeStatisticReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/ProjectTypeStatistic", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) StaffStatistic(ctx context.Context, in *v1.StaffStatisticRequest, opts ...grpc.CallOption) (*v1.StaffStatisticReply, error) { out := new(v1.StaffStatisticReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/StaffStatistic", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) CompanyStatistic(ctx context.Context, in *v1.CompanyStatisticRequest, opts ...grpc.CallOption) (*v1.CompanyStatisticReply, error) { out := new(v1.CompanyStatisticReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/CompanyStatistic", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) AlarmList(ctx context.Context, in *v1.AlarmListRequest, opts ...grpc.CallOption) (*v1.AlarmListReply, error) { out := new(v1.AlarmListReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) AlarmHandle(ctx context.Context, in *v1.AlarmHandleRequest, opts ...grpc.CallOption) (*v1.AlarmHandleReply, error) { out := new(v1.AlarmHandleReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmHandle", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) DustAqi(ctx context.Context, in *v1.DustAqiRequest, opts ...grpc.CallOption) (*v1.DustAqiReply, error) { out := new(v1.DustAqiReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/DustAqi", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) LatestDustMonitorData(ctx context.Context, in *v1.LatestDustMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestDustMonitorDataReply, error) { out := new(v1.LatestDustMonitorDataReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/LatestDustMonitorData", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) AlarmProject(ctx context.Context, in *v1.AlarmProjectRequest, opts ...grpc.CallOption) (*v1.AlarmProjectReply, error) { out := new(v1.AlarmProjectReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmProject", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) AlarmReasonStatistic(ctx context.Context, in *v1.AlarmReasonStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmReasonStatisticReply, error) { out := new(v1.AlarmReasonStatisticReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmReasonStatistic", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) AlarmDeviceStatistic(ctx context.Context, in *v1.AlarmDeviceStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmDeviceStatisticReply, error) { out := new(v1.AlarmDeviceStatisticReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmDeviceStatistic", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) AlarmIncreaseStatistic(ctx context.Context, in *v1.AlarmIncreaseStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmIncreaseStatisticReply, error) { out := new(v1.AlarmIncreaseStatisticReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmIncreaseStatistic", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) AlarmPercentStatistic(ctx context.Context, in *v1.AlarmPercentStatisticRequest, opts ...grpc.CallOption) (*v1.AlarmPercentStatisticReply, error) { out := new(v1.AlarmPercentStatisticReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/AlarmPercentStatistic", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) StaffTypeStatistics(ctx context.Context, in *v1.StaffTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffTypeStatisticsReply, error) { out := new(v1.StaffTypeStatisticsReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/StaffTypeStatistics", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) LaborCompanyStatistics(ctx context.Context, in *v1.LaborCompanyStatisticsRequest, opts ...grpc.CallOption) (*v1.LaborCompanyStatisticsReply, error) { out := new(v1.LaborCompanyStatisticsReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/LaborCompanyStatistics", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) StaffWorkTypeStatistics(ctx context.Context, in *v1.StaffWorkTypeStatisticsRequest, opts ...grpc.CallOption) (*v1.StaffWorkTypeStatisticsReply, error) { out := new(v1.StaffWorkTypeStatisticsReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/StaffWorkTypeStatistics", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *smartSiteGovernmentClient) LatestTowerMonitorData(ctx context.Context, in *v1.LatestTowerMonitorDataRequest, opts ...grpc.CallOption) (*v1.LatestTowerMonitorDataReply, error) { out := new(v1.LatestTowerMonitorDataReply) err := c.cc.Invoke(ctx, "/pb.SmartSiteGovernment/LatestTowerMonitorData", in, out, opts...) if err != nil { return nil, err } return out, nil } // SmartSiteGovernmentServer is the server API for SmartSiteGovernment service. type SmartSiteGovernmentServer interface { // 设备类型列表 DeviceTypeList(context.Context, *v1.DeviceTypeListRequest) (*v1.DeviceTypeListReply, error) // 平台支持得设备类型 DeviceAllTypeList(context.Context, *v1.DeviceAllTypeListRequest) (*v1.DeviceAllTypeListReply, error) // 公示列表 Publicity(context.Context, *v1.PublicityRequest) (*v1.PublicityReply, error) // 供应商列表 ProviderList(context.Context, *v1.ProviderListRequest) (*v1.ProviderListReply, error) // 设备 DeviceList(context.Context, *v1.DeviceListRequest) (*v1.DeviceListReply, error) // 供应商注册审批,设备申报审批,设备拆机审批 ProviderApprove(context.Context, *v1.ProviderApproveRequest) (*v1.ProviderApproveReply, error) // 登录 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) // 设备对接测试审批,开发者调用 DockingApprove(context.Context, *v1.DockingApproveRequest) (*v1.DockingApproveReply, error) // 企业列表 CompanyList(context.Context, *v1.CompanyListRequest) (*v1.CompanyListReply, error) // 项目列表 ProjectList(context.Context, *v1.ProjectListRequest) (*v1.ProjectListReply, error) // 项目变更申报列表 ProjectChangeInfoList(context.Context, *v1.ProjectChangeInfoListRequest) (*v1.ProjectChangeInfoListReply, error) // 公司注册审批,项目添加审批,项目变更审批 CompanyApprove(context.Context, *v1.CompanyApproveRequest) (*v1.CompanyApproveReply, error) // 拆机申请列表 DeviceDelJobList(context.Context, *v1.DeviceDelJobListRequest) (*v1.DeviceDelJobListReply, error) ChannelList(context.Context, *v1.ChannelListRequest) (*v1.ChannelListReply, error) VedioList(context.Context, *v1.VedioListRequest) (*v1.VedioListReply, error) ChangePasswd(context.Context, *v1.ChangePasswdRequest) (*v1.ChangePasswdReply, error) SetPhone(context.Context, *v1.SetPhoneRequest) (*v1.SetPhoneReply, error) GetPhone(context.Context, *v1.GetPhoneRequest) (*v1.GetPhoneReply, error) SetPasswd(context.Context, *v1.SetPasswdRequest) (*v1.SetPasswdReply, error) DeviceStatistic(context.Context, *v1.DeviceStatisticRequest) (*v1.DeviceStatisticReply, error) DeviceTypeStatistic(context.Context, *v1.DeviceTypeStatisticRequest) (*v1.DeviceTypeStatisticReply, error) ProjectStatistic(context.Context, *v1.ProjectStatisticRequest) (*v1.ProjectStatisticReply, error) ProjectTypeStatistic(context.Context, *v1.ProjectTypeStatisticRequest) (*v1.ProjectTypeStatisticReply, error) StaffStatistic(context.Context, *v1.StaffStatisticRequest) (*v1.StaffStatisticReply, error) CompanyStatistic(context.Context, *v1.CompanyStatisticRequest) (*v1.CompanyStatisticReply, error) AlarmList(context.Context, *v1.AlarmListRequest) (*v1.AlarmListReply, error) AlarmHandle(context.Context, *v1.AlarmHandleRequest) (*v1.AlarmHandleReply, error) DustAqi(context.Context, *v1.DustAqiRequest) (*v1.DustAqiReply, error) // 最近一次扬尘监控数据 LatestDustMonitorData(context.Context, *v1.LatestDustMonitorDataRequest) (*v1.LatestDustMonitorDataReply, error) AlarmProject(context.Context, *v1.AlarmProjectRequest) (*v1.AlarmProjectReply, error) AlarmReasonStatistic(context.Context, *v1.AlarmReasonStatisticRequest) (*v1.AlarmReasonStatisticReply, error) AlarmDeviceStatistic(context.Context, *v1.AlarmDeviceStatisticRequest) (*v1.AlarmDeviceStatisticReply, error) AlarmIncreaseStatistic(context.Context, *v1.AlarmIncreaseStatisticRequest) (*v1.AlarmIncreaseStatisticReply, error) AlarmPercentStatistic(context.Context, *v1.AlarmPercentStatisticRequest) (*v1.AlarmPercentStatisticReply, error) StaffTypeStatistics(context.Context, *v1.StaffTypeStatisticsRequest) (*v1.StaffTypeStatisticsReply, error) LaborCompanyStatistics(context.Context, *v1.LaborCompanyStatisticsRequest) (*v1.LaborCompanyStatisticsReply, error) StaffWorkTypeStatistics(context.Context, *v1.StaffWorkTypeStatisticsRequest) (*v1.StaffWorkTypeStatisticsReply, error) LatestTowerMonitorData(context.Context, *v1.LatestTowerMonitorDataRequest) (*v1.LatestTowerMonitorDataReply, error) } // UnimplementedSmartSiteGovernmentServer can be embedded to have forward compatible implementations. type UnimplementedSmartSiteGovernmentServer struct { } func (*UnimplementedSmartSiteGovernmentServer) DeviceTypeList(ctx context.Context, req *v1.DeviceTypeListRequest) (*v1.DeviceTypeListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeviceTypeList not implemented") } func (*UnimplementedSmartSiteGovernmentServer) DeviceAllTypeList(ctx context.Context, req *v1.DeviceAllTypeListRequest) (*v1.DeviceAllTypeListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeviceAllTypeList not implemented") } func (*UnimplementedSmartSiteGovernmentServer) Publicity(ctx context.Context, req *v1.PublicityRequest) (*v1.PublicityReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Publicity not implemented") } func (*UnimplementedSmartSiteGovernmentServer) ProviderList(ctx context.Context, req *v1.ProviderListRequest) (*v1.ProviderListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProviderList not implemented") } func (*UnimplementedSmartSiteGovernmentServer) DeviceList(ctx context.Context, req *v1.DeviceListRequest) (*v1.DeviceListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeviceList not implemented") } func (*UnimplementedSmartSiteGovernmentServer) ProviderApprove(ctx context.Context, req *v1.ProviderApproveRequest) (*v1.ProviderApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProviderApprove not implemented") } func (*UnimplementedSmartSiteGovernmentServer) Login(ctx context.Context, req *v1.LoginRequest) (*v1.LoginReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Login not implemented") } func (*UnimplementedSmartSiteGovernmentServer) EmailPrepare(ctx context.Context, req *v1.EmailPrepareRequest) (*v1.EmailPrepareReply, error) { return nil, status.Errorf(codes.Unimplemented, "method EmailPrepare not implemented") } func (*UnimplementedSmartSiteGovernmentServer) EmailUpdate(ctx context.Context, req *v1.EmailUpdateRequest) (*v1.EmailUpdateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method EmailUpdate not implemented") } func (*UnimplementedSmartSiteGovernmentServer) PhoneUpdate(ctx context.Context, req *v1.PhoneUpdateRequest) (*v1.PhoneUpdateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method PhoneUpdate not implemented") } func (*UnimplementedSmartSiteGovernmentServer) UserInfo(ctx context.Context, req *v1.UserInfoRequest) (*v1.UserInfoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method UserInfo not implemented") } func (*UnimplementedSmartSiteGovernmentServer) DockingApprove(ctx context.Context, req *v1.DockingApproveRequest) (*v1.DockingApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DockingApprove not implemented") } func (*UnimplementedSmartSiteGovernmentServer) CompanyList(ctx context.Context, req *v1.CompanyListRequest) (*v1.CompanyListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CompanyList not implemented") } func (*UnimplementedSmartSiteGovernmentServer) ProjectList(ctx context.Context, req *v1.ProjectListRequest) (*v1.ProjectListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectList not implemented") } func (*UnimplementedSmartSiteGovernmentServer) ProjectChangeInfoList(ctx context.Context, req *v1.ProjectChangeInfoListRequest) (*v1.ProjectChangeInfoListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectChangeInfoList not implemented") } func (*UnimplementedSmartSiteGovernmentServer) CompanyApprove(ctx context.Context, req *v1.CompanyApproveRequest) (*v1.CompanyApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CompanyApprove not implemented") } func (*UnimplementedSmartSiteGovernmentServer) DeviceDelJobList(ctx context.Context, req *v1.DeviceDelJobListRequest) (*v1.DeviceDelJobListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeviceDelJobList not implemented") } func (*UnimplementedSmartSiteGovernmentServer) ChannelList(ctx context.Context, req *v1.ChannelListRequest) (*v1.ChannelListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ChannelList not implemented") } func (*UnimplementedSmartSiteGovernmentServer) VedioList(ctx context.Context, req *v1.VedioListRequest) (*v1.VedioListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method VedioList not implemented") } func (*UnimplementedSmartSiteGovernmentServer) ChangePasswd(ctx context.Context, req *v1.ChangePasswdRequest) (*v1.ChangePasswdReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ChangePasswd not implemented") } func (*UnimplementedSmartSiteGovernmentServer) SetPhone(ctx context.Context, req *v1.SetPhoneRequest) (*v1.SetPhoneReply, error) { return nil, status.Errorf(codes.Unimplemented, "method SetPhone not implemented") } func (*UnimplementedSmartSiteGovernmentServer) GetPhone(ctx context.Context, req *v1.GetPhoneRequest) (*v1.GetPhoneReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPhone not implemented") } func (*UnimplementedSmartSiteGovernmentServer) SetPasswd(ctx context.Context, req *v1.SetPasswdRequest) (*v1.SetPasswdReply, error) { return nil, status.Errorf(codes.Unimplemented, "method SetPasswd not implemented") } func (*UnimplementedSmartSiteGovernmentServer) DeviceStatistic(ctx context.Context, req *v1.DeviceStatisticRequest) (*v1.DeviceStatisticReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeviceStatistic not implemented") } func (*UnimplementedSmartSiteGovernmentServer) DeviceTypeStatistic(ctx context.Context, req *v1.DeviceTypeStatisticRequest) (*v1.DeviceTypeStatisticReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DeviceTypeStatistic not implemented") } func (*UnimplementedSmartSiteGovernmentServer) ProjectStatistic(ctx context.Context, req *v1.ProjectStatisticRequest) (*v1.ProjectStatisticReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectStatistic not implemented") } func (*UnimplementedSmartSiteGovernmentServer) ProjectTypeStatistic(ctx context.Context, req *v1.ProjectTypeStatisticRequest) (*v1.ProjectTypeStatisticReply, error) { return nil, status.Errorf(codes.Unimplemented, "method ProjectTypeStatistic not implemented") } func (*UnimplementedSmartSiteGovernmentServer) StaffStatistic(ctx context.Context, req *v1.StaffStatisticRequest) (*v1.StaffStatisticReply, error) { return nil, status.Errorf(codes.Unimplemented, "method StaffStatistic not implemented") } func (*UnimplementedSmartSiteGovernmentServer) CompanyStatistic(ctx context.Context, req *v1.CompanyStatisticRequest) (*v1.CompanyStatisticReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CompanyStatistic not implemented") } func (*UnimplementedSmartSiteGovernmentServer) AlarmList(ctx context.Context, req *v1.AlarmListRequest) (*v1.AlarmListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method AlarmList not implemented") } func (*UnimplementedSmartSiteGovernmentServer) AlarmHandle(ctx context.Context, req *v1.AlarmHandleRequest) (*v1.AlarmHandleReply, error) { return nil, status.Errorf(codes.Unimplemented, "method AlarmHandle not implemented") } func (*UnimplementedSmartSiteGovernmentServer) DustAqi(ctx context.Context, req *v1.DustAqiRequest) (*v1.DustAqiReply, error) { return nil, status.Errorf(codes.Unimplemented, "method DustAqi not implemented") } func (*UnimplementedSmartSiteGovernmentServer) LatestDustMonitorData(ctx context.Context, req *v1.LatestDustMonitorDataRequest) (*v1.LatestDustMonitorDataReply, error) { return nil, status.Errorf(codes.Unimplemented, "method LatestDustMonitorData not implemented") } func (*UnimplementedSmartSiteGovernmentServer) AlarmProject(ctx context.Context, req *v1.AlarmProjectRequest) (*v1.AlarmProjectReply, error) { return nil, status.Errorf(codes.Unimplemented, "method AlarmProject not implemented") } func (*UnimplementedSmartSiteGovernmentServer) AlarmReasonStatistic(ctx context.Context, req *v1.AlarmReasonStatisticRequest) (*v1.AlarmReasonStatisticReply, error) { return nil, status.Errorf(codes.Unimplemented, "method AlarmReasonStatistic not implemented") } func (*UnimplementedSmartSiteGovernmentServer) AlarmDeviceStatistic(ctx context.Context, req *v1.AlarmDeviceStatisticRequest) (*v1.AlarmDeviceStatisticReply, error) { return nil, status.Errorf(codes.Unimplemented, "method AlarmDeviceStatistic not implemented") } func (*UnimplementedSmartSiteGovernmentServer) AlarmIncreaseStatistic(ctx context.Context, req *v1.AlarmIncreaseStatisticRequest) (*v1.AlarmIncreaseStatisticReply, error) { return nil, status.Errorf(codes.Unimplemented, "method AlarmIncreaseStatistic not implemented") } func (*UnimplementedSmartSiteGovernmentServer) AlarmPercentStatistic(ctx context.Context, req *v1.AlarmPercentStatisticRequest) (*v1.AlarmPercentStatisticReply, error) { return nil, status.Errorf(codes.Unimplemented, "method AlarmPercentStatistic not implemented") } func (*UnimplementedSmartSiteGovernmentServer) StaffTypeStatistics(ctx context.Context, req *v1.StaffTypeStatisticsRequest) (*v1.StaffTypeStatisticsReply, error) { return nil, status.Errorf(codes.Unimplemented, "method StaffTypeStatistics not implemented") } func (*UnimplementedSmartSiteGovernmentServer) LaborCompanyStatistics(ctx context.Context, req *v1.LaborCompanyStatisticsRequest) (*v1.LaborCompanyStatisticsReply, error) { return nil, status.Errorf(codes.Unimplemented, "method LaborCompanyStatistics not implemented") } func (*UnimplementedSmartSiteGovernmentServer) StaffWorkTypeStatistics(ctx context.Context, req *v1.StaffWorkTypeStatisticsRequest) (*v1.StaffWorkTypeStatisticsReply, error) { return nil, status.Errorf(codes.Unimplemented, "method StaffWorkTypeStatistics not implemented") } func (*UnimplementedSmartSiteGovernmentServer) LatestTowerMonitorData(ctx context.Context, req *v1.LatestTowerMonitorDataRequest) (*v1.LatestTowerMonitorDataReply, error) { return nil, status.Errorf(codes.Unimplemented, "method LatestTowerMonitorData not implemented") } func RegisterSmartSiteGovernmentServer(s *grpc.Server, srv SmartSiteGovernmentServer) { s.RegisterService(&_SmartSiteGovernment_serviceDesc, srv) } func _SmartSiteGovernment_DeviceTypeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DeviceTypeListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).DeviceTypeList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/DeviceTypeList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).DeviceTypeList(ctx, req.(*v1.DeviceTypeListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_DeviceAllTypeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DeviceAllTypeListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).DeviceAllTypeList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/DeviceAllTypeList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).DeviceAllTypeList(ctx, req.(*v1.DeviceAllTypeListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_Publicity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.PublicityRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).Publicity(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/Publicity", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).Publicity(ctx, req.(*v1.PublicityRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_ProviderList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProviderListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).ProviderList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/ProviderList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).ProviderList(ctx, req.(*v1.ProviderListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).DeviceList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/DeviceList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).DeviceList(ctx, req.(*v1.DeviceListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_ProviderApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProviderApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).ProviderApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/ProviderApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).ProviderApprove(ctx, req.(*v1.ProviderApproveRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).Login(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/Login", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).Login(ctx, req.(*v1.LoginRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).EmailPrepare(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/EmailPrepare", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).EmailPrepare(ctx, req.(*v1.EmailPrepareRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).EmailUpdate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/EmailUpdate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).EmailUpdate(ctx, req.(*v1.EmailUpdateRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).PhoneUpdate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/PhoneUpdate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).PhoneUpdate(ctx, req.(*v1.PhoneUpdateRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).UserInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/UserInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).UserInfo(ctx, req.(*v1.UserInfoRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_DockingApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DockingApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).DockingApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/DockingApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).DockingApprove(ctx, req.(*v1.DockingApproveRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_CompanyList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.CompanyListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).CompanyList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/CompanyList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).CompanyList(ctx, req.(*v1.CompanyListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_ProjectList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProjectListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).ProjectList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/ProjectList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).ProjectList(ctx, req.(*v1.ProjectListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).ProjectChangeInfoList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/ProjectChangeInfoList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).ProjectChangeInfoList(ctx, req.(*v1.ProjectChangeInfoListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_CompanyApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.CompanyApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).CompanyApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/CompanyApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).CompanyApprove(ctx, req.(*v1.CompanyApproveRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_DeviceDelJobList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DeviceDelJobListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).DeviceDelJobList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/DeviceDelJobList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).DeviceDelJobList(ctx, req.(*v1.DeviceDelJobListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).ChannelList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/ChannelList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).ChannelList(ctx, req.(*v1.ChannelListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).VedioList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/VedioList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).VedioList(ctx, req.(*v1.VedioListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).ChangePasswd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/ChangePasswd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).ChangePasswd(ctx, req.(*v1.ChangePasswdRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_SetPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.SetPhoneRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).SetPhone(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/SetPhone", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).SetPhone(ctx, req.(*v1.SetPhoneRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_GetPhone_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GetPhoneRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).GetPhone(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/GetPhone", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).GetPhone(ctx, req.(*v1.GetPhoneRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_SetPasswd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.SetPasswdRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).SetPasswd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/SetPasswd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).SetPasswd(ctx, req.(*v1.SetPasswdRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_DeviceStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DeviceStatisticRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).DeviceStatistic(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/DeviceStatistic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).DeviceStatistic(ctx, req.(*v1.DeviceStatisticRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_DeviceTypeStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.DeviceTypeStatisticRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).DeviceTypeStatistic(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/DeviceTypeStatistic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).DeviceTypeStatistic(ctx, req.(*v1.DeviceTypeStatisticRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_ProjectStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProjectStatisticRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).ProjectStatistic(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/ProjectStatistic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).ProjectStatistic(ctx, req.(*v1.ProjectStatisticRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_ProjectTypeStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.ProjectTypeStatisticRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).ProjectTypeStatistic(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/ProjectTypeStatistic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).ProjectTypeStatistic(ctx, req.(*v1.ProjectTypeStatisticRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_StaffStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.StaffStatisticRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).StaffStatistic(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/StaffStatistic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).StaffStatistic(ctx, req.(*v1.StaffStatisticRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_CompanyStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.CompanyStatisticRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).CompanyStatistic(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/CompanyStatistic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).CompanyStatistic(ctx, req.(*v1.CompanyStatisticRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).AlarmList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/AlarmList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).AlarmList(ctx, req.(*v1.AlarmListRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_AlarmHandle_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.AlarmHandleRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).AlarmHandle(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/AlarmHandle", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).AlarmHandle(ctx, req.(*v1.AlarmHandleRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).DustAqi(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/DustAqi", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).DustAqi(ctx, req.(*v1.DustAqiRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).LatestDustMonitorData(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/LatestDustMonitorData", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).LatestDustMonitorData(ctx, req.(*v1.LatestDustMonitorDataRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_AlarmProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.AlarmProjectRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).AlarmProject(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/AlarmProject", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).AlarmProject(ctx, req.(*v1.AlarmProjectRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_AlarmReasonStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.AlarmReasonStatisticRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).AlarmReasonStatistic(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/AlarmReasonStatistic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).AlarmReasonStatistic(ctx, req.(*v1.AlarmReasonStatisticRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_AlarmDeviceStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.AlarmDeviceStatisticRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).AlarmDeviceStatistic(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/AlarmDeviceStatistic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).AlarmDeviceStatistic(ctx, req.(*v1.AlarmDeviceStatisticRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_AlarmIncreaseStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.AlarmIncreaseStatisticRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).AlarmIncreaseStatistic(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/AlarmIncreaseStatistic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).AlarmIncreaseStatistic(ctx, req.(*v1.AlarmIncreaseStatisticRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_AlarmPercentStatistic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.AlarmPercentStatisticRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(SmartSiteGovernmentServer).AlarmPercentStatistic(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/AlarmPercentStatistic", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).AlarmPercentStatistic(ctx, req.(*v1.AlarmPercentStatisticRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).StaffTypeStatistics(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/StaffTypeStatistics", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).StaffTypeStatistics(ctx, req.(*v1.StaffTypeStatisticsRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).LaborCompanyStatistics(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/LaborCompanyStatistics", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).LaborCompanyStatistics(ctx, req.(*v1.LaborCompanyStatisticsRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).StaffWorkTypeStatistics(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/StaffWorkTypeStatistics", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).StaffWorkTypeStatistics(ctx, req.(*v1.StaffWorkTypeStatisticsRequest)) } return interceptor(ctx, in, info, handler) } func _SmartSiteGovernment_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.(SmartSiteGovernmentServer).LatestTowerMonitorData(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.SmartSiteGovernment/LatestTowerMonitorData", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(SmartSiteGovernmentServer).LatestTowerMonitorData(ctx, req.(*v1.LatestTowerMonitorDataRequest)) } return interceptor(ctx, in, info, handler) } var _SmartSiteGovernment_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.SmartSiteGovernment", HandlerType: (*SmartSiteGovernmentServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DeviceTypeList", Handler: _SmartSiteGovernment_DeviceTypeList_Handler, }, { MethodName: "DeviceAllTypeList", Handler: _SmartSiteGovernment_DeviceAllTypeList_Handler, }, { MethodName: "Publicity", Handler: _SmartSiteGovernment_Publicity_Handler, }, { MethodName: "ProviderList", Handler: _SmartSiteGovernment_ProviderList_Handler, }, { MethodName: "DeviceList", Handler: _SmartSiteGovernment_DeviceList_Handler, }, { MethodName: "ProviderApprove", Handler: _SmartSiteGovernment_ProviderApprove_Handler, }, { MethodName: "Login", Handler: _SmartSiteGovernment_Login_Handler, }, { MethodName: "EmailPrepare", Handler: _SmartSiteGovernment_EmailPrepare_Handler, }, { MethodName: "EmailUpdate", Handler: _SmartSiteGovernment_EmailUpdate_Handler, }, { MethodName: "PhoneUpdate", Handler: _SmartSiteGovernment_PhoneUpdate_Handler, }, { MethodName: "UserInfo", Handler: _SmartSiteGovernment_UserInfo_Handler, }, { MethodName: "DockingApprove", Handler: _SmartSiteGovernment_DockingApprove_Handler, }, { MethodName: "CompanyList", Handler: _SmartSiteGovernment_CompanyList_Handler, }, { MethodName: "ProjectList", Handler: _SmartSiteGovernment_ProjectList_Handler, }, { MethodName: "ProjectChangeInfoList", Handler: _SmartSiteGovernment_ProjectChangeInfoList_Handler, }, { MethodName: "CompanyApprove", Handler: _SmartSiteGovernment_CompanyApprove_Handler, }, { MethodName: "DeviceDelJobList", Handler: _SmartSiteGovernment_DeviceDelJobList_Handler, }, { MethodName: "ChannelList", Handler: _SmartSiteGovernment_ChannelList_Handler, }, { MethodName: "VedioList", Handler: _SmartSiteGovernment_VedioList_Handler, }, { MethodName: "ChangePasswd", Handler: _SmartSiteGovernment_ChangePasswd_Handler, }, { MethodName: "SetPhone", Handler: _SmartSiteGovernment_SetPhone_Handler, }, { MethodName: "GetPhone", Handler: _SmartSiteGovernment_GetPhone_Handler, }, { MethodName: "SetPasswd", Handler: _SmartSiteGovernment_SetPasswd_Handler, }, { MethodName: "DeviceStatistic", Handler: _SmartSiteGovernment_DeviceStatistic_Handler, }, { MethodName: "DeviceTypeStatistic", Handler: _SmartSiteGovernment_DeviceTypeStatistic_Handler, }, { MethodName: "ProjectStatistic", Handler: _SmartSiteGovernment_ProjectStatistic_Handler, }, { MethodName: "ProjectTypeStatistic", Handler: _SmartSiteGovernment_ProjectTypeStatistic_Handler, }, { MethodName: "StaffStatistic", Handler: _SmartSiteGovernment_StaffStatistic_Handler, }, { MethodName: "CompanyStatistic", Handler: _SmartSiteGovernment_CompanyStatistic_Handler, }, { MethodName: "AlarmList", Handler: _SmartSiteGovernment_AlarmList_Handler, }, { MethodName: "AlarmHandle", Handler: _SmartSiteGovernment_AlarmHandle_Handler, }, { MethodName: "DustAqi", Handler: _SmartSiteGovernment_DustAqi_Handler, }, { MethodName: "LatestDustMonitorData", Handler: _SmartSiteGovernment_LatestDustMonitorData_Handler, }, { MethodName: "AlarmProject", Handler: _SmartSiteGovernment_AlarmProject_Handler, }, { MethodName: "AlarmReasonStatistic", Handler: _SmartSiteGovernment_AlarmReasonStatistic_Handler, }, { MethodName: "AlarmDeviceStatistic", Handler: _SmartSiteGovernment_AlarmDeviceStatistic_Handler, }, { MethodName: "AlarmIncreaseStatistic", Handler: _SmartSiteGovernment_AlarmIncreaseStatistic_Handler, }, { MethodName: "AlarmPercentStatistic", Handler: _SmartSiteGovernment_AlarmPercentStatistic_Handler, }, { MethodName: "StaffTypeStatistics", Handler: _SmartSiteGovernment_StaffTypeStatistics_Handler, }, { MethodName: "LaborCompanyStatistics", Handler: _SmartSiteGovernment_LaborCompanyStatistics_Handler, }, { MethodName: "StaffWorkTypeStatistics", Handler: _SmartSiteGovernment_StaffWorkTypeStatistics_Handler, }, { MethodName: "LatestTowerMonitorData", Handler: _SmartSiteGovernment_LatestTowerMonitorData_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "goverment_management.proto", }