Documentation ¶
Index ¶
- type DeviceManageServer
- func (s *DeviceManageServer) DeviceCount(ctx context.Context, in *dm.DeviceCountReq) (*dm.DeviceCountResp, error)
- func (s *DeviceManageServer) DeviceGatewayIndex(ctx context.Context, in *dm.DeviceGatewayIndexReq) (*dm.DeviceGatewayIndexResp, error)
- func (s *DeviceManageServer) DeviceGatewayMultiCreate(ctx context.Context, in *dm.DeviceGatewayMultiCreateReq) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceGatewayMultiDelete(ctx context.Context, in *dm.DeviceGatewayMultiSaveReq) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceGatewayMultiUpdate(ctx context.Context, in *dm.DeviceGatewayMultiSaveReq) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceInfoBind(ctx context.Context, in *dm.DeviceInfoBindReq) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceInfoCanBind(ctx context.Context, in *dm.DeviceInfoCanBindReq) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceInfoCount(ctx context.Context, in *dm.DeviceInfoCountReq) (*dm.DeviceInfoCount, error)
- func (s *DeviceManageServer) DeviceInfoCreate(ctx context.Context, in *dm.DeviceInfo) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceInfoDelete(ctx context.Context, in *dm.DeviceInfoDeleteReq) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceInfoIndex(ctx context.Context, in *dm.DeviceInfoIndexReq) (*dm.DeviceInfoIndexResp, error)
- func (s *DeviceManageServer) DeviceInfoMultiBind(ctx context.Context, in *dm.DeviceInfoMultiBindReq) (*dm.DeviceInfoMultiBindResp, error)
- func (s *DeviceManageServer) DeviceInfoMultiUpdate(ctx context.Context, in *dm.DeviceInfoMultiUpdateReq) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceInfoRead(ctx context.Context, in *dm.DeviceInfoReadReq) (*dm.DeviceInfo, error)
- func (s *DeviceManageServer) DeviceInfoUnbind(ctx context.Context, in *dm.DeviceCore) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceInfoUpdate(ctx context.Context, in *dm.DeviceInfo) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceModuleVersionIndex(ctx context.Context, in *dm.DeviceModuleVersionIndexReq) (*dm.DeviceModuleVersionIndexResp, error)
- func (s *DeviceManageServer) DeviceModuleVersionRead(ctx context.Context, in *dm.DeviceModuleVersionReadReq) (*dm.DeviceModuleVersion, error)
- func (s *DeviceManageServer) DeviceMove(ctx context.Context, in *dm.DeviceMoveReq) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceOnlineMultiFix(ctx context.Context, in *dm.DeviceOnlineMultiFixReq) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceProfileDelete(ctx context.Context, in *dm.DeviceProfileReadReq) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceProfileIndex(ctx context.Context, in *dm.DeviceProfileIndexReq) (*dm.DeviceProfileIndexResp, error)
- func (s *DeviceManageServer) DeviceProfileRead(ctx context.Context, in *dm.DeviceProfileReadReq) (*dm.DeviceProfile, error)
- func (s *DeviceManageServer) DeviceProfileUpdate(ctx context.Context, in *dm.DeviceProfile) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceTransfer(ctx context.Context, in *dm.DeviceTransferReq) (*dm.Empty, error)
- func (s *DeviceManageServer) DeviceTypeCount(ctx context.Context, in *dm.DeviceTypeCountReq) (*dm.DeviceTypeCountResp, error)
- func (s *DeviceManageServer) RootCheck(ctx context.Context, in *dm.RootCheckReq) (*dm.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceManageServer ¶
type DeviceManageServer struct { dm.UnimplementedDeviceManageServer // contains filtered or unexported fields }
func NewDeviceManageServer ¶
func NewDeviceManageServer(svcCtx *svc.ServiceContext) *DeviceManageServer
func (*DeviceManageServer) DeviceCount ¶
func (s *DeviceManageServer) DeviceCount(ctx context.Context, in *dm.DeviceCountReq) (*dm.DeviceCountResp, error)
func (*DeviceManageServer) DeviceGatewayIndex ¶
func (s *DeviceManageServer) DeviceGatewayIndex(ctx context.Context, in *dm.DeviceGatewayIndexReq) (*dm.DeviceGatewayIndexResp, error)
获取绑定信息的设备信息列表
func (*DeviceManageServer) DeviceGatewayMultiCreate ¶
func (s *DeviceManageServer) DeviceGatewayMultiCreate(ctx context.Context, in *dm.DeviceGatewayMultiCreateReq) (*dm.Empty, error)
绑定网关下子设备设备
func (*DeviceManageServer) DeviceGatewayMultiDelete ¶
func (s *DeviceManageServer) DeviceGatewayMultiDelete(ctx context.Context, in *dm.DeviceGatewayMultiSaveReq) (*dm.Empty, error)
删除网关下子设备
func (*DeviceManageServer) DeviceGatewayMultiUpdate ¶
func (s *DeviceManageServer) DeviceGatewayMultiUpdate(ctx context.Context, in *dm.DeviceGatewayMultiSaveReq) (*dm.Empty, error)
绑定网关下子设备设备
func (*DeviceManageServer) DeviceInfoBind ¶
func (s *DeviceManageServer) DeviceInfoBind(ctx context.Context, in *dm.DeviceInfoBindReq) (*dm.Empty, error)
func (*DeviceManageServer) DeviceInfoCanBind ¶
func (s *DeviceManageServer) DeviceInfoCanBind(ctx context.Context, in *dm.DeviceInfoCanBindReq) (*dm.Empty, error)
func (*DeviceManageServer) DeviceInfoCount ¶
func (s *DeviceManageServer) DeviceInfoCount(ctx context.Context, in *dm.DeviceInfoCountReq) (*dm.DeviceInfoCount, error)
设备计数
func (*DeviceManageServer) DeviceInfoCreate ¶
func (s *DeviceManageServer) DeviceInfoCreate(ctx context.Context, in *dm.DeviceInfo) (*dm.Empty, error)
新增设备
func (*DeviceManageServer) DeviceInfoDelete ¶
func (s *DeviceManageServer) DeviceInfoDelete(ctx context.Context, in *dm.DeviceInfoDeleteReq) (*dm.Empty, error)
删除设备
func (*DeviceManageServer) DeviceInfoIndex ¶
func (s *DeviceManageServer) DeviceInfoIndex(ctx context.Context, in *dm.DeviceInfoIndexReq) (*dm.DeviceInfoIndexResp, error)
获取设备信息列表
func (*DeviceManageServer) DeviceInfoMultiBind ¶
func (s *DeviceManageServer) DeviceInfoMultiBind(ctx context.Context, in *dm.DeviceInfoMultiBindReq) (*dm.DeviceInfoMultiBindResp, error)
func (*DeviceManageServer) DeviceInfoMultiUpdate ¶
func (s *DeviceManageServer) DeviceInfoMultiUpdate(ctx context.Context, in *dm.DeviceInfoMultiUpdateReq) (*dm.Empty, error)
批量更新设备状态
func (*DeviceManageServer) DeviceInfoRead ¶
func (s *DeviceManageServer) DeviceInfoRead(ctx context.Context, in *dm.DeviceInfoReadReq) (*dm.DeviceInfo, error)
获取设备信息详情
func (*DeviceManageServer) DeviceInfoUnbind ¶
func (s *DeviceManageServer) DeviceInfoUnbind(ctx context.Context, in *dm.DeviceCore) (*dm.Empty, error)
func (*DeviceManageServer) DeviceInfoUpdate ¶
func (s *DeviceManageServer) DeviceInfoUpdate(ctx context.Context, in *dm.DeviceInfo) (*dm.Empty, error)
更新设备
func (*DeviceManageServer) DeviceModuleVersionIndex ¶
func (s *DeviceManageServer) DeviceModuleVersionIndex(ctx context.Context, in *dm.DeviceModuleVersionIndexReq) (*dm.DeviceModuleVersionIndexResp, error)
func (*DeviceManageServer) DeviceModuleVersionRead ¶
func (s *DeviceManageServer) DeviceModuleVersionRead(ctx context.Context, in *dm.DeviceModuleVersionReadReq) (*dm.DeviceModuleVersion, error)
func (*DeviceManageServer) DeviceMove ¶
func (s *DeviceManageServer) DeviceMove(ctx context.Context, in *dm.DeviceMoveReq) (*dm.Empty, error)
func (*DeviceManageServer) DeviceOnlineMultiFix ¶
func (s *DeviceManageServer) DeviceOnlineMultiFix(ctx context.Context, in *dm.DeviceOnlineMultiFixReq) (*dm.Empty, error)
func (*DeviceManageServer) DeviceProfileDelete ¶
func (s *DeviceManageServer) DeviceProfileDelete(ctx context.Context, in *dm.DeviceProfileReadReq) (*dm.Empty, error)
func (*DeviceManageServer) DeviceProfileIndex ¶
func (s *DeviceManageServer) DeviceProfileIndex(ctx context.Context, in *dm.DeviceProfileIndexReq) (*dm.DeviceProfileIndexResp, error)
func (*DeviceManageServer) DeviceProfileRead ¶
func (s *DeviceManageServer) DeviceProfileRead(ctx context.Context, in *dm.DeviceProfileReadReq) (*dm.DeviceProfile, error)
func (*DeviceManageServer) DeviceProfileUpdate ¶
func (s *DeviceManageServer) DeviceProfileUpdate(ctx context.Context, in *dm.DeviceProfile) (*dm.Empty, error)
func (*DeviceManageServer) DeviceTransfer ¶
func (s *DeviceManageServer) DeviceTransfer(ctx context.Context, in *dm.DeviceTransferReq) (*dm.Empty, error)
func (*DeviceManageServer) DeviceTypeCount ¶
func (s *DeviceManageServer) DeviceTypeCount(ctx context.Context, in *dm.DeviceTypeCountReq) (*dm.DeviceTypeCountResp, error)
设备类型
func (*DeviceManageServer) RootCheck ¶
func (s *DeviceManageServer) RootCheck(ctx context.Context, in *dm.RootCheckReq) (*dm.Empty, error)
鉴定是否是root账号(提供给mqtt broker)
Click to show internal directories.
Click to hide internal directories.