优化结点

This commit is contained in:
boyce
2025-10-14 15:38:08 +08:00
parent f22ee230e4
commit be91bcd4b5
4 changed files with 108 additions and 10 deletions

View File

@@ -8,6 +8,7 @@ type IBaseExecNode interface {
GetPorts() ([]IPort, []IPort)
getExecNodeInfo() (*ExecContext, *execNode)
setExecNodeInfo(gr *ExecContext, en *execNode)
GetBlueprintModule() IBlueprintModule
}
type IInnerExecNode interface {
@@ -528,3 +529,12 @@ func (en *BaseExecNode) getInnerExecNode() IInnerExecNode {
func (en *BaseExecNode) setVariableName(name string) bool {
return false
}
func (en *BaseExecNode) GetBlueprintModule() IBlueprintModule{
if en.gr == nil {
return nil
}
return en.gr.IBlueprintModule
}