|
| 1 | +<layout-row id="RowLayout1"> |
| 2 | + <layout-column id="ColumnLayout1" style="align-items:stretch"> |
| 3 | + <stacked-view id="SV_Login"> |
| 4 | + <stacked-pane id="SP_LoginOK" value="true"> |
| 5 | + <layout-column id="Column_PersistentData" |
| 6 | + class="myCustomFrame_CSK_Module_IODDInterpreter" |
| 7 | + style="align-items: stretch"> |
| 8 | + <layout-row id="RowLayout4" |
| 9 | + style="justify-content: space-between; align-items: center"> |
| 10 | + <layout-column id="ColumnLayout5" style="align-items: stretch"> |
| 11 | + <davinci-value-display id="VD_ParameterName" value="Parameter name:" |
| 12 | + title="Name of the parameters within the CSK_PersistentData module to be uses for this module."> |
| 13 | + </davinci-value-display> |
| 14 | + </layout-column> |
| 15 | + <layout-column id="ColumnLayout6" style="align-items: stretch"> |
| 16 | + <davinci-text-field id="TF_ParameterName" type="text" |
| 17 | + title="Name of the parameters within the CSK_PersistentData module to be uses for this module."> |
| 18 | + <crown-edpws-binding property="value" |
| 19 | + name="CSK_IODDInterpreter/OnNewParameterName" update-on-resume> |
| 20 | + </crown-edpws-binding> |
| 21 | + <crown-binding event="change" name="CSK_IODDInterpreter/setParameterName" |
| 22 | + path="param/args/name" auto-commit> |
| 23 | + </crown-binding> |
| 24 | + <crown-edpws-binding property="disabled" |
| 25 | + name="CSK_IODDInterpreter/OnPersistentDataModuleAvailable" |
| 26 | + update-on-resume converter="function(value) {return !value;}"> |
| 27 | + </crown-edpws-binding> |
| 28 | + </davinci-text-field> |
| 29 | + </layout-column> |
| 30 | + </layout-row> |
| 31 | + <layout-row id="RowLayout2" |
| 32 | + style="justify-content: space-between; align-items: center"> |
| 33 | + <davinci-value-display id="VD_LoadConfig" |
| 34 | + value="Load config on app start:" |
| 35 | + title="Load configured parameters from CSK_PersistentData on app start."> |
| 36 | + </davinci-value-display> |
| 37 | + <davinci-checkbox id="CB_LoadConfig" |
| 38 | + title="Load configured parameters from CSK_PersistentData on app start."> |
| 39 | + <span></span> |
| 40 | + <crown-edpws-binding property="checked" |
| 41 | + name="CSK_IODDInterpreter/OnNewStatusLoadParameterOnReboot" |
| 42 | + update-on-resume> |
| 43 | + </crown-edpws-binding> |
| 44 | + <crown-edpws-binding property="disabled" |
| 45 | + name="CSK_IODDInterpreter/OnPersistentDataModuleAvailable" |
| 46 | + update-on-resume converter="function(value) {return !value;}"> |
| 47 | + </crown-edpws-binding> |
| 48 | + <crown-binding event="change" name="CSK_IODDInterpreter/setLoadOnReboot" |
| 49 | + path="param/args/status" auto-commit> |
| 50 | + </crown-binding> |
| 51 | + </davinci-checkbox> |
| 52 | + </layout-row> |
| 53 | + <layout-row id="RowLayout3"> |
| 54 | + <layout-column id="ColumnLayout3" style="align-items: stretch"> |
| 55 | + <davinci-button id="B_LoadConfig" type="primary" |
| 56 | + icon-position="append" |
| 57 | + title="Load configured parameters from CSK_PersistentData module."> |
| 58 | + <span>Load Config</span> |
| 59 | + <crown-binding event="submit" name="CSK_IODDInterpreter/loadParameters" |
| 60 | + auto-commit> |
| 61 | + </crown-binding> |
| 62 | + <crown-edpws-binding property="disabled" |
| 63 | + name="CSK_IODDInterpreter/OnPersistentDataModuleAvailable" |
| 64 | + update-on-resume converter="function(value) {return !value;}"> |
| 65 | + </crown-edpws-binding> |
| 66 | + </davinci-button> |
| 67 | + </layout-column> |
| 68 | + <layout-column id="ColumnLayout4" style="align-items: stretch"> |
| 69 | + <davinci-button id="B_SaveConfig" type="primary" |
| 70 | + icon-position="append" |
| 71 | + title="Save current configured parameters of this module within CSK_PersistentData module."> |
| 72 | + <span>Save Config</span> |
| 73 | + <crown-binding event="submit" name="CSK_IODDInterpreter/sendParameters" |
| 74 | + auto-commit> |
| 75 | + </crown-binding> |
| 76 | + <crown-edpws-binding property="disabled" |
| 77 | + name="CSK_IODDInterpreter/OnPersistentDataModuleAvailable" |
| 78 | + update-on-resume converter="function(value) {return !value;}"> |
| 79 | + </crown-edpws-binding> |
| 80 | + </davinci-button> |
| 81 | + </layout-column> |
| 82 | + </layout-row> |
| 83 | + </layout-column> |
| 84 | + </stacked-pane> |
| 85 | + <stacked-pane id="SP_LoginNotOK" value="false"> |
| 86 | + <davinci-callout id="Callout1" type="info"> |
| 87 | + <span> |
| 88 | + Please log in via CSK_UserManagement module (at least via user level "Operator") |
| 89 | + </span> |
| 90 | + </davinci-callout> |
| 91 | + </stacked-pane> |
| 92 | + <crown-edpws-binding property="value" |
| 93 | + name="CSK_IODDInterpreter/OnUserLevelOperatorActive" update-on-resume |
| 94 | + converter="function(value) {return value.toString();}"> |
| 95 | + </crown-edpws-binding> |
| 96 | + </stacked-view> |
| 97 | + <stacked-view id="SV_PageCalled"> |
| 98 | + <crown-binding property="value" name="CSK_IODDInterpreter/pageCalled" |
| 99 | + path="result/data/empty" auto-update="0" update-on-resume> |
| 100 | + </crown-binding> |
| 101 | + </stacked-view> |
| 102 | + </layout-column> |
| 103 | + <layout-column id="ColumnLayout2" style="flex-grow:3"> |
| 104 | + </layout-column> |
| 105 | + |
| 106 | +</layout-row> |
0 commit comments