Skip to content

Commit 0850bb3

Browse files
# Release 1.1.0 (#2)
# Release 1.1.0 ## Improvement - New event "OnNewStatusFlowConfigReady" to state that module is ready after creating manifest for BlocksEditor (might be relevant for other modules)
1 parent 2030584 commit 0850bb3

5 files changed

Lines changed: 86 additions & 49 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## Release 1.1.0
5+
6+
### Improvement
7+
- New event "OnNewStatusFlowConfigReady" to state that module is ready after creating manifest for BlocksEditor (might be relevant for other modules)
8+
49
## Release 1.0.0
510
- Initial commit

CSK_Module_FlowConfig/project.mf.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ Check the UI of this CSK module to configure the system. +</desc>
108108
<desc>Notify if information of FlowConfig should be shown on UI page reload.</desc>
109109
<param desc="Status" multiplicity="1" name="status" type="bool"/>
110110
</event>
111+
<event name="OnNewStatusFlowConfigReady">
112+
<desc>Notify that FlowConfig module is ready.</desc>
113+
</event>
111114
<function name="setParameterName">
112115
<desc>Function to set the name of the parameters if saved/loaded via the CSK_PersistentData module.</desc>
113116
<param desc="Name of the parameter." multiplicity="1" name="name" type="string"/>
@@ -230,7 +233,7 @@ Will send current timestamp as 2nd parameter.</desc>
230233
</crown>
231234
</crown>
232235
<meta key="author">SICK AG</meta>
233-
<meta key="version">1.0.0</meta>
236+
<meta key="version">1.1.0</meta>
234237
<meta key="priority">low</meta>
235238
<meta key="copy-protected">false</meta>
236239
<meta key="read-protected">false</meta>

CSK_Module_FlowConfig/scripts/CSK_Module_FlowConfig.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ local function main()
6868
flowConfig_Model.checkForSaveAllConfigFeature()
6969
end
7070

71+
-- State that FlowConfig module is ready (info might be needed for some other modules)
72+
Script.notifyEvent('FlowConfig_OnNewStatusFlowConfigReady')
73+
7174
CSK_FlowConfig.pageCalled() -- Update UI
7275

7376
end

CSK_Module_FlowConfig/scripts/Communication/FlowConfig/FlowConfig_Controller.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Script.serveEvent('CSK_FlowConfig.OnNewValue', 'FlowConfig_OnNewValue')
4242
Script.serveEvent('CSK_FlowConfig.OnNewStatusModuleVersion', 'FlowConfig_OnNewStatusModuleVersion')
4343
Script.serveEvent('CSK_FlowConfig.OnNewStatusCSKStyle', 'FlowConfig_OnNewStatusCSKStyle')
4444
Script.serveEvent('CSK_FlowConfig.OnNewStatusModuleIsActive', 'FlowConfig_OnNewStatusModuleIsActive')
45+
Script.serveEvent('CSK_FlowConfig.OnNewStatusFlowConfigReady', 'FlowConfig_OnNewStatusFlowConfigReady')
4546

4647
Script.serveEvent('CSK_FlowConfig.OnNewStatusFlowActiveUIInfo', 'FlowConfig_OnNewStatusFlowActiveUIInfo')
4748

0 commit comments

Comments
 (0)