deviceinteractlogic

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: AGPL-3.0 Imports: 14 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 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 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