d2aura 26.0.13 → 26.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/eda/edaManagerApi.d.ts +54 -15
- package/api/eda/edaManagerApi.js +106 -29
- package/api/eda/edaManagerApi.js.map +1 -1
- package/api/eda/generated/events.d.ts +115 -35
- package/api/eda/generated/events.js +193 -41
- package/api/eda/generated/events.js.map +1 -1
- package/api/eda/generated/structures.d.ts +110 -33
- package/api/eda/generated/structures.js.map +1 -1
- package/core/i18n/d2aura.en.json +14 -0
- package/core/i18n/d2aura.sk.json +92 -2
- package/coreui/components/edaManager/components/detail/components/edaVectorMassChangeButton.d.ts +1 -1
- package/coreui/components/edaManager/components/detail/components/edaVectorMassChangeButton.js +2 -2
- package/coreui/components/edaManager/components/detail/components/edaVectorMassChangeButton.js.map +1 -1
- package/coreui/components/edaManagerComponent/components/edaChartViewer.d.ts +14 -0
- package/coreui/components/edaManagerComponent/components/edaChartViewer.js +374 -0
- package/coreui/components/edaManagerComponent/components/edaChartViewer.js.map +1 -0
- package/coreui/components/edaManagerComponent/components/edaDataBasePanel.d.ts +4 -8
- package/coreui/components/edaManagerComponent/components/edaDataBasePanel.js +18 -75
- package/coreui/components/edaManagerComponent/components/edaDataBasePanel.js.map +1 -1
- package/coreui/components/edaManagerComponent/components/edaDetailPanel.d.ts +5 -14
- package/coreui/components/edaManagerComponent/components/edaDetailPanel.js +80 -19
- package/coreui/components/edaManagerComponent/components/edaDetailPanel.js.map +1 -1
- package/coreui/components/edaManagerComponent/components/edaGraphPanel.d.ts +2 -7
- package/coreui/components/edaManagerComponent/components/edaGraphPanel.js +22 -390
- package/coreui/components/edaManagerComponent/components/edaGraphPanel.js.map +1 -1
- package/coreui/components/edaManagerComponent/components/edaGroupDetailPanel.d.ts +3 -14
- package/coreui/components/edaManagerComponent/components/edaGroupDetailPanel.js +54 -67
- package/coreui/components/edaManagerComponent/components/edaGroupDetailPanel.js.map +1 -1
- package/coreui/components/edaManagerComponent/components/edaLoadingOverlay.d.ts +7 -0
- package/coreui/components/edaManagerComponent/components/edaLoadingOverlay.js +35 -0
- package/coreui/components/edaManagerComponent/components/edaLoadingOverlay.js.map +1 -0
- package/coreui/components/edaManagerComponent/components/edaSampleRangePickerPanel.d.ts +12 -18
- package/coreui/components/edaManagerComponent/components/edaSampleRangePickerPanel.js +55 -51
- package/coreui/components/edaManagerComponent/components/edaSampleRangePickerPanel.js.map +1 -1
- package/coreui/components/edaManagerComponent/components/edaScenarioDetailPanel.d.ts +3 -14
- package/coreui/components/edaManagerComponent/components/edaScenarioDetailPanel.js +67 -81
- package/coreui/components/edaManagerComponent/components/edaScenarioDetailPanel.js.map +1 -1
- package/coreui/components/edaManagerComponent/components/edaTablePanel.d.ts +2 -6
- package/coreui/components/edaManagerComponent/components/edaTablePanel.js +188 -110
- package/coreui/components/edaManagerComponent/components/edaTablePanel.js.map +1 -1
- package/coreui/components/edaManagerComponent/components/edaTimeWindowPickerPanel.d.ts +2 -13
- package/coreui/components/edaManagerComponent/components/edaTimeWindowPickerPanel.js +57 -88
- package/coreui/components/edaManagerComponent/components/edaTimeWindowPickerPanel.js.map +1 -1
- package/coreui/components/edaManagerComponent/components/edaTreeView.d.ts +9 -51
- package/coreui/components/edaManagerComponent/components/edaTreeView.js +431 -262
- package/coreui/components/edaManagerComponent/components/edaTreeView.js.map +1 -1
- package/coreui/components/edaManagerComponent/components/edaVectorDetailPanel.d.ts +3 -21
- package/coreui/components/edaManagerComponent/components/edaVectorDetailPanel.js +160 -179
- package/coreui/components/edaManagerComponent/components/edaVectorDetailPanel.js.map +1 -1
- package/coreui/components/edaManagerComponent/constants/actionTypes.d.ts +5 -0
- package/coreui/components/edaManagerComponent/constants/actionTypes.js +7 -0
- package/coreui/components/edaManagerComponent/constants/actionTypes.js.map +1 -0
- package/coreui/components/edaManagerComponent/constants/edaTypes.d.ts +23 -11
- package/coreui/components/edaManagerComponent/constants/edaTypes.js +15 -0
- package/coreui/components/edaManagerComponent/constants/edaTypes.js.map +1 -1
- package/coreui/components/edaManagerComponent/context/edaConfigContext.d.ts +26 -0
- package/coreui/components/edaManagerComponent/context/edaConfigContext.js +20 -0
- package/coreui/components/edaManagerComponent/context/edaConfigContext.js.map +1 -0
- package/coreui/components/edaManagerComponent/context/edaVectorDataContext.d.ts +10 -16
- package/coreui/components/edaManagerComponent/context/edaVectorDataContext.js +8 -1
- package/coreui/components/edaManagerComponent/context/edaVectorDataContext.js.map +1 -1
- package/coreui/components/edaManagerComponent/context/edaVectorDataProvider.d.ts +0 -1
- package/coreui/components/edaManagerComponent/context/edaVectorDataProvider.js +90 -92
- package/coreui/components/edaManagerComponent/context/edaVectorDataProvider.js.map +1 -1
- package/coreui/components/edaManagerComponent/context/loadingContext.d.ts +1 -1
- package/coreui/components/edaManagerComponent/context/loadingContext.js.map +1 -1
- package/coreui/components/edaManagerComponent/context/{sharedSampleRange.d.ts → sharedSampleRangeContext.d.ts} +12 -4
- package/coreui/components/edaManagerComponent/context/sharedSampleRangeContext.js +10 -0
- package/coreui/components/edaManagerComponent/context/sharedSampleRangeContext.js.map +1 -0
- package/coreui/components/edaManagerComponent/context/useEdaActions.d.ts +9 -0
- package/coreui/components/edaManagerComponent/context/useEdaActions.js +36 -0
- package/coreui/components/edaManagerComponent/context/useEdaActions.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/controlButtons.d.ts +13 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/controlButtons.js +19 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/controlButtons.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/descriptiveVectorDetailPanel.d.ts +8 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/descriptiveVectorDetailPanel.js +171 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/descriptiveVectorDetailPanel.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/graphPanel.d.ts +22 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/graphPanel.js +75 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/graphPanel.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/intervalInput.d.ts +12 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/intervalInput.js +52 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/intervalInput.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/tablePanel.d.ts +22 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/tablePanel.js +130 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/tablePanel.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/types.d.ts +58 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/types.js +51 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/types.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/useSharedData.d.ts +18 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/useSharedData.js +74 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/useSharedData.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/utils.d.ts +38 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/utils.js +299 -0
- package/coreui/components/edaManagerComponent/dialogs/descriptiveVectorDialog/utils.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/edaDescriptiveVectorEditorDialog.d.ts +10 -0
- package/coreui/components/edaManagerComponent/dialogs/edaDescriptiveVectorEditorDialog.js +343 -0
- package/coreui/components/edaManagerComponent/dialogs/edaDescriptiveVectorEditorDialog.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/edaTableEditorDialog.d.ts +12 -0
- package/coreui/components/edaManagerComponent/dialogs/edaTableEditorDialog.js +268 -0
- package/coreui/components/edaManagerComponent/dialogs/edaTableEditorDialog.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/exportDialog.d.ts +18 -0
- package/coreui/components/edaManagerComponent/dialogs/exportDialog.js +156 -0
- package/coreui/components/edaManagerComponent/dialogs/exportDialog.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/groupVectorSelection.d.ts +12 -0
- package/coreui/components/edaManagerComponent/dialogs/groupVectorSelection.js +74 -0
- package/coreui/components/edaManagerComponent/dialogs/groupVectorSelection.js.map +1 -0
- package/coreui/components/edaManagerComponent/dialogs/insertVectorDialog.d.ts +16 -0
- package/coreui/components/edaManagerComponent/dialogs/insertVectorDialog.js +32 -0
- package/coreui/components/edaManagerComponent/dialogs/insertVectorDialog.js.map +1 -0
- package/coreui/components/edaManagerComponent/edaDetail.d.ts +7 -26
- package/coreui/components/edaManagerComponent/edaDetail.js +138 -106
- package/coreui/components/edaManagerComponent/edaDetail.js.map +1 -1
- package/coreui/components/edaManagerComponent/edaManager.d.ts +4 -11
- package/coreui/components/edaManagerComponent/edaManager.js +29 -22
- package/coreui/components/edaManagerComponent/edaManager.js.map +1 -1
- package/coreui/components/edaManagerComponent/edaNavigator.d.ts +6 -12
- package/coreui/components/edaManagerComponent/edaNavigator.js +36 -41
- package/coreui/components/edaManagerComponent/edaNavigator.js.map +1 -1
- package/coreui/components/edaManagerComponent/edaSelect.d.ts +4 -3
- package/coreui/components/edaManagerComponent/edaSelect.js +32 -54
- package/coreui/components/edaManagerComponent/edaSelect.js.map +1 -1
- package/coreui/components/edaManagerComponent/icons/folderRemoveOutlined.d.ts +6 -0
- package/coreui/components/edaManagerComponent/icons/folderRemoveOutlined.js +7 -0
- package/coreui/components/edaManagerComponent/icons/folderRemoveOutlined.js.map +1 -0
- package/coreui/components/edaManagerComponent/utils/export.d.ts +9 -0
- package/coreui/components/edaManagerComponent/utils/export.js +570 -0
- package/coreui/components/edaManagerComponent/utils/export.js.map +1 -0
- package/coreui/components/edaManagerComponent/utils/utils.d.ts +6 -12
- package/coreui/components/edaManagerComponent/utils/utils.js +26 -15
- package/coreui/components/edaManagerComponent/utils/utils.js.map +1 -1
- package/d2configuration/edaManager/DB.EM_EDA_FunctionPrescription.xml +65 -0
- package/d2configuration/edaManager/DB.EM_EDA_VectorScenario.xml +65 -0
- package/d2configuration/edaManager/E.EM_DETAIL_IMPL.xml +67 -1
- package/d2configuration/edaManager/E.EM_DETAIL_SQL.xml +85 -0
- package/d2configuration/edaManager/E.EM_DETAIL_UNIT.xml +143 -2
- package/d2configuration/edaManager/E.EM_NAVIGATOR_IMPL.xml +14 -6
- package/d2configuration/edaManager/E.EM_NAVIGATOR_SQL.xml +12 -1
- package/d2configuration/edaManager/E.EM_NAVIGATOR_UNIT.xml +114 -6
- package/d2configuration/edaManager/E.EM_VECTOR_IMPL.xml +30 -6
- package/d2configuration/edaManager/E.EM_VECTOR_UNIT.xml +119 -17
- package/d2configuration/edaManager/SD.EM_EDA_FunctionPrescription.xml +91 -0
- package/d2configuration/edaManager/SD.EM_EDA_PairVector.xml +454 -0
- package/d2configuration/edaManager/{SD.EM_EDA_StatVectorRec_V1.xml → SD.EM_EDA_VectorScenario.xml} +13 -36
- package/d2configuration/edaManager/{SD.EM_EDA_VectorValues.xml → SD.EM_EDA_VectorStats.xml} +39 -6
- package/d2configuration/edaManager/SD.EM_Filter_Condition.xml +1 -1
- package/package.json +5 -3
- package/coreui/components/edaManagerComponent/components/edaBasePanel.d.ts +0 -16
- package/coreui/components/edaManagerComponent/components/edaBasePanel.js +0 -85
- package/coreui/components/edaManagerComponent/components/edaBasePanel.js.map +0 -1
- package/coreui/components/edaManagerComponent/context/sharedSampleRange.js +0 -13
- package/coreui/components/edaManagerComponent/context/sharedSampleRange.js.map +0 -1
- package/d2configuration/edaManager/EDA_CancelSession.xml +0 -54
- package/d2configuration/edaManager/EDA_GetSessionId.xml +0 -54
- package/d2configuration/edaManager/EDA_ReadValuesFromVektorRec.xml +0 -54
- package/d2configuration/edaManager/EDA_StatVectorRec.xml +0 -56
- package/d2configuration/edaManager/SD.EM_EDA_ReadValuesFromVector_V1.xml +0 -168
|
@@ -7,6 +7,12 @@
|
|
|
7
7
|
<objType>DB_TABLE</objType>
|
|
8
8
|
<valType>NAN</valType>
|
|
9
9
|
</HOBJ_REF>
|
|
10
|
+
<HOBJ_REF>
|
|
11
|
+
<uid>16D4A3B3EA829B48BB1333EBF2EE5C6B</uid>
|
|
12
|
+
<name>DB.EM_EDA_FunctionPrescription</name>
|
|
13
|
+
<objType>DB_TABLE</objType>
|
|
14
|
+
<valType>NAN</valType>
|
|
15
|
+
</HOBJ_REF>
|
|
10
16
|
<HOBJ_REF>
|
|
11
17
|
<uid>A41C1FB7C51DE740901A48CE6AB1835D</uid>
|
|
12
18
|
<name>DB.EM_EDA_GroupVector</name>
|
|
@@ -31,18 +37,76 @@
|
|
|
31
37
|
<objType>DB_TABLE</objType>
|
|
32
38
|
<valType>NAN</valType>
|
|
33
39
|
</HOBJ_REF>
|
|
40
|
+
<HOBJ_REF>
|
|
41
|
+
<uid>BADB65B1FE5D7041882FEDE0F76FDF0E</uid>
|
|
42
|
+
<name>E.EM_DETAIL_SQL</name>
|
|
43
|
+
<objType>EVENT</objType>
|
|
44
|
+
<valType>Int</valType>
|
|
45
|
+
</HOBJ_REF>
|
|
46
|
+
<HOBJ_REF>
|
|
47
|
+
<uid>11EA593469F93B42970210CD679CD7BE</uid>
|
|
48
|
+
<name>EDA_ReadDescriptiveVectorRec</name>
|
|
49
|
+
<objType>EXT_FNCT</objType>
|
|
50
|
+
<valType>Int</valType>
|
|
51
|
+
</HOBJ_REF>
|
|
52
|
+
<HOBJ_REF>
|
|
53
|
+
<uid>6EE4917D9EBECD4FA0948467444894AD</uid>
|
|
54
|
+
<name>EDA_ReadFunctionRec</name>
|
|
55
|
+
<objType>EXT_FNCT</objType>
|
|
56
|
+
<valType>Int</valType>
|
|
57
|
+
</HOBJ_REF>
|
|
58
|
+
<HOBJ_REF>
|
|
59
|
+
<uid>3798D15A71FD1146AB9238660BD3D83E</uid>
|
|
60
|
+
<name>SD.EDA_DescriptiveData</name>
|
|
61
|
+
<objType>STRUCTDEF</objType>
|
|
62
|
+
<valType>NAN</valType>
|
|
63
|
+
</HOBJ_REF>
|
|
64
|
+
<HOBJ_REF>
|
|
65
|
+
<uid>A857AF6BEE3AC74E9AFCBF682B12416D</uid>
|
|
66
|
+
<name>SD.EDA_ReadDescriptiveVector_Params_V1</name>
|
|
67
|
+
<objType>STRUCTDEF</objType>
|
|
68
|
+
<valType>NAN</valType>
|
|
69
|
+
</HOBJ_REF>
|
|
70
|
+
<COL_REF>
|
|
71
|
+
<col_idx>1</col_idx>
|
|
72
|
+
<col_name>structVersion</col_name>
|
|
73
|
+
<col_valType>Int</col_valType>
|
|
74
|
+
</COL_REF>
|
|
75
|
+
<HOBJ_REF>
|
|
76
|
+
<uid>611EA6F48B53404CA21CE2901EA4DA5F</uid>
|
|
77
|
+
<name>SD.EDA_ReadFunction_Params_V1</name>
|
|
78
|
+
<objType>STRUCTDEF</objType>
|
|
79
|
+
<valType>NAN</valType>
|
|
80
|
+
</HOBJ_REF>
|
|
81
|
+
<COL_REF>
|
|
82
|
+
<col_idx>1</col_idx>
|
|
83
|
+
<col_name>structVersion</col_name>
|
|
84
|
+
<col_valType>Int</col_valType>
|
|
85
|
+
</COL_REF>
|
|
34
86
|
<HOBJ_REF>
|
|
35
87
|
<uid>42C6605F250C9D439C33565F834F13AF</uid>
|
|
36
88
|
<name>SD.EM_EDA_Function</name>
|
|
37
89
|
<objType>STRUCTDEF</objType>
|
|
38
90
|
<valType>NAN</valType>
|
|
39
91
|
</HOBJ_REF>
|
|
92
|
+
<HOBJ_REF>
|
|
93
|
+
<uid>F99FEA614AC26F4AAD426BBF0DF61C98</uid>
|
|
94
|
+
<name>SD.EM_EDA_FunctionPrescription</name>
|
|
95
|
+
<objType>STRUCTDEF</objType>
|
|
96
|
+
<valType>NAN</valType>
|
|
97
|
+
</HOBJ_REF>
|
|
40
98
|
<HOBJ_REF>
|
|
41
99
|
<uid>368C6EC65CDE5C47942FAFADC8867589</uid>
|
|
42
100
|
<name>SD.EM_EDA_GroupVector</name>
|
|
43
101
|
<objType>STRUCTDEF</objType>
|
|
44
102
|
<valType>NAN</valType>
|
|
45
103
|
</HOBJ_REF>
|
|
104
|
+
<HOBJ_REF>
|
|
105
|
+
<uid>F9F3C9DD6FBD1C4BB64F318DC70F6DC3</uid>
|
|
106
|
+
<name>SD.EM_EDA_PairVector</name>
|
|
107
|
+
<objType>STRUCTDEF</objType>
|
|
108
|
+
<valType>NAN</valType>
|
|
109
|
+
</HOBJ_REF>
|
|
46
110
|
<HOBJ_REF>
|
|
47
111
|
<uid>AFC7C0F3EEC4744288BB210641AB1109</uid>
|
|
48
112
|
<name>SD.EM_EDA_Scenario</name>
|
|
@@ -82,7 +146,7 @@
|
|
|
82
146
|
<ParentId>SELF.EVH</ParentId>
|
|
83
147
|
<Value_Type>Int</Value_Type>
|
|
84
148
|
<CreateTime>19.03.2026 09:39:01.705</CreateTime>
|
|
85
|
-
<ModifyTime>
|
|
149
|
+
<ModifyTime>29.05.2026 12:47:47.721</ModifyTime>
|
|
86
150
|
<Text_Palette/>
|
|
87
151
|
<Read_Only>False</Read_Only>
|
|
88
152
|
<TECH_UNIT/>
|
|
@@ -134,6 +198,7 @@ PUBLIC PROCEDURE LoadVectorData(IN INT _id, RECORD NOALIAS(SD.EM_EDA_Vector) _da
|
|
|
134
198
|
_retCode := %GetLastExtErrorCode()
|
|
135
199
|
_errorMsg := "Error DBS_READ [" + %IToStr(_retCode) + "]"
|
|
136
200
|
_isOk := @FALSE
|
|
201
|
+
RETURN
|
|
137
202
|
ENDIF
|
|
138
203
|
|
|
139
204
|
DBS_READ DB.EM_EDA_VectorEx, _dataEx, _retCode, 1 WHERE "ID_Vektor = " + %IToStr(_id)
|
|
@@ -142,17 +207,19 @@ PUBLIC PROCEDURE LoadVectorData(IN INT _id, RECORD NOALIAS(SD.EM_EDA_Vector) _da
|
|
|
142
207
|
_retCode := %GetLastExtErrorCode()
|
|
143
208
|
_errorMsg := "Error DBS_READ [" + %IToStr(_retCode) + "]"
|
|
144
209
|
_isOk := @FALSE
|
|
210
|
+
RETURN
|
|
145
211
|
ELSIF _dataEx\DIM = 0 THEN
|
|
146
212
|
REDIM _dataEx[1]
|
|
147
213
|
ENDIF
|
|
148
214
|
|
|
149
|
-
IF _data\VLD & ((_data[1]^TYP >= 6 & _data[1]^TYP <= 8) | _data[1]^TYP = 10) THEN
|
|
215
|
+
IF _data\VLD & _data\DIM > 0 & ((_data[1]^TYP >= 6 & _data[1]^TYP <= 8) | _data[1]^TYP = 10) THEN
|
|
150
216
|
DBS_READ DB.EM_EDA_Function, _dataFunction, _retCode, 1 WHERE "ID_Vektor = " + %IToStr(_id)
|
|
151
217
|
|
|
152
218
|
IF _retCode # _ERR_NO_ERROR THEN
|
|
153
219
|
_retCode := %GetLastExtErrorCode()
|
|
154
220
|
_errorMsg := "Error DBS_READ [" + %IToStr(_retCode) + "]"
|
|
155
221
|
_isOk := @FALSE
|
|
222
|
+
RETURN
|
|
156
223
|
ELSIF _dataFunction\DIM = 0 THEN
|
|
157
224
|
REDIM _dataFunction[1]
|
|
158
225
|
ENDIF
|
|
@@ -163,6 +230,78 @@ PUBLIC PROCEDURE LoadVectorData(IN INT _id, RECORD NOALIAS(SD.EM_EDA_Vector) _da
|
|
|
163
230
|
_isOk := @TRUE
|
|
164
231
|
END LoadVectorData
|
|
165
232
|
|
|
233
|
+
PUBLIC PROCEDURE LoadPairVectorData(IN DB_HANDLE _hndl, IN INT _id, RECORD NOALIAS(SD.EM_EDA_PairVector) _data, BOOL _isOk, TEXT _errorMsg)
|
|
234
|
+
INT _retCode
|
|
235
|
+
TEXT _sql
|
|
236
|
+
|
|
237
|
+
CALL [E.EM_DETAIL_SQL] GetPairVectorDefinitionSql(_id, _sql, _isOk, _errorMsg) ON (%GetParentProcessHBJ())
|
|
238
|
+
|
|
239
|
+
IF !_isOk THEN
|
|
240
|
+
RETURN
|
|
241
|
+
ENDIF
|
|
242
|
+
|
|
243
|
+
SQL_PREPARE _hndl, _retCode, _sql BIND _data
|
|
244
|
+
|
|
245
|
+
IF _retCode # _ERR_NO_ERROR THEN
|
|
246
|
+
_isOk := @FALSE
|
|
247
|
+
_errorMsg := "Error SQL_PREPARE [" + %IToStr(_retCode) + "] " + _sql
|
|
248
|
+
LOG _errorMsg PRIORITY _LOG_PRTY_ERROR
|
|
249
|
+
RETURN
|
|
250
|
+
ENDIF
|
|
251
|
+
|
|
252
|
+
SQL_FETCH _hndl, _retCode
|
|
253
|
+
|
|
254
|
+
IF _retCode # _ERR_NO_ERROR & _retCode # _ERR_NO_DATA THEN
|
|
255
|
+
_isOk := @FALSE
|
|
256
|
+
_errorMsg := "Error SQL_FETCH [" + %IToStr(_retCode) + "] " + _sql
|
|
257
|
+
LOG _errorMsg PRIORITY _LOG_PRTY_ERROR
|
|
258
|
+
RETURN
|
|
259
|
+
ENDIF
|
|
260
|
+
|
|
261
|
+
_isOk := @TRUE
|
|
262
|
+
END LoadPairVectorData
|
|
263
|
+
|
|
264
|
+
PUBLIC PROCEDURE LoadDescriptiveVectorData(IN INT _id, RECORD NOALIAS(SD.EDA_DescriptiveData) _data, BOOL _isOk, TEXT _errorMsg)
|
|
265
|
+
INT _retCode
|
|
266
|
+
RECORD NOALIAS(SD.EDA_ReadDescriptiveVector_Params_V1) _params
|
|
267
|
+
|
|
268
|
+
_params^structVersion := 1
|
|
269
|
+
|
|
270
|
+
CALL %EDA_ReadDescriptiveVectorRec(_id, _data, _params, _retCode)
|
|
271
|
+
|
|
272
|
+
IF _retCode # _ERR_NO_ERROR THEN
|
|
273
|
+
_errorMsg := "Error reading descriptive vector data [" + %IToStr(_retCode) + "]"
|
|
274
|
+
_isOk := @FALSE
|
|
275
|
+
RETURN
|
|
276
|
+
ENDIF
|
|
277
|
+
|
|
278
|
+
_isOk := @TRUE
|
|
279
|
+
END LoadDescriptiveVectorData
|
|
280
|
+
|
|
281
|
+
PUBLIC PROCEDURE LoadCalcVectorData(IN INT _id, RECORD NOALIAS(SD.EM_EDA_FunctionPrescription) _data, TEXT _prescription, BOOL _isOk, TEXT _errorMsg)
|
|
282
|
+
RECORD NOALIAS (SD.EDA_ReadFunction_Params_V1) _params
|
|
283
|
+
INT _retCode
|
|
284
|
+
|
|
285
|
+
DBS_READ DB.EM_EDA_FunctionPrescription, _data, _retCode, 1 WHERE "ID_VEKTOR = " + %IToStr(_id)
|
|
286
|
+
|
|
287
|
+
IF _retCode # _ERR_NO_ERROR THEN
|
|
288
|
+
_retCode := %GetLastExtErrorCode()
|
|
289
|
+
_errorMsg := "Error DBS_READ [" + %IToStr(_retCode) + "]"
|
|
290
|
+
_isOk := @FALSE
|
|
291
|
+
RETURN
|
|
292
|
+
ENDIF
|
|
293
|
+
|
|
294
|
+
_params[1]^structVersion := 1
|
|
295
|
+
CALL %EDA_ReadFunctionRec(_id, _prescription, _params, _retCode)
|
|
296
|
+
IF _retCode # _ERR_NO_ERROR THEN
|
|
297
|
+
_errorMsg := "Error %EDA_ReadFunctionRec [" + %IToStr(_retCode) + "]"
|
|
298
|
+
_isOk := @FALSE
|
|
299
|
+
RETURN
|
|
300
|
+
ENDIF
|
|
301
|
+
|
|
302
|
+
_isOk := @TRUE
|
|
303
|
+
END LoadCalcVectorData
|
|
304
|
+
|
|
166
305
|
PUBLIC PROCEDURE LoadGroupData(IN INT _id, RECORD NOALIAS(SD.EM_EDA_GroupVector) _data, BOOL _isOk, TEXT _errorMsg)
|
|
167
306
|
INT _retCode
|
|
168
307
|
DBS_READ DB.EM_EDA_GroupVector, _data, _retCode, 1 WHERE "ID_SkVektor = " + %IToStr(_id)
|
|
@@ -171,6 +310,7 @@ PUBLIC PROCEDURE LoadGroupData(IN INT _id, RECORD NOALIAS(SD.EM_EDA_GroupVector)
|
|
|
171
310
|
_retCode := %GetLastExtErrorCode()
|
|
172
311
|
_errorMsg := "Error DBS_READ [" + %IToStr(_retCode) + "]"
|
|
173
312
|
_isOk := @FALSE
|
|
313
|
+
RETURN
|
|
174
314
|
ENDIF
|
|
175
315
|
|
|
176
316
|
_isOk := @TRUE
|
|
@@ -184,6 +324,7 @@ PUBLIC PROCEDURE LoadScenarioData(IN INT _id, RECORD NOALIAS(SD.EM_EDA_Scenario)
|
|
|
184
324
|
_retCode := %GetLastExtErrorCode()
|
|
185
325
|
_errorMsg := "Error DBS_READ [" + %IToStr(_retCode) + "]"
|
|
186
326
|
_isOk := @FALSE
|
|
327
|
+
RETURN
|
|
187
328
|
ENDIF
|
|
188
329
|
|
|
189
330
|
_isOk := @TRUE
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<valType>Int</valType>
|
|
15
15
|
</HOBJ_REF>
|
|
16
16
|
<HOBJ_REF>
|
|
17
|
-
<uid>
|
|
17
|
+
<uid>8953A177F3565E4CBF33A5EA147D2301</uid>
|
|
18
18
|
<name>SD.EM_Filter_Condition</name>
|
|
19
19
|
<objType>STRUCTDEF</objType>
|
|
20
20
|
<valType>NAN</valType>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<ParentId>SELF.EVH</ParentId>
|
|
42
42
|
<Value_Type>Int</Value_Type>
|
|
43
43
|
<CreateTime>11.03.2026 12:21:02.586</CreateTime>
|
|
44
|
-
<ModifyTime>
|
|
44
|
+
<ModifyTime>28.05.2026 14:29:24.268</ModifyTime>
|
|
45
45
|
<Text_Palette/>
|
|
46
46
|
<Read_Only>False</Read_Only>
|
|
47
47
|
<TECH_UNIT/>
|
|
@@ -196,12 +196,20 @@ RPC PROCEDURE FindScenarios(IN RECORD NOALIAS(SD.EM_Filter_Condition) _condition
|
|
|
196
196
|
END FindScenarios
|
|
197
197
|
|
|
198
198
|
;*********************************************************
|
|
199
|
-
;
|
|
199
|
+
; IncludeVectorToScenario
|
|
200
200
|
;*********************************************************
|
|
201
201
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
RPC PROCEDURE IncludeVectorToScenario(IN INT _scenarioId, IN INT _vectorId, BOOL _isOk, TEXT _errorMsg)
|
|
203
|
+
CALL [_unit] IncludeVectorToScenario(_scenarioId, _vectorId, _isOk, _errorMsg)
|
|
204
|
+
END IncludeVectorToScenario
|
|
205
|
+
|
|
206
|
+
;*********************************************************
|
|
207
|
+
; IncludeVectorToGroup
|
|
208
|
+
;*********************************************************
|
|
209
|
+
|
|
210
|
+
RPC PROCEDURE IncludeVectorToGroup(IN INT _groupId, IN INT _vectorId, BOOL _isOk, TEXT _errorMsg)
|
|
211
|
+
CALL [_unit] IncludeVectorToGroup(_groupId, _vectorId, _isOk, _errorMsg)
|
|
212
|
+
END IncludeVectorToGroup
|
|
205
213
|
|
|
206
214
|
;*********************************************************
|
|
207
215
|
;*********************************************************
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<ParentId>SELF.EVH</ParentId>
|
|
35
35
|
<Value_Type>Int</Value_Type>
|
|
36
36
|
<CreateTime>13.03.2026 14:45:11.232</CreateTime>
|
|
37
|
-
<ModifyTime>
|
|
37
|
+
<ModifyTime>08.06.2026 14:08:47.471</ModifyTime>
|
|
38
38
|
<Text_Palette/>
|
|
39
39
|
<Read_Only>False</Read_Only>
|
|
40
40
|
<TECH_UNIT/>
|
|
@@ -296,6 +296,17 @@ RPC PROCEDURE FindScenariosSql(IN TEXT _filter, TEXT _sql, BOOL _isOk, TEXT _err
|
|
|
296
296
|
_sql := _sql1 + " UNION " + _sql2
|
|
297
297
|
_isOk := @TRUE
|
|
298
298
|
END FindScenariosSql
|
|
299
|
+
|
|
300
|
+
RPC PROCEDURE GetVectorScenarioID(INT _nextId, BOOL _isOk, TEXT _errorMsg)
|
|
301
|
+
; CALL [E.MaxID_EDA] GetID_VektorScenar(_nextId, _isOk) ON (%GetParentProcessHBJ())
|
|
302
|
+
|
|
303
|
+
IF _isOk\VLD & !_isOk THEN
|
|
304
|
+
_errorMsg := "Failed to get new ID"
|
|
305
|
+
RETURN
|
|
306
|
+
ENDIF
|
|
307
|
+
|
|
308
|
+
_isOk := @TRUE
|
|
309
|
+
END GetVectorScenarioID
|
|
299
310
|
|
|
300
311
|
BEGIN
|
|
301
312
|
PRAGMA "ENABLE_INOUT_BY_REF"
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
2
|
<ROOT>
|
|
3
3
|
<REFERENCES>
|
|
4
|
+
<HOBJ_REF>
|
|
5
|
+
<uid>4C6512D86C4554429218AD7F8762440B</uid>
|
|
6
|
+
<name>DB.EM_EDA_VectorScenario</name>
|
|
7
|
+
<objType>DB_TABLE</objType>
|
|
8
|
+
<valType>NAN</valType>
|
|
9
|
+
</HOBJ_REF>
|
|
4
10
|
<HOBJ_REF>
|
|
5
11
|
<uid>A29EF060120E4E47AF01278AD1528641</uid>
|
|
6
12
|
<name>E.EM_NAVIGATOR_SQL</name>
|
|
@@ -8,7 +14,50 @@
|
|
|
8
14
|
<valType>Int</valType>
|
|
9
15
|
</HOBJ_REF>
|
|
10
16
|
<HOBJ_REF>
|
|
11
|
-
<uid>
|
|
17
|
+
<uid>229648068CDC26458D8A21EC9C1B2629</uid>
|
|
18
|
+
<name>EDA_UpdateVectorRec</name>
|
|
19
|
+
<objType>EXT_FNCT</objType>
|
|
20
|
+
<valType>Int</valType>
|
|
21
|
+
</HOBJ_REF>
|
|
22
|
+
<HOBJ_REF>
|
|
23
|
+
<uid>04F7ECC2F596F14888234E96D5F17471</uid>
|
|
24
|
+
<name>SD.EDA_UpdateVector_Params_V1</name>
|
|
25
|
+
<objType>STRUCTDEF</objType>
|
|
26
|
+
<valType>NAN</valType>
|
|
27
|
+
</HOBJ_REF>
|
|
28
|
+
<COL_REF>
|
|
29
|
+
<col_idx>7</col_idx>
|
|
30
|
+
<col_name>groupId</col_name>
|
|
31
|
+
<col_valType>Int</col_valType>
|
|
32
|
+
</COL_REF>
|
|
33
|
+
<COL_REF>
|
|
34
|
+
<col_idx>1</col_idx>
|
|
35
|
+
<col_name>structVersion</col_name>
|
|
36
|
+
<col_valType>Int</col_valType>
|
|
37
|
+
</COL_REF>
|
|
38
|
+
<HOBJ_REF>
|
|
39
|
+
<uid>C510A5FAD9454C48B8845C0495EB7A02</uid>
|
|
40
|
+
<name>SD.EM_EDA_VectorScenario</name>
|
|
41
|
+
<objType>STRUCTDEF</objType>
|
|
42
|
+
<valType>NAN</valType>
|
|
43
|
+
</HOBJ_REF>
|
|
44
|
+
<COL_REF>
|
|
45
|
+
<col_idx>1</col_idx>
|
|
46
|
+
<col_name>ID</col_name>
|
|
47
|
+
<col_valType>Int</col_valType>
|
|
48
|
+
</COL_REF>
|
|
49
|
+
<COL_REF>
|
|
50
|
+
<col_idx>3</col_idx>
|
|
51
|
+
<col_name>ID_SCENAR</col_name>
|
|
52
|
+
<col_valType>Int</col_valType>
|
|
53
|
+
</COL_REF>
|
|
54
|
+
<COL_REF>
|
|
55
|
+
<col_idx>2</col_idx>
|
|
56
|
+
<col_name>ID_VEKTOR</col_name>
|
|
57
|
+
<col_valType>Real</col_valType>
|
|
58
|
+
</COL_REF>
|
|
59
|
+
<HOBJ_REF>
|
|
60
|
+
<uid>8953A177F3565E4CBF33A5EA147D2301</uid>
|
|
12
61
|
<name>SD.EM_Filter_Condition</name>
|
|
13
62
|
<objType>STRUCTDEF</objType>
|
|
14
63
|
<valType>NAN</valType>
|
|
@@ -75,7 +124,7 @@
|
|
|
75
124
|
<ParentId>SELF.EVH</ParentId>
|
|
76
125
|
<Value_Type>Int</Value_Type>
|
|
77
126
|
<CreateTime>11.03.2026 12:20:57.326</CreateTime>
|
|
78
|
-
<ModifyTime>
|
|
127
|
+
<ModifyTime>28.05.2026 14:29:20.245</ModifyTime>
|
|
79
128
|
<Text_Palette/>
|
|
80
129
|
<Read_Only>False</Read_Only>
|
|
81
130
|
<TECH_UNIT/>
|
|
@@ -182,10 +231,6 @@ PUBLIC PROCEDURE GetGroupVectors(IN DB_HANDLE _hndl, IN INT _id, IN BOOL _showOm
|
|
|
182
231
|
INT _totalCount
|
|
183
232
|
TEXT _sql
|
|
184
233
|
|
|
185
|
-
IF !_id\VLD THEN
|
|
186
|
-
RETURN
|
|
187
|
-
ENDIF
|
|
188
|
-
|
|
189
234
|
CALL [E.EM_NAVIGATOR_SQL] GetGroupVectorsCountSql(_id, _showOmitted, _sql, _isOk, _errorMsg) ON (%GetParentProcessHBJ())
|
|
190
235
|
|
|
191
236
|
IF !_isOk THEN
|
|
@@ -428,6 +473,69 @@ PUBLIC PROCEDURE FindScenarios(IN DB_HANDLE _hndl, IN INT _count, IN RECORD NOAL
|
|
|
428
473
|
CALL GetItems(_hndl, _sql, _count, 0, _items, _isOk, _errorMsg)
|
|
429
474
|
END FindScenarios
|
|
430
475
|
|
|
476
|
+
;*********************************************************
|
|
477
|
+
; IncludeVectorToScenario
|
|
478
|
+
;*********************************************************
|
|
479
|
+
|
|
480
|
+
PUBLIC PROCEDURE IncludeVectorToScenario(IN INT _scenarioId, IN INT _vectorId, BOOL _isOk, TEXT _errorMsg)
|
|
481
|
+
INT _retCode
|
|
482
|
+
RECORD NOALIAS (SD.EM_EDA_VectorScenario) _data
|
|
483
|
+
|
|
484
|
+
IF !_scenarioId\VLD | !_vectorId\VLD THEN
|
|
485
|
+
_isOk := @FALSE
|
|
486
|
+
_errorMsg := "Invalid index"
|
|
487
|
+
RETURN
|
|
488
|
+
ENDIF
|
|
489
|
+
|
|
490
|
+
CALL [E.EM_NAVIGATOR_SQL] GetVectorScenarioID(_data^ID, _isOk, _errorMsg) ON (%GetParentProcessHBJ())
|
|
491
|
+
|
|
492
|
+
IF !_isOk THEN
|
|
493
|
+
RETURN
|
|
494
|
+
ENDIF
|
|
495
|
+
|
|
496
|
+
_data^ID_SCENAR := _scenarioId
|
|
497
|
+
_data^ID_VEKTOR := _vectorId
|
|
498
|
+
|
|
499
|
+
DBS_INSERT DB.EM_EDA_VectorScenario, _data[1], _retCode
|
|
500
|
+
|
|
501
|
+
IF _retCode # _ERR_NO_ERROR THEN
|
|
502
|
+
_isOk := @FALSE
|
|
503
|
+
_errorMsg := "Failed to insert with error " + %IToStr(_retCode)
|
|
504
|
+
RETURN
|
|
505
|
+
ENDIF
|
|
506
|
+
|
|
507
|
+
_isOk := @TRUE
|
|
508
|
+
END IncludeVectorToScenario
|
|
509
|
+
|
|
510
|
+
;*********************************************************
|
|
511
|
+
; IncludeVectorToGroup
|
|
512
|
+
;*********************************************************
|
|
513
|
+
|
|
514
|
+
PUBLIC PROCEDURE IncludeVectorToGroup(IN INT _groupId, IN INT _vectorId, BOOL _isOk, TEXT _errorMsg)
|
|
515
|
+
INT _retCode
|
|
516
|
+
RECORD NOALIAS (SD.EDA_UpdateVector_Params_V1) _params
|
|
517
|
+
|
|
518
|
+
IF !_groupId\VLD | !_vectorId\VLD THEN
|
|
519
|
+
_isOk := @FALSE
|
|
520
|
+
_errorMsg := "Invalid index"
|
|
521
|
+
RETURN
|
|
522
|
+
ENDIF
|
|
523
|
+
|
|
524
|
+
_params^structVersion := 1
|
|
525
|
+
_params^groupId := _groupId
|
|
526
|
+
|
|
527
|
+
CALL %EDA_UpdateVectorRec(_vectorId, _params, _retCode)
|
|
528
|
+
|
|
529
|
+
IF _retCode # _ERR_NO_ERROR THEN
|
|
530
|
+
_retCode := %GetLastExtErrorCode()
|
|
531
|
+
_errorMsg := "Error while updating vector [" + %IToStr(_retCode) + "]"
|
|
532
|
+
_isOk := @FALSE
|
|
533
|
+
RETURN
|
|
534
|
+
ENDIF
|
|
535
|
+
|
|
536
|
+
_isOk := @TRUE
|
|
537
|
+
END IncludeVectorToGroup
|
|
538
|
+
|
|
431
539
|
;*********************************************************
|
|
432
540
|
; GetGroupCount
|
|
433
541
|
;*********************************************************
|
|
@@ -8,14 +8,26 @@
|
|
|
8
8
|
<valType>Int</valType>
|
|
9
9
|
</HOBJ_REF>
|
|
10
10
|
<HOBJ_REF>
|
|
11
|
-
<uid>
|
|
12
|
-
<name>SD.
|
|
11
|
+
<uid>D28BD988FC3A474E8989005B31979309</uid>
|
|
12
|
+
<name>SD.EDA_DescriptiveData2</name>
|
|
13
|
+
<objType>STRUCTDEF</objType>
|
|
14
|
+
<valType>NAN</valType>
|
|
15
|
+
</HOBJ_REF>
|
|
16
|
+
<HOBJ_REF>
|
|
17
|
+
<uid>D6B6A1983192BD46A02D063E40A0E0C0</uid>
|
|
18
|
+
<name>SD.EDA_PairData</name>
|
|
13
19
|
<objType>STRUCTDEF</objType>
|
|
14
20
|
<valType>NAN</valType>
|
|
15
21
|
</HOBJ_REF>
|
|
16
22
|
<HOBJ_REF>
|
|
17
|
-
<uid>
|
|
18
|
-
<name>SD.
|
|
23
|
+
<uid>4388DB083FCC164BBCB0DF4C79593FC1</uid>
|
|
24
|
+
<name>SD.EDA_VectorData</name>
|
|
25
|
+
<objType>STRUCTDEF</objType>
|
|
26
|
+
<valType>NAN</valType>
|
|
27
|
+
</HOBJ_REF>
|
|
28
|
+
<HOBJ_REF>
|
|
29
|
+
<uid>88D757FB3AD367478EDD36D2EC77BC26</uid>
|
|
30
|
+
<name>SD.EM_EDA_VectorStats</name>
|
|
19
31
|
<objType>STRUCTDEF</objType>
|
|
20
32
|
<valType>NAN</valType>
|
|
21
33
|
</HOBJ_REF>
|
|
@@ -35,7 +47,7 @@
|
|
|
35
47
|
<ParentId>SELF.EVH</ParentId>
|
|
36
48
|
<Value_Type>Int</Value_Type>
|
|
37
49
|
<CreateTime>08.04.2026 07:43:45.523</CreateTime>
|
|
38
|
-
<ModifyTime>
|
|
50
|
+
<ModifyTime>04.06.2026 11:31:01.401</ModifyTime>
|
|
39
51
|
<Text_Palette/>
|
|
40
52
|
<Read_Only>False</Read_Only>
|
|
41
53
|
<TECH_UNIT/>
|
|
@@ -81,10 +93,22 @@
|
|
|
81
93
|
|
|
82
94
|
UNIT (E.EM_VECTOR_UNIT) _unit
|
|
83
95
|
|
|
84
|
-
RPC PROCEDURE ReadValuesFromVector(IN INT _id, IN TIME _from, IN TIME _to, IN INT _step, RECORD NOALIAS(SD.
|
|
96
|
+
RPC PROCEDURE ReadValuesFromVector(IN INT _id, IN TIME _from, IN TIME _to, IN INT _step, RECORD NOALIAS(SD.EDA_VectorData) _data, RECORD NOALIAS(SD.EM_EDA_VectorStats) _stats, BOOL _isOk, TEXT _errorMsg)
|
|
85
97
|
CALL [_unit] ReadValuesFromVector(_id, _from, _to, _step, _data, _stats, _isOk, _errorMsg)
|
|
86
98
|
END ReadValuesFromVector
|
|
87
99
|
|
|
100
|
+
RPC PROCEDURE InsertValuesToVector(IN INT _id, IN RECORD NOALIAS(SD.EDA_VectorData) _data, BOOL _isOk, TEXT _errorMsg)
|
|
101
|
+
CALL [_unit] InsertValuesToVector(_id, _data, _isOk, _errorMsg)
|
|
102
|
+
END InsertValuesToVector
|
|
103
|
+
|
|
104
|
+
RPC PROCEDURE ReadValuesFromPairVector(IN INT _id, IN TIME _from, IN TIME _to, IN INT _step, RECORD NOALIAS(SD.EDA_PairData) _data, BOOL _isOk, TEXT _errorMsg)
|
|
105
|
+
CALL [_unit] ReadValuesFromPairVector(_id, _from, _to, _step, _data, _isOk, _errorMsg)
|
|
106
|
+
END ReadValuesFromPairVector
|
|
107
|
+
|
|
108
|
+
RPC PROCEDURE GetValuesForDescriptiveVector(IN RECORD NOALIAS(SD.EDA_DescriptiveData2) _definition, IN TIME _from, IN TIME _to, IN INT _step, IN INT _integral, RECORD NOALIAS(SD.EDA_VectorData) _values,BOOL _isOk, TEXT _errorMsg)
|
|
109
|
+
CALL [_unit] GetValuesForDescriptiveVector(_definition, _from, _to, _step, _integral, _values, _isOk, _errorMsg)
|
|
110
|
+
END GetValuesForDescriptiveVector
|
|
111
|
+
|
|
88
112
|
BEGIN
|
|
89
113
|
PRAGMA "ENABLE_INOUT_BY_REF"
|
|
90
114
|
END
|