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
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
func NewGetPropertyReplyLogic ¶ added in v0.5.1
func NewGetPropertyReplyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPropertyReplyLogic
func (*GetPropertyReplyLogic) GetPropertyReply ¶ added in v0.5.1
func (l *GetPropertyReplyLogic) GetPropertyReply(in *di.GetPropertyReplyReq) (*di.GetPropertyReplyResp, error)
请求设备获取设备最新属性
type MultiSendPropertyLogic ¶ added in v0.5.1
func NewMultiSendPropertyLogic ¶ added in v0.5.1
func NewMultiSendPropertyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiSendPropertyLogic
func (*MultiSendPropertyLogic) MultiSendProperty ¶ added in v0.5.1
func (l *MultiSendPropertyLogic) MultiSendProperty(in *di.MultiSendPropertyReq) (*di.MultiSendPropertyResp, error)
批量调用设备属性
type PropertyReadLogic ¶ added in v0.4.1
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
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 ¶
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 ¶
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 ¶
func NewSendPropertyLogic ¶
func NewSendPropertyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendPropertyLogic
func (*SendPropertyLogic) SendProperty ¶
func (l *SendPropertyLogic) SendProperty(in *di.SendPropertyReq) (*di.SendPropertyResp, error)
Click to show internal directories.
Click to hide internal directories.