Documentation ¶
Index ¶
- type DeviceManageServer
- func (s *DeviceManageServer) DeviceGatewayIndex(ctx context.Context, in *dm.DeviceGatewayIndexReq) (*dm.DeviceGatewayIndexResp, error)
- func (s *DeviceManageServer) DeviceGatewayMultiCreate(ctx context.Context, in *dm.DeviceGatewayMultiCreateReq) (*dm.Response, error)
- func (s *DeviceManageServer) DeviceGatewayMultiDelete(ctx context.Context, in *dm.DeviceGatewayMultiDeleteReq) (*dm.Response, error)
- func (s *DeviceManageServer) DeviceInfoCount(ctx context.Context, in *dm.DeviceInfoCountReq) (*dm.DeviceInfoCountResp, error)
- func (s *DeviceManageServer) DeviceInfoCreate(ctx context.Context, in *dm.DeviceInfo) (*dm.Response, error)
- func (s *DeviceManageServer) DeviceInfoDelete(ctx context.Context, in *dm.DeviceInfoDeleteReq) (*dm.Response, error)
- func (s *DeviceManageServer) DeviceInfoIndex(ctx context.Context, in *dm.DeviceInfoIndexReq) (*dm.DeviceInfoIndexResp, error)
- func (s *DeviceManageServer) DeviceInfoRead(ctx context.Context, in *dm.DeviceInfoReadReq) (*dm.DeviceInfo, error)
- func (s *DeviceManageServer) DeviceInfoUpdate(ctx context.Context, in *dm.DeviceInfo) (*dm.Response, error)
- func (s *DeviceManageServer) DeviceTypeCount(ctx context.Context, in *dm.DeviceTypeCountReq) (*dm.DeviceTypeCountResp, 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) DeviceGatewayIndex ¶ added in v0.3.0
func (s *DeviceManageServer) DeviceGatewayIndex(ctx context.Context, in *dm.DeviceGatewayIndexReq) (*dm.DeviceGatewayIndexResp, error)
获取绑定信息的设备信息列表
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 (s *DeviceManageServer) DeviceInfoCount(ctx context.Context, in *dm.DeviceInfoCountReq) (*dm.DeviceInfoCountResp, error)
设备计数
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 (s *DeviceManageServer) DeviceInfoIndex(ctx context.Context, in *dm.DeviceInfoIndexReq) (*dm.DeviceInfoIndexResp, error)
获取设备信息列表
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
func (s *DeviceManageServer) DeviceTypeCount(ctx context.Context, in *dm.DeviceTypeCountReq) (*dm.DeviceTypeCountResp, error)
设备类型
Click to show internal directories.
Click to hide internal directories.