123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- syntax = "proto3";
- import "v1/supplier.proto";
- import "v1/device.proto";
- import "v1/user.proto";
- import "v1/company.proto";
- import "v1/alarm.proto";
- import "v1/dust.proto";
- import "v1/staff.proto";
- import "v1/tower.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb;
- // 用于生成指定语言go的包名称
- option go_package = "smart-government-management/pb";
- service SmartSiteGovernment {
- // 设备类型列表
- rpc DeviceTypeList(v1.DeviceTypeListRequest) returns (v1.DeviceTypeListReply) {}
- // 平台支持得设备类型
- rpc DeviceAllTypeList(v1.DeviceAllTypeListRequest) returns (v1.DeviceAllTypeListReply) {}
- // 公示列表
- rpc Publicity(v1.PublicityRequest) returns (v1.PublicityReply) {}
- // 供应商列表
- rpc ProviderList(v1.ProviderListRequest) returns (v1.ProviderListReply) {}
- // 设备
- rpc DeviceList(v1.DeviceListRequest) returns (v1.DeviceListReply) {}
- // 供应商注册审批,设备申报审批,设备拆机审批
- rpc ProviderApprove(v1.ProviderApproveRequest) returns (v1.ProviderApproveReply) {}
- // 登录
- rpc Login(v1.LoginRequest) returns (v1.LoginReply) {}
- rpc EmailPrepare(v1.EmailPrepareRequest) returns (v1.EmailPrepareReply) {}
- rpc EmailUpdate(v1.EmailUpdateRequest) returns (v1.EmailUpdateReply) {}
- rpc PhoneUpdate(v1.PhoneUpdateRequest) returns (v1.PhoneUpdateReply) {}
- rpc UserInfo(v1.UserInfoRequest) returns (v1.UserInfoReply) {}
- // 设备对接测试审批,开发者调用
- rpc DockingApprove(v1.DockingApproveRequest) returns (v1.DockingApproveReply) {}
- // 企业列表
- rpc CompanyList(v1.CompanyListRequest) returns (v1.CompanyListReply) {}
- // 项目列表
- rpc ProjectList(v1.ProjectListRequest) returns (v1.ProjectListReply) {}
- // 项目变更申报列表
- rpc ProjectChangeInfoList(v1.ProjectChangeInfoListRequest) returns (v1.ProjectChangeInfoListReply) {}
- // 公司注册审批,项目添加审批,项目变更审批
- rpc CompanyApprove(v1.CompanyApproveRequest) returns (v1.CompanyApproveReply) {}
- // 拆机申请列表
- rpc DeviceDelJobList(v1.DeviceDelJobListRequest) returns (v1.DeviceDelJobListReply) {}
- rpc ChannelList(v1.ChannelListRequest) returns (v1.ChannelListReply) {}
- rpc VedioList(v1.VedioListRequest) returns (v1.VedioListReply) {}
- rpc ChangePasswd(v1.ChangePasswdRequest) returns (v1.ChangePasswdReply) {}
- rpc SetPhone(v1.SetPhoneRequest) returns (v1.SetPhoneReply) {}
- rpc GetPhone(v1.GetPhoneRequest) returns (v1.GetPhoneReply) {}
- rpc SetPasswd(v1.SetPasswdRequest) returns (v1.SetPasswdReply) {}
- rpc DeviceStatistic(v1.DeviceStatisticRequest) returns (v1.DeviceStatisticReply) {}
- rpc DeviceTypeStatistic(v1.DeviceTypeStatisticRequest) returns (v1.DeviceTypeStatisticReply) {}
- rpc ProjectStatistic(v1.ProjectStatisticRequest) returns (v1.ProjectStatisticReply) {}
- rpc ProjectTypeStatistic(v1.ProjectTypeStatisticRequest) returns (v1.ProjectTypeStatisticReply) {}
- rpc StaffStatistic(v1.StaffStatisticRequest) returns (v1.StaffStatisticReply) {}
- rpc CompanyStatistic(v1.CompanyStatisticRequest) returns (v1.CompanyStatisticReply) {}
- rpc AlarmList(v1.AlarmListRequest) returns (v1.AlarmListReply) {}
- rpc AlarmHandle(v1.AlarmHandleRequest) returns (v1.AlarmHandleReply) {}
- rpc DustAqi(v1.DustAqiRequest) returns (v1.DustAqiReply) {}
- // 最近一次扬尘监控数据
- rpc LatestDustMonitorData(v1.LatestDustMonitorDataRequest) returns (v1.LatestDustMonitorDataReply) {}
- rpc AlarmProject(v1.AlarmProjectRequest) returns (v1.AlarmProjectReply) {}
- rpc AlarmReasonStatistic(v1.AlarmReasonStatisticRequest) returns (v1.AlarmReasonStatisticReply) {}
- rpc AlarmDeviceStatistic(v1.AlarmDeviceStatisticRequest) returns (v1.AlarmDeviceStatisticReply) {}
- rpc AlarmIncreaseStatistic(v1.AlarmIncreaseStatisticRequest) returns (v1.AlarmIncreaseStatisticReply) {}
- rpc AlarmPercentStatistic(v1.AlarmPercentStatisticRequest) returns (v1.AlarmPercentStatisticReply) {}
- rpc StaffTypeStatistics(v1.StaffTypeStatisticsRequest) returns (v1.StaffTypeStatisticsReply) {}
- rpc LaborCompanyStatistics(v1.LaborCompanyStatisticsRequest) returns (v1.LaborCompanyStatisticsReply) {}
- rpc StaffWorkTypeStatistics(v1.StaffWorkTypeStatisticsRequest) returns (v1.StaffWorkTypeStatisticsReply) {}
- rpc LatestTowerMonitorData(v1.LatestTowerMonitorDataRequest) returns (v1.LatestTowerMonitorDataReply) {}
- }
|