广汽安道拓Acura项目MES后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
611 B

// Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
package container
// 基本组件句柄
// @Implement LAPP_ACURA_MOM_BACKEND/container/ComponentHandler
type ElementHandler struct {
// 组件实例
instance Instance
}
// 创建基本组件句柄
// 参数
// 1.组件实例
// 返回值:
// 1.基本组件句柄
func NewElementHandler(instance Instance) *ElementHandler {
return &ElementHandler{instance}
}
// @Reference LAPP_ACURA_MOM_BACKEND/container/ComponentHandler.Instance
func (handler *ElementHandler) Instance() Instance {
return handler.instance
}