Documentation ¶
Index ¶
- type DeviceGroupServer
- func (s *DeviceGroupServer) GroupDeviceIndex(ctx context.Context, in *dm.GroupDeviceIndexReq) (*dm.GroupDeviceIndexResp, error)
- func (s *DeviceGroupServer) GroupDeviceMultiCreate(ctx context.Context, in *dm.GroupDeviceMultiSaveReq) (*dm.Empty, error)
- func (s *DeviceGroupServer) GroupDeviceMultiDelete(ctx context.Context, in *dm.GroupDeviceMultiDeleteReq) (*dm.Empty, error)
- func (s *DeviceGroupServer) GroupDeviceMultiUpdate(ctx context.Context, in *dm.GroupDeviceMultiSaveReq) (*dm.Empty, error)
- func (s *DeviceGroupServer) GroupInfoCreate(ctx context.Context, in *dm.GroupInfo) (*dm.WithID, error)
- func (s *DeviceGroupServer) GroupInfoDelete(ctx context.Context, in *dm.WithID) (*dm.Empty, error)
- func (s *DeviceGroupServer) GroupInfoIndex(ctx context.Context, in *dm.GroupInfoIndexReq) (*dm.GroupInfoIndexResp, error)
- func (s *DeviceGroupServer) GroupInfoRead(ctx context.Context, in *dm.WithIDChildren) (*dm.GroupInfo, error)
- func (s *DeviceGroupServer) GroupInfoUpdate(ctx context.Context, in *dm.GroupInfo) (*dm.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceGroupServer ¶
type DeviceGroupServer struct { dm.UnimplementedDeviceGroupServer // contains filtered or unexported fields }
func NewDeviceGroupServer ¶
func NewDeviceGroupServer(svcCtx *svc.ServiceContext) *DeviceGroupServer
func (*DeviceGroupServer) GroupDeviceIndex ¶
func (s *DeviceGroupServer) GroupDeviceIndex(ctx context.Context, in *dm.GroupDeviceIndexReq) (*dm.GroupDeviceIndexResp, error)
获取分组设备信息列表
func (*DeviceGroupServer) GroupDeviceMultiCreate ¶
func (s *DeviceGroupServer) GroupDeviceMultiCreate(ctx context.Context, in *dm.GroupDeviceMultiSaveReq) (*dm.Empty, error)
创建分组设备
func (*DeviceGroupServer) GroupDeviceMultiDelete ¶
func (s *DeviceGroupServer) GroupDeviceMultiDelete(ctx context.Context, in *dm.GroupDeviceMultiDeleteReq) (*dm.Empty, error)
删除分组设备
func (*DeviceGroupServer) GroupDeviceMultiUpdate ¶
func (s *DeviceGroupServer) GroupDeviceMultiUpdate(ctx context.Context, in *dm.GroupDeviceMultiSaveReq) (*dm.Empty, error)
更新分组设备
func (*DeviceGroupServer) GroupInfoCreate ¶
func (s *DeviceGroupServer) GroupInfoCreate(ctx context.Context, in *dm.GroupInfo) (*dm.WithID, error)
创建分组
func (*DeviceGroupServer) GroupInfoDelete ¶
删除分组
func (*DeviceGroupServer) GroupInfoIndex ¶
func (s *DeviceGroupServer) GroupInfoIndex(ctx context.Context, in *dm.GroupInfoIndexReq) (*dm.GroupInfoIndexResp, error)
获取分组信息列表
func (*DeviceGroupServer) GroupInfoRead ¶
func (s *DeviceGroupServer) GroupInfoRead(ctx context.Context, in *dm.WithIDChildren) (*dm.GroupInfo, error)
获取分组信息详情
func (*DeviceGroupServer) GroupInfoUpdate ¶
func (s *DeviceGroupServer) GroupInfoUpdate(ctx context.Context, in *dm.GroupInfo) (*dm.Empty, error)
更新分组
Click to show internal directories.
Click to hide internal directories.