|
169 | 169 | </Union>
|
170 | 170 |
|
171 | 171 | <!-- Simple Statistic Aggregation -->
|
172 |
| - <Union SizeInBit="64"> |
| 172 | + <Union SizeInBit="120"> |
173 | 173 | <Memory CodeSegment="%MID%" Offset="2" BitOffset="0" />
|
174 | 174 |
|
| 175 | + <!-- Weighed --> |
| 176 | + <Parameter Id="%AID%_UP-%TT%%CC%187" Name="CH%C%AggWeight" ParameterType="%AID%_PT-FCBSimpleStatAggWeighted" Offset="0" BitOffset="0" Text="Gewichtung der Eingänge" Value="0" /> |
175 | 177 | <!-- Subtype -->
|
176 |
| - <Parameter Id="%AID%_UP-%TT%%CC%171" Name="CH%C%AggType" ParameterType="%AID%_PT-FCBSimpleStatAggTyp" Offset="0" BitOffset="0" Text="Funktion" Value="1" /> |
| 178 | + <Parameter Id="%AID%_UP-%TT%%CC%171" Name="CH%C%AggType" ParameterType="%AID%_PT-FCBSimpleStatAggType" Offset="0" BitOffset="1" Text="Funktion" Value="1" /> |
177 | 179 |
|
178 | 180 | <!-- KO 0 Deactivatable-->
|
179 | 181 | <Parameter Id="%AID%_UP-%TT%%CC%172" Name="CH%C%AggKo0D" ParameterType="%AID%_PT-FCBNumericInputKoUsage" Offset="1" BitOffset="0" Text="Eingang 1" Value="1" />
|
|
207 | 209 | <!-- Output Value Type (Effective) -->
|
208 | 210 | <Parameter Id="%AID%_UP-%TT%%CC%183" Name="CH%C%AggOutputDptEff" ParameterType="%AID%_PT-FCBNumericDpt" Offset="5" BitOffset="0" Text="DPT Ausgang" Value="90" Access="None" />
|
209 | 211 |
|
| 212 | + <!-- KO 0 Weight --><Parameter Id="%AID%_UP-%TT%%CC%188" Name="CH%C%AggKo0W" ParameterType="%AID%_PT-FCBInputWeight" Offset="6" BitOffset="0" Text="Gewicht Eingang 1" Value="1" /> |
| 213 | + <!-- KO 1 Weight --><Parameter Id="%AID%_UP-%TT%%CC%189" Name="CH%C%AggKo1W" ParameterType="%AID%_PT-FCBInputWeight" Offset="7" BitOffset="0" Text="Gewicht Eingang 2" Value="1" /> |
| 214 | + <!-- KO 2 Weight --><Parameter Id="%AID%_UP-%TT%%CC%190" Name="CH%C%AggKo2W" ParameterType="%AID%_PT-FCBInputWeight" Offset="8" BitOffset="0" Text="Gewicht Eingang 3" Value="1" /> |
| 215 | + <!-- KO 3 Weight --><Parameter Id="%AID%_UP-%TT%%CC%191" Name="CH%C%AggKo3W" ParameterType="%AID%_PT-FCBInputWeight" Offset="9" BitOffset="0" Text="Gewicht Eingang 4" Value="1" /> |
| 216 | + <!-- KO 4 Weight --><Parameter Id="%AID%_UP-%TT%%CC%192" Name="CH%C%AggKo4W" ParameterType="%AID%_PT-FCBInputWeight" Offset="10" BitOffset="0" Text="Gewicht Eingang 5" Value="1" /> |
| 217 | + <!-- KO 5 Weight --><Parameter Id="%AID%_UP-%TT%%CC%193" Name="CH%C%AggKo5W" ParameterType="%AID%_PT-FCBInputWeight" Offset="11" BitOffset="0" Text="Gewicht Eingang 6" Value="1" /> |
| 218 | + <!-- KO 6 Weight --><Parameter Id="%AID%_UP-%TT%%CC%194" Name="CH%C%AggKo6W" ParameterType="%AID%_PT-FCBInputWeight" Offset="12" BitOffset="0" Text="Gewicht Eingang 7" Value="1" /> |
| 219 | + <!-- KO 7 Weight --><Parameter Id="%AID%_UP-%TT%%CC%195" Name="CH%C%AggKo7W" ParameterType="%AID%_PT-FCBInputWeight" Offset="13" BitOffset="0" Text="Gewicht Eingang 8" Value="1" /> |
| 220 | + <!-- KO 8 Weight --><Parameter Id="%AID%_UP-%TT%%CC%196" Name="CH%C%AggKo8W" ParameterType="%AID%_PT-FCBInputWeight" Offset="14" BitOffset="0" Text="Gewicht Eingang 9" Value="1" /> |
| 221 | + |
210 | 222 | </Union>
|
211 | 223 | <!-- Output Value Type -->
|
212 | 224 | <Parameter Id="%AID%_P-%TT%%CC%186" Name="CH%C%AggOutputDpt" ParameterType="%AID%_PT-FCBNumericOutputDpt" Text="Wertetype / DPT" Value="255" />
|
213 | 225 |
|
214 |
| - <!-- Next Id: %AID%_UP-%TT%%CC%187 --> |
| 226 | + <!-- Next Id: %AID%_UP-%TT%%CC%197 --> |
215 | 227 |
|
216 | 228 | </Parameters>
|
217 | 229 | <ParameterRefs>
|
|
389 | 401 |
|
390 | 402 | <!-- Output Value Type (ETS Input) -->
|
391 | 403 | <ParameterRef Id="%AID%_P-%TT%%CC%186_R-%TT%%CC%18601" RefId="%AID%_P-%TT%%CC%186" />
|
| 404 | + <!-- Input Weight --> |
| 405 | + <ParameterRef Id="%AID%_UP-%TT%%CC%187_R-%TT%%CC%18701" RefId="%AID%_UP-%TT%%CC%187" /> |
| 406 | + |
| 407 | + <!-- KO 0 Weight --><ParameterRef Id="%AID%_UP-%TT%%CC%188_R-%TT%%CC%18801" RefId="%AID%_UP-%TT%%CC%188"/> |
| 408 | + <!-- KO 1 Weight --><ParameterRef Id="%AID%_UP-%TT%%CC%189_R-%TT%%CC%18901" RefId="%AID%_UP-%TT%%CC%189"/> |
| 409 | + <!-- KO 2 Weight --><ParameterRef Id="%AID%_UP-%TT%%CC%190_R-%TT%%CC%19001" RefId="%AID%_UP-%TT%%CC%190"/> |
| 410 | + <!-- KO 3 Weight --><ParameterRef Id="%AID%_UP-%TT%%CC%191_R-%TT%%CC%19101" RefId="%AID%_UP-%TT%%CC%191"/> |
| 411 | + <!-- KO 4 Weight --><ParameterRef Id="%AID%_UP-%TT%%CC%192_R-%TT%%CC%19201" RefId="%AID%_UP-%TT%%CC%192"/> |
| 412 | + <!-- KO 5 Weight --><ParameterRef Id="%AID%_UP-%TT%%CC%193_R-%TT%%CC%19301" RefId="%AID%_UP-%TT%%CC%193"/> |
| 413 | + <!-- KO 6 Weight --><ParameterRef Id="%AID%_UP-%TT%%CC%194_R-%TT%%CC%19401" RefId="%AID%_UP-%TT%%CC%194"/> |
| 414 | + <!-- KO 7 Weight --><ParameterRef Id="%AID%_UP-%TT%%CC%195_R-%TT%%CC%19501" RefId="%AID%_UP-%TT%%CC%195"/> |
| 415 | + <!-- KO 8 Weight --><ParameterRef Id="%AID%_UP-%TT%%CC%196_R-%TT%%CC%19601" RefId="%AID%_UP-%TT%%CC%196"/> |
392 | 416 |
|
393 | 417 | </ParameterRefs>
|
394 | 418 | <ComObjectTable>
|
|
1274 | 1298 |
|
1275 | 1299 | <!-- Aggregation Function -->
|
1276 | 1300 | <ParameterRefRef RefId="%AID%_UP-%TT%%CC%171_R-%TT%%CC%17101" HelpContext="FCB-AggrFunction" />
|
| 1301 | + <choose ParamRefId="%AID%_UP-%TT%%CC%171_R-%TT%%CC%17101"> |
| 1302 | + <when test="0 1"><!-- SUM + AVG --> |
| 1303 | + <!-- Weight --> |
| 1304 | + <ParameterRefRef RefId="%AID%_UP-%TT%%CC%187_R-%TT%%CC%18701" IndentLevel="1" HelpContext="FCB-Gewichtung-der-Eingaenge" /> |
| 1305 | + </when> |
| 1306 | + </choose> |
1277 | 1307 |
|
1278 | 1308 | <ParameterSeparator Id="%AID%_PS-nnn" Text="Eingänge" UIHint="Headline" />
|
1279 | 1309 | <!-- Input Value Type -->
|
|
1284 | 1314 | <ParameterRefRef RefId="%AID%_UP-%TT%%CC%172_R-%TT%%CC%17201" HelpContext="FCB-AggrEingang" />
|
1285 | 1315 | <choose ParamRefId="%AID%_UP-%TT%%CC%172_R-%TT%%CC%17201" >
|
1286 | 1316 | <when test=">0">
|
| 1317 | + <choose ParamRefId="%AID%_UP-%TT%%CC%187_R-%TT%%CC%18701"> |
| 1318 | + <when test="1"><ParameterRefRef RefId="%AID%_UP-%TT%%CC%188_R-%TT%%CC%18801" IndentLevel="1" HelpContext="FCB-AggrEingangGewicht" /></when> |
| 1319 | + </choose> |
1287 | 1320 | <choose ParamRefId="%AID%_UP-%TT%%CC%182_R-%TT%%CC%18201">
|
1288 | 1321 | <when test="50"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%000_R-%TT%%CC%00005" /></when>
|
1289 | 1322 | <when test="51"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%000_R-%TT%%CC%00051" /></when>
|
|
1302 | 1335 | <ParameterRefRef RefId="%AID%_UP-%TT%%CC%173_R-%TT%%CC%17301" HelpContext="FCB-AggrEingang" />
|
1303 | 1336 | <choose ParamRefId="%AID%_UP-%TT%%CC%173_R-%TT%%CC%17301" >
|
1304 | 1337 | <when test=">0">
|
| 1338 | + <choose ParamRefId="%AID%_UP-%TT%%CC%187_R-%TT%%CC%18701"> |
| 1339 | + <when test="1"><ParameterRefRef RefId="%AID%_UP-%TT%%CC%189_R-%TT%%CC%18901" IndentLevel="1" HelpContext="FCB-AggrEingangGewicht" /></when> |
| 1340 | + </choose> |
1305 | 1341 | <choose ParamRefId="%AID%_UP-%TT%%CC%182_R-%TT%%CC%18201">
|
1306 | 1342 | <when test="50"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%001_R-%TT%%CC%00105" /></when>
|
1307 | 1343 | <when test="51"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%001_R-%TT%%CC%00151" /></when>
|
|
1320 | 1356 | <ParameterRefRef RefId="%AID%_UP-%TT%%CC%174_R-%TT%%CC%17401" HelpContext="FCB-AggrEingang" />
|
1321 | 1357 | <choose ParamRefId="%AID%_UP-%TT%%CC%174_R-%TT%%CC%17401" >
|
1322 | 1358 | <when test=">0">
|
| 1359 | + <choose ParamRefId="%AID%_UP-%TT%%CC%187_R-%TT%%CC%18701"> |
| 1360 | + <when test="1"><ParameterRefRef RefId="%AID%_UP-%TT%%CC%190_R-%TT%%CC%19001" IndentLevel="1" HelpContext="FCB-AggrEingangGewicht" /></when> |
| 1361 | + </choose> |
1323 | 1362 | <choose ParamRefId="%AID%_UP-%TT%%CC%182_R-%TT%%CC%18201">
|
1324 | 1363 | <when test="50"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%002_R-%TT%%CC%00205" /></when>
|
1325 | 1364 | <when test="51"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%002_R-%TT%%CC%00251" /></when>
|
|
1338 | 1377 | <ParameterRefRef RefId="%AID%_UP-%TT%%CC%175_R-%TT%%CC%17501" HelpContext="FCB-AggrEingang" />
|
1339 | 1378 | <choose ParamRefId="%AID%_UP-%TT%%CC%175_R-%TT%%CC%17501" >
|
1340 | 1379 | <when test=">0">
|
| 1380 | + <choose ParamRefId="%AID%_UP-%TT%%CC%187_R-%TT%%CC%18701"> |
| 1381 | + <when test="1"><ParameterRefRef RefId="%AID%_UP-%TT%%CC%191_R-%TT%%CC%19101" IndentLevel="1" HelpContext="FCB-AggrEingangGewicht" /></when> |
| 1382 | + </choose> |
1341 | 1383 | <choose ParamRefId="%AID%_UP-%TT%%CC%182_R-%TT%%CC%18201">
|
1342 | 1384 | <when test="50"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%003_R-%TT%%CC%00305" /></when>
|
1343 | 1385 | <when test="51"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%003_R-%TT%%CC%00351" /></when>
|
|
1356 | 1398 | <ParameterRefRef RefId="%AID%_UP-%TT%%CC%176_R-%TT%%CC%17601" HelpContext="FCB-AggrEingang" />
|
1357 | 1399 | <choose ParamRefId="%AID%_UP-%TT%%CC%176_R-%TT%%CC%17601" >
|
1358 | 1400 | <when test=">0">
|
| 1401 | + <choose ParamRefId="%AID%_UP-%TT%%CC%187_R-%TT%%CC%18701"> |
| 1402 | + <when test="1"><ParameterRefRef RefId="%AID%_UP-%TT%%CC%192_R-%TT%%CC%19201" IndentLevel="1" HelpContext="FCB-AggrEingangGewicht" /></when> |
| 1403 | + </choose> |
1359 | 1404 | <choose ParamRefId="%AID%_UP-%TT%%CC%182_R-%TT%%CC%18201">
|
1360 | 1405 | <when test="50"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%004_R-%TT%%CC%00405" /></when>
|
1361 | 1406 | <when test="51"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%004_R-%TT%%CC%00451" /></when>
|
|
1374 | 1419 | <ParameterRefRef RefId="%AID%_UP-%TT%%CC%177_R-%TT%%CC%17701" HelpContext="FCB-AggrEingang" />
|
1375 | 1420 | <choose ParamRefId="%AID%_UP-%TT%%CC%177_R-%TT%%CC%17701" >
|
1376 | 1421 | <when test=">0">
|
| 1422 | + <choose ParamRefId="%AID%_UP-%TT%%CC%187_R-%TT%%CC%18701"> |
| 1423 | + <when test="1"><ParameterRefRef RefId="%AID%_UP-%TT%%CC%193_R-%TT%%CC%19301" IndentLevel="1" HelpContext="FCB-AggrEingangGewicht" /></when> |
| 1424 | + </choose> |
1377 | 1425 | <choose ParamRefId="%AID%_UP-%TT%%CC%182_R-%TT%%CC%18201">
|
1378 | 1426 | <when test="50"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%005_R-%TT%%CC%00505" /></when>
|
1379 | 1427 | <when test="51"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%005_R-%TT%%CC%00551" /></when>
|
|
1392 | 1440 | <ParameterRefRef RefId="%AID%_UP-%TT%%CC%178_R-%TT%%CC%17801" HelpContext="FCB-AggrEingang" />
|
1393 | 1441 | <choose ParamRefId="%AID%_UP-%TT%%CC%178_R-%TT%%CC%17801" >
|
1394 | 1442 | <when test=">0">
|
| 1443 | + <choose ParamRefId="%AID%_UP-%TT%%CC%187_R-%TT%%CC%18701"> |
| 1444 | + <when test="1"><ParameterRefRef RefId="%AID%_UP-%TT%%CC%194_R-%TT%%CC%19401" IndentLevel="1" HelpContext="FCB-AggrEingangGewicht" /></when> |
| 1445 | + </choose> |
1395 | 1446 | <choose ParamRefId="%AID%_UP-%TT%%CC%182_R-%TT%%CC%18201">
|
1396 | 1447 | <when test="50"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%006_R-%TT%%CC%00605" /></when>
|
1397 | 1448 | <when test="51"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%006_R-%TT%%CC%00651" /></when>
|
|
1410 | 1461 | <ParameterRefRef RefId="%AID%_UP-%TT%%CC%179_R-%TT%%CC%17901" HelpContext="FCB-AggrEingang" />
|
1411 | 1462 | <choose ParamRefId="%AID%_UP-%TT%%CC%179_R-%TT%%CC%17901" >
|
1412 | 1463 | <when test=">0">
|
| 1464 | + <choose ParamRefId="%AID%_UP-%TT%%CC%187_R-%TT%%CC%18701"> |
| 1465 | + <when test="1"><ParameterRefRef RefId="%AID%_UP-%TT%%CC%195_R-%TT%%CC%19501" IndentLevel="1" HelpContext="FCB-AggrEingangGewicht" /></when> |
| 1466 | + </choose> |
1413 | 1467 | <choose ParamRefId="%AID%_UP-%TT%%CC%182_R-%TT%%CC%18201">
|
1414 | 1468 | <when test="50"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%007_R-%TT%%CC%00705" /></when>
|
1415 | 1469 | <when test="51"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%007_R-%TT%%CC%00751" /></when>
|
|
1428 | 1482 | <ParameterRefRef RefId="%AID%_UP-%TT%%CC%180_R-%TT%%CC%18001" HelpContext="FCB-AggrEingang" />
|
1429 | 1483 | <choose ParamRefId="%AID%_UP-%TT%%CC%180_R-%TT%%CC%18001" >
|
1430 | 1484 | <when test=">0">
|
| 1485 | + <choose ParamRefId="%AID%_UP-%TT%%CC%187_R-%TT%%CC%18701"> |
| 1486 | + <when test="1"><ParameterRefRef RefId="%AID%_UP-%TT%%CC%196_R-%TT%%CC%19601" IndentLevel="1" HelpContext="FCB-AggrEingangGewicht" /></when> |
| 1487 | + </choose> |
1431 | 1488 | <choose ParamRefId="%AID%_UP-%TT%%CC%182_R-%TT%%CC%18201">
|
1432 | 1489 | <when test="50"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%008_R-%TT%%CC%00805" /></when>
|
1433 | 1490 | <when test="51"><ComObjectRefRef RefId="%AID%_O-%TT%%CC%008_R-%TT%%CC%00851" /></when>
|
|
1486 | 1543 | <when test="1"><!-- avg of int inputs is non int -->
|
1487 | 1544 | <ParameterRefRef RefId="%AID%_UP-%TT%%CC%184_R-%TT%%CC%18401" IndentLevel="1" HelpContext="FCB-Rundungsmodus" />
|
1488 | 1545 | </when>
|
| 1546 | + <when test="0"> |
| 1547 | + <choose ParamRefId="%AID%_UP-%TT%%CC%187_R-%TT%%CC%18701"> |
| 1548 | + <when test="1"> |
| 1549 | + <!-- weighted sum of int inputs is non int --> |
| 1550 | + <ParameterRefRef RefId="%AID%_UP-%TT%%CC%184_R-%TT%%CC%18401" IndentLevel="1" HelpContext="FCB-Rundungsmodus" /> |
| 1551 | + </when> |
| 1552 | + </choose> |
| 1553 | + </when> |
1489 | 1554 | </choose>
|
1490 | 1555 | </when>
|
1491 | 1556 | </choose>
|
|
0 commit comments