Documentation ¶
Index ¶
- func ToRpcDeviceInfo(req *types.DeviceInfo) *dm.DeviceInfo
- type AddGroup
- type BindLogic
- type CanBindLogic
- type CountLogic
- type CreateLogic
- type DeleteLogic
- type IndexLogic
- type MultiBindLogic
- type MultiImportLogic
- type MultiUpdateImportLogic
- type MultiUpdateLogic
- type ReadLogic
- type TransferLogic
- type UnbindLogic
- type UpdateLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToRpcDeviceInfo ¶
func ToRpcDeviceInfo(req *types.DeviceInfo) *dm.DeviceInfo
Types ¶
type BindLogic ¶
func NewBindLogic ¶
func NewBindLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BindLogic
type CanBindLogic ¶
func NewCanBindLogic ¶
func NewCanBindLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CanBindLogic
func (*CanBindLogic) CanBind ¶
func (l *CanBindLogic) CanBind(req *types.DeviceInfoCanBindReq) error
type CountLogic ¶
func NewCountLogic ¶
func NewCountLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CountLogic
func (*CountLogic) Count ¶
func (l *CountLogic) Count(req *types.DeviceCountReq) (resp *types.DeviceCountResp, err error)
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(req *types.DeviceInfo) error
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
func (*DeleteLogic) Delete ¶
func (l *DeleteLogic) Delete(req *types.DeviceInfoDeleteReq) error
type IndexLogic ¶
func NewIndexLogic ¶
func NewIndexLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IndexLogic
func (*IndexLogic) Index ¶
func (l *IndexLogic) Index(req *types.DeviceInfoIndexReq) (resp *types.DeviceInfoIndexResp, err error)
type MultiBindLogic ¶
func NewMultiBindLogic ¶
func NewMultiBindLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiBindLogic
func (*MultiBindLogic) MultiBind ¶
func (l *MultiBindLogic) MultiBind(req *types.DeviceInfoMultiBindReq) (resp *types.DeviceInfoMultiBindResp, err error)
type MultiImportLogic ¶
func NewMultiImportLogic ¶
func NewMultiImportLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiImportLogic
func (*MultiImportLogic) MultiImport ¶
func (l *MultiImportLogic) MultiImport(req *types.DeviceMultiImportReq, rows [][]string) (resp *types.DeviceMultiImportResp, err error)
type MultiUpdateImportLogic ¶ added in v1.1.0
func NewMultiUpdateImportLogic ¶ added in v1.1.0
func NewMultiUpdateImportLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiUpdateImportLogic
导入批量更新设备
func (*MultiUpdateImportLogic) MultiUpdateImport ¶ added in v1.1.0
func (l *MultiUpdateImportLogic) MultiUpdateImport(rows [][]string) (*types.DeviceMultiUpdateImportResp, error)
type MultiUpdateLogic ¶
func NewMultiUpdateLogic ¶
func NewMultiUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiUpdateLogic
func (*MultiUpdateLogic) MultiUpdate ¶
func (l *MultiUpdateLogic) MultiUpdate(req *types.DeviceInfoMultiUpdateReq) error
type ReadLogic ¶
func NewReadLogic ¶
func NewReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic
func (*ReadLogic) Read ¶
func (l *ReadLogic) Read(req *types.DeviceInfoReadReq) (resp *types.DeviceInfo, err error)
type TransferLogic ¶
func NewTransferLogic ¶
func NewTransferLogic(ctx context.Context, svcCtx *svc.ServiceContext) *TransferLogic
func (*TransferLogic) Transfer ¶
func (l *TransferLogic) Transfer(req *types.DeviceInfoTransferReq) error
type UnbindLogic ¶
func NewUnbindLogic ¶
func NewUnbindLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UnbindLogic
func (*UnbindLogic) Unbind ¶
func (l *UnbindLogic) Unbind(req *types.DeviceCore) error
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.DeviceInfo) error
Click to show internal directories.
Click to hide internal directories.