server

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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) DeviceGatewayIndex added in v0.3.0

获取绑定信息的设备信息列表

func (*DeviceManageServer) DeviceGatewayMultiCreate added in v0.3.0

func (s *DeviceManageServer) DeviceGatewayMultiCreate(ctx context.Context, in *dm.DeviceGatewayMultiCreateReq) (*dm.Response, error)

绑定网关下子设备设备

func (*DeviceManageServer) DeviceGatewayMultiDelete added in v0.3.0

func (s *DeviceManageServer) DeviceGatewayMultiDelete(ctx context.Context, in *dm.DeviceGatewayMultiDeleteReq) (*dm.Response, error)

删除网关下子设备

func (*DeviceManageServer) DeviceInfoCount added in v0.3.0

设备计数

func (*DeviceManageServer) DeviceInfoCreate

func (s *DeviceManageServer) DeviceInfoCreate(ctx context.Context, in *dm.DeviceInfo) (*dm.Response, error)

新增设备

func (*DeviceManageServer) DeviceInfoDelete

func (s *DeviceManageServer) DeviceInfoDelete(ctx context.Context, in *dm.DeviceInfoDeleteReq) (*dm.Response, error)

删除设备

func (*DeviceManageServer) DeviceInfoIndex

获取设备信息列表

func (*DeviceManageServer) DeviceInfoRead

func (s *DeviceManageServer) DeviceInfoRead(ctx context.Context, in *dm.DeviceInfoReadReq) (*dm.DeviceInfo, error)

获取设备信息详情

func (*DeviceManageServer) DeviceInfoUpdate

func (s *DeviceManageServer) DeviceInfoUpdate(ctx context.Context, in *dm.DeviceInfo) (*dm.Response, error)

更新设备

func (*DeviceManageServer) DeviceTypeCount added in v0.3.0

设备类型

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL