提交 | 用户 | 时间
|
a27351
|
1 |
<root version="企业版"> |
D |
2 |
<menu name="数据模型"> |
|
3 |
<sub-menu name="数据源"> |
|
4 |
<item name="数据库" shortName="数据库" class="DatabaseUnit" isContant="true" icon="database.png" width="70" |
|
5 |
height="70"/> |
|
6 |
<item name="数据文件" shortName="数据文件" class="OtherDetailDataUnit" isContant="true" icon="txt.png" width="70" |
|
7 |
height="70"/> |
|
8 |
</sub-menu> |
|
9 |
#{foreach} ($collect in $collects.entrySet()) |
|
10 |
<sub-menu name="${collect.getKey()}"> |
|
11 |
#{foreach} ($collect1 in $collect.getValue().entrySet()) |
|
12 |
<group name="${collect1.getKey()}"> |
|
13 |
#{foreach} ($model in $collect1.getValue()) |
|
14 |
<group-item name="${model.pyChineseName}" shortName="${model.pyChineseName}" isContant="false" |
|
15 |
icon="$!{model.icon}" width="70" height="70" isFactor="true"> |
|
16 |
#{if}($model.pyType=="predict") |
|
17 |
#{foreach} ($method in $model.modelMethods) |
|
18 |
#{if}($method.methodName=="train") |
|
19 |
<tab-train class="${model.pkgName}.impl.${model.pyName}Impl" method="train" |
|
20 |
params="#{foreach} ($column in [1..$method.dataLength])double[][],#{end}#{if}($method.model==1)java.util.HashMap,#{end}java.util.HashMap"> |
a18610
|
21 |
#{foreach} ($column in [1..$method.dataLength]) |
D |
22 |
<property key="data${column}" name="数据${column}路径" type="file" valueType="file" min="" max=""/> |
|
23 |
#{end} |
a27351
|
24 |
#{foreach} ($setting in $method.methodSettings) |
D |
25 |
#{if}($setting.type=="select") |
|
26 |
<property key="${setting.settingKey}" name="${setting.name}" type="select" valueType="${setting.valueType}" min="$!{setting.min}" max="$!{setting.max}"> |
|
27 |
#{foreach} ($select in $setting.settingSelects) |
|
28 |
<select key="$!{select.selectKey}" name="$!{select.name}"/> |
|
29 |
#{end} |
|
30 |
</property> |
|
31 |
#{else} |
|
32 |
<property key="${setting.settingKey}" name="${setting.name}" value="$!{setting.value}" type="${setting.type}" valueType="${setting.valueType}" min="$!{setting.min}" max="$!{setting.max}"/> |
|
33 |
#{end} |
|
34 |
#{end} |
|
35 |
</tab-train> |
|
36 |
#{elseif}($method.methodName=="predict") |
|
37 |
<tab-load class="${model.pkgName}.impl.${model.pyName}Impl" method="predict" |
|
38 |
params="#{foreach} ($column in [1..$method.dataLength])double[][],#{end}#{if}($method.model==1)java.util.HashMap,#{end}java.util.HashMap" resultKey="$!{method.resultKey}" |
|
39 |
modelRules="${model.pkgName}.impl.${model.pyName}Impl.predict"> |
a18610
|
40 |
#{foreach} ($column in [1..$method.dataLength]) |
D |
41 |
<property key="data${column}" name="数据${column}路径" type="file" valueType="file" min="" max=""/> |
|
42 |
#{end} |
a27351
|
43 |
#{foreach} ($setting in $method.methodSettings) |
D |
44 |
#{if}($setting.type=="select") |
|
45 |
<property key="${setting.settingKey}" name="${setting.name}" type="select" valueType="${setting.valueType}" min="$!{setting.min}" max="$!{setting.max}"> |
|
46 |
#{foreach} ($select in $setting.settingSelects) |
|
47 |
<select key="$!{select.selectKey}" name="$!{select.name}"/> |
|
48 |
#{end} |
|
49 |
</property> |
|
50 |
#{else} |
|
51 |
<property key="${setting.settingKey}" name="${setting.name}" value="$!{setting.value}" type="${setting.type}" valueType="${setting.valueType}" min="$!{setting.min}" max="$!{setting.max}"/> |
|
52 |
#{end} |
|
53 |
#{end} |
|
54 |
|
|
55 |
</tab-load> |
|
56 |
#{else} |
|
57 |
<tab-logic class="${model.pkgName}.impl.${model.pyName}Impl" method="$!{method.methodName}" |
|
58 |
params="#{foreach} ($column in [1..$method.dataLength])double[][],#{end}#{if}($method.model==1)java.util.HashMap,#{end}java.util.HashMap" |
|
59 |
resultKey="$!{method.resultKey}"> |
|
60 |
<fieldset name="基本参数"> |
|
61 |
#{foreach} ($setting in $method.methodSettings) |
|
62 |
#{if}($setting.type=="select") |
|
63 |
<property key="${setting.settingKey}" name="${setting.name}" type="select" valueType="${setting.valueType}" min="$!{setting.min}" max="$!{setting.max}"> |
|
64 |
#{foreach} ($select in $setting.settingSelects) |
|
65 |
<select key="$!{select.selectKey}" name="$!{select.name}"/> |
|
66 |
#{end} |
|
67 |
</property> |
|
68 |
#{else} |
|
69 |
<property key="${setting.settingKey}" name="${setting.name}" value="$!{setting.value}" type="${setting.type}" valueType="${setting.valueType}" min="$!{setting.min}" max="$!{setting.max}"/> |
|
70 |
#{end} |
|
71 |
#{end} |
|
72 |
</fieldset> |
|
73 |
</tab-logic> |
|
74 |
#{end} |
|
75 |
#{end} |
|
76 |
#{elseif}($model.pyType=="schedul") |
|
77 |
#{foreach} ($method in $model.modelMethods) |
|
78 |
<tab-logic class="${model.pkgName}.impl.${model.pyName}Impl" method="$!{method.methodName}" |
|
79 |
params="#{foreach} ($column in [1..$method.dataLength])double[][],#{end}#{if}($method.model==1)java.util.HashMap,#{end}java.util.HashMap" |
|
80 |
resultKey="$!{method.resultKey}"> |
|
81 |
<fieldset name="基本参数"> |
|
82 |
#{foreach} ($setting in $method.methodSettings) |
|
83 |
#{if}($setting.type=="select") |
|
84 |
<property key="${setting.settingKey}" name="${setting.name}" type="select" valueType="${setting.valueType}" min="$!{setting.min}" max="$!{setting.max}"> |
|
85 |
#{foreach} ($select in $setting.settingSelects) |
|
86 |
<select key="$!{select.selectKey}" name="$!{select.name}"/> |
|
87 |
#{end} |
|
88 |
</property> |
|
89 |
#{else} |
|
90 |
<property key="${setting.settingKey}" name="${setting.name}" value="$!{setting.value}" type="${setting.type}" valueType="${setting.valueType}" min="$!{setting.min}" max="$!{setting.max}"/> |
|
91 |
#{end} |
|
92 |
#{end} |
|
93 |
</fieldset> |
|
94 |
</tab-logic> |
|
95 |
#{end} |
|
96 |
#{end} |
|
97 |
</group-item> |
|
98 |
#{end} |
|
99 |
</group> |
|
100 |
#{end} |
|
101 |
</sub-menu> |
|
102 |
#{end} |
|
103 |
|
|
104 |
<sub-menu name="流程控制"> |
|
105 |
<item name="控制" shortName="控制" class="TimeControlUnit" isContant="true" icon="control.png" width="50" |
|
106 |
height="50" isControl="true"/> |
|
107 |
<item name="起始时间" shortName="时间" class="StartTimeUnit" isContant="true" icon="time.png" width="50" |
|
108 |
height="50" isStartTime="true"/> |
|
109 |
<item name="延时" shortName="延时" class="DelayUnit" isContant="true" icon="delay.png" width="50" height="50"/> |
|
110 |
</sub-menu> |
|
111 |
<sub-menu name="运算方法"> |
|
112 |
<item name="加" shortName="加" class="PlusUnit" isContant="true" icon="plus.png" width="50" height="50" |
|
113 |
set="false"/> |
|
114 |
<item name="减" shortName="减" class="MinusUnit" isContant="true" icon="minus.png" width="50" height="50" |
|
115 |
set="false"/> |
|
116 |
<item name="乘" shortName="乘" class="MultiplyUnit" isContant="true" icon="multiply.png" width="50" |
|
117 |
height="50" set="false"/> |
|
118 |
<item name="除" shortName="除" class="DivideUnit" isContant="true" icon="divide.png" width="50" height="50" |
|
119 |
set="false"/> |
|
120 |
<item name="积分器" shortName="积分器" class="IntegratorUnit" isContant="true" icon="integrator.png" width="50" |
|
121 |
height="50"/> |
|
122 |
</sub-menu> |
|
123 |
<sub-menu name="图表显示"> |
|
124 |
<item name="图" shortName="图" class="ChartUnit" isContant="true" icon="tu.png" width="70" height="70" |
|
125 |
set="false"/> |
|
126 |
<item name="结果图" shortName="结果图" class="ChartResultUnit" isContant="true" icon="jieguotu.png" width="70" |
|
127 |
height="70" set="false"/> |
|
128 |
<item name="预测图" shortName="预测图" class="RealTimeChartUnit" isContant="true" icon="yucetu.png" width="70" |
|
129 |
height="70"/> |
|
130 |
<item name="散点图" shortName="散点图" class="ScatterPlotChartUnit" isContant="true" icon="sandiantu.png" |
|
131 |
width="70" height="70" set="false"/> |
|
132 |
<item name="表" shortName="表" class="TableUnit" isContant="true" icon="biaoge.png" width="70" height="70" |
|
133 |
set="false"/> |
|
134 |
<item name="文本显示器" shortName="文本显示器" class="TextShowUnit" isContant="true" icon="wenbenxianshi.png" |
|
135 |
width="70" height="70"/> |
|
136 |
</sub-menu> |
|
137 |
<sub-menu name="其他"> |
|
138 |
<item name="常数" shortName="常数" class="ConstantUnit" isContant="true" icon="changshu.png" width="50" |
|
139 |
height="50" runningSet="true"/> |
|
140 |
<item name="总线" shortName="总线" class="IBusUnit" isContant="true" icon="zongxian.png" width="70" |
|
141 |
height="70"/> |
|
142 |
<item name="行总线" shortName="行总线" class="HIBusUnit" isContant="true" icon="zongxian.png" width="70" |
|
143 |
height="70"/> |
|
144 |
<item name="选择" shortName="选择" class="IKeyUnit" isContant="true" icon="xuanze.png" width="50" height="50"/> |
|
145 |
</sub-menu> |
|
146 |
</menu> |
|
147 |
</root> |