Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


What

SystemMonitorDisplay.xml

Required

no

Description

Definitions of optional elements of the system monitor

schema location

http

https://

fews

fewsdocs.

wldelft

deltares.nl/schemas/version1.0/systemMonitorDisplay.xsd

Entry in DisplayDescriptors

<displayDescriptor id="SystemMonitorDisplay">
<description>SystemMonitorDisplay</description>
<className>nl.wldelft.fews.gui.plugin.systemmonitor.SystemMonitorDialog</className>

</displayDescriptor>

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

...

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 timeTreshold timeThreshold element (see figure above) indicates a minimum age needed to switch to a certain colour.

...

This element is similar to the defaultTimeThreshold element. HowevereHowever, 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:

noformat
Code Block
xml
xml

	<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>