feature #I64PDW 增加Python脚本支持

This commit is contained in:
everywhere.z
2022-12-05 17:45:19 +08:00
parent 52eda8fe47
commit cd3118cf19
18 changed files with 413 additions and 179 deletions

View File

@@ -0,0 +1 @@
liteflow.rule-source=common/flow.xml

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<flow>
<nodes>
<node id="s1" name="普通脚本1" type="script">
<![CDATA[
a=6
b=10
if a>5:
b=5
print 'hello'
else:
print 'hi'
defaultContext.setData("s1",a*b)
]]>
</node>
</nodes>
<chain name="chain1">
THEN(a, b, c, s1);
</chain>
</flow>