What | SystemMonitorDisplay.xml |
---|---|
Required | no |
Description | Definitions of optional elements of the system monitor |
schema location |
Entry in DisplayDescriptors
<displayDescriptor id="SystemMonitorDisplay">
<description>SystemMonitorDisplay</description>
<className>nl.wldelft.fews.gui.plugin.systemmonitor.SystemMonitorDialog</className>
</displayDescriptor>
h3 Description
Configuration file for the optional elements of the System Monitor display. These are:
...
Table of Contents |
---|
Description
Configuration file for the optional elements of the System Monitor display. These are:
- Import Status Tab
- Export Status Tab
- Bulletin board
Configuration
importStatus
The Import Status Tab shows the last time a data type has been imported and can be colour coded based on the amount of time since the last import. An example file is attached.
description
Optional description
tabName
Required element that defines the name of the tab in the user interface.
tabMnemonic
Optional Mnemomic for the tab.
visibleColumns
Optional element with sub elements to control the visibility of the workflow and suspended columns.
defaultTimeThreshold
Default color coding for all datafeeds. The next element (extraTimeThreshold) can override these settings per datafeed.
Each timeThreshold element (see figure above) indicates a minimum age needed to switch to a certain colour.
extraTimeThreshold
This element is similar to the defaultTimeThreshold element. However, in this case the colours are defined separately for each datafeedId.
Note |
---|
The datafeedId is defined in the import module. If no datafeedId is configured in the Import module the directory from which the files have been imported is used. |
exportStatus
The Export Status Tab shows the last time a data type has been exported and can be colour coded based on the amount of time since the last export.
description
Optional description
tabName
Required element that defines the name of the tab in the user interface.
tabMnemonic
Optional Mnemomic for the tab.
visibleColumns
Optional element with sub elements to control the visibility of the workflow and suspended columns.
defaultTimeThreshold and extraTimeThreshold
These are configured in the same way as the time thresholds for the import status tab above.
bulletinBoard
The bulletinBoard tab allows users to manually add log messages to the system. In order to use this the following should be added to the configuration file:
Code Block | ||||
---|---|---|---|---|
| ||||
<bulletinBoard>
<tabName>Bulletin Board</tabName>
<tabMnemonic>B</tabMnemonic>
</bulletinBoard>
|
The tabname and Mnemonic can be configured. A complete example is attached.
Running Forecast
In the running tasks tab of the System monitor the task details can be displayed. To enable this, two config settings are necessary.
1. In the Workflow file the option ‘<completed>’ should be configured after each module instance
Code Block |
---|
<activity>
<runIndependent>true</runIndependent>
<moduleInstanceId>CanadaMeteo</moduleInstanceId>
</activity>
<completed>
<moduleInstanceId>CanadaMeteo</moduleInstanceId>
</completed> |
2. In the module instance descriptors ‘updateModuleRunTimesOnCompletion’ needs to be enabled.
Code Block |
---|
<moduleInstanceDescriptor id="CanadaMeteo">
<updateModuleRunTimesOnCompletion>true</updateModuleRunTimesOnCompletion>
</moduleInstanceDescriptor> |