deviceinteractlogic

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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionReadLogic added in v0.4.1

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

func NewActionReadLogic added in v0.4.1

func NewActionReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ActionReadLogic

func (*ActionReadLogic) ActionRead added in v0.4.1

func (l *ActionReadLogic) ActionRead(in *di.RespReadReq) (*di.SendActionResp, error)

获取异步调用设备行为的结果

type GetPropertyReplyLogic added in v0.5.1

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

func NewGetPropertyReplyLogic added in v0.5.1

func NewGetPropertyReplyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPropertyReplyLogic

func (*GetPropertyReplyLogic) GetPropertyReply added in v0.5.1

请求设备获取设备最新属性

type MultiSendPropertyLogic added in v0.5.1

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

func NewMultiSendPropertyLogic added in v0.5.1

func NewMultiSendPropertyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiSendPropertyLogic

func (*MultiSendPropertyLogic) MultiSendProperty added in v0.5.1

批量调用设备属性

type PropertyReadLogic added in v0.4.1

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

func NewPropertyReadLogic added in v0.4.1

func NewPropertyReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PropertyReadLogic

func (*PropertyReadLogic) PropertyRead added in v0.4.1

func (l *PropertyReadLogic) PropertyRead(in *di.RespReadReq) (*di.SendPropertyResp, error)

获取异步调用设备属性的结果

type RespActionLogic added in v0.6.0

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

func NewRespActionLogic added in v0.6.0

func NewRespActionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RespActionLogic

func (*RespActionLogic) RespAction added in v0.6.0

func (l *RespActionLogic) RespAction(in *di.RespActionReq) (*di.Response, error)

回复调用设备行为

type SendActionLogic

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

func NewSendActionLogic

func NewSendActionLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendActionLogic

func (*SendActionLogic) SendAction

func (l *SendActionLogic) SendAction(in *di.SendActionReq) (*di.SendActionResp, error)

调用设备行为

type SendMsgLogic

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

func NewSendMsgLogic

func NewSendMsgLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendMsgLogic

func (*SendMsgLogic) SendMsg

func (l *SendMsgLogic) SendMsg(in *di.SendMsgReq) (*di.SendMsgResp, error)

发送消息给设备

type SendPropertyLogic

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

func NewSendPropertyLogic

func NewSendPropertyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendPropertyLogic

func (*SendPropertyLogic) SendProperty

func (l *SendPropertyLogic) SendProperty(in *di.SendPropertyReq) (*di.SendPropertyResp, error)

Jump to

Keyboard shortcuts

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