device_prop

package
v0.0.0-...-ca5a4cf Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryDeviceProp

func QueryDeviceProp(iotId string, l *SyncDevicePropLogic) error

Types

type CreateDevicePropLogic

type CreateDevicePropLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateDevicePropLogic

func NewCreateDevicePropLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateDevicePropLogic

func (*CreateDevicePropLogic) CreateDeviceProp

func (l *CreateDevicePropLogic) CreateDeviceProp(in *basic.DevicePropInfo) (*basic.BaseIDResp, error)

type DeleteDevicePropLogic

type DeleteDevicePropLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteDevicePropLogic

func NewDeleteDevicePropLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteDevicePropLogic

func (*DeleteDevicePropLogic) DeleteDeviceProp

func (l *DeleteDevicePropLogic) DeleteDeviceProp(in *basic.IDsReq) (*basic.BaseResp, error)

type GetDevicePropByIdLogic

type GetDevicePropByIdLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetDevicePropByIdLogic

func NewGetDevicePropByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDevicePropByIdLogic

func (*GetDevicePropByIdLogic) GetDevicePropById

func (l *GetDevicePropByIdLogic) GetDevicePropById(in *basic.IDReq) (*basic.DevicePropInfo, error)

type GetDevicePropByIotIdLogic

type GetDevicePropByIotIdLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetDevicePropByIotIdLogic

func NewGetDevicePropByIotIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDevicePropByIotIdLogic

func (*GetDevicePropByIotIdLogic) GetDevicePropByIotId

func (l *GetDevicePropByIotIdLogic) GetDevicePropByIotId(in *basic.DeviceIotIdReq) (*basic.DevicePropInfo, error)

type GetDevicePropListLogic

type GetDevicePropListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetDevicePropListLogic

func NewGetDevicePropListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetDevicePropListLogic

func (*GetDevicePropListLogic) GetDevicePropList

type SyncDevicePropLogic

type SyncDevicePropLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewSyncDevicePropLogic

func NewSyncDevicePropLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SyncDevicePropLogic

func (*SyncDevicePropLogic) SyncDeviceProp

func (l *SyncDevicePropLogic) SyncDeviceProp(in *basic.Empty) (*basic.BaseResp, error)

type UpdateDevicePropLogic

type UpdateDevicePropLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateDevicePropLogic

func NewUpdateDevicePropLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateDevicePropLogic

func (*UpdateDevicePropLogic) UpdateDeviceProp

func (l *UpdateDevicePropLogic) UpdateDeviceProp(in *basic.DevicePropInfo) (*basic.BaseResp, error)

Jump to

Keyboard shortcuts

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