Versions Compared

Key

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

...

  • In order to hide the year within FEWS, the dateTimeFormat must be configured accordingly in the dateTime section of the FEWS configuration file Explorer.xml.
  • The cardinalTimeStep, as configured in the dateTime section of the FEWS configuration file Explorer.xml{}color, should be consistent with FewsSystemTimeUpdateInMinutes. Indeed, it makes no sense to set it in the FEWS Game to 1 minute, while it is set to 1 hour in the FEWS configuration (although this will not cause any problems in the game).
  • Since all data for a scenario is pre-loaded in the FEWS local data store, it is desirable to hide certain data after the current system time, e.g. measurement data. This can be accomplished by specifying hideExternalHistoricalAfterSystemTime=true in the file global.properties, which is located in the FEWS configuration directory.
  • The port number FewsPiPortNumber for the FEWS PI service has to be in the range of port numbers that must be specified in the FEWS configuration file Explorer.xml in the directory SystemConfigFiles, e.g.
    Code Block
    xml
    xml
    <piServicePortRange start="8100" end="8200"/>
  • To distinguish the FEWS configuration for the FEWS Game, one could change the name and panel labels in Explorer.xml, which you will find in the directory SystemConfigFiles. The name of the Explorer window is configured with systemCaption and the name of the panels with panelHeaderLabels. For example, the term TRAINING or SERIOUS GAME could be added to the captions of these panels.
  • Depending on the set-up of the Scenario and script database, an additional change could be required, see Scenario and script database.

Aan al deze namen zou je iets van TRAINING of SERIOUS GAME kunnen toevoegen.

Example

Code Block
xml
xml
titleExample of application configuration
   <?xml version="1.0" encoding="UTF-8"?>
   <Config xmlns="http://localhost" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://localhost ../../../../../xml-schemas/application_config.xsd">
   <Name>Example of application configuration</Name>
   <Locale>EN</Locale>
   <HideYear>true</HideYear>
   <FewsExecutable>FEWS\bin\FewsNoordzee_SA.exe</FewsExecutable>
   <FewsRegionDir>FEWS\FewsNoordzee_SA</FewsRegionDir>
   <FewsSystemTimeUpdateInMinutes>1</FewsSystemTimeUpdateInMinutes>
   <ScenarioDatabasePath>ScenarioDatabase<<ScenarioDatabasePath>ScenarioDatabase\Noordzee</ScenarioDatabasePath>
   <FileAssociation extension="pdf">C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe</FileAssociation>
   <TimeControl>
      <Pause>true</Pause>
      <Next>false</Next>
      <FastForwardBackward>true</FastForwardBackward>
   </TimeControl>
   <FewsPiPortNumber>8100</FewsPiPortNumber>