C3Fire

Config Include Files

From C3LearningLabs


Config Include

The configuration file can be splitted in a set of files each containing a specific configuration.

The used configuration include files are defined in the <Config> element in the session main configuration file.

<Config
  Type = "ForestFire"
  ConfigIncludeFile_ComunicationUI = "CanSwe1-UICom.coni"
  ConfigIncludeFile_ComunicationUIEvents = "CanSwe1-UIComEvents.coni"
  ConfigIncludeFile_MapObjectTypes = "CanSwe1-ObjectTypes.coni"
  ConfigIncludeFile_MapObjectsPos = "CanSwe1-MapObjectsPos.coni"
  ConfigIncludeFile_People = "CanSwe1-People.coni"
  ConfigIncludeFile_PeoplePos = "CanSwe1-PeoplePos.coni"
  ConfigIncludeFile_Roles = "CanSwe1-Roles.coni"
  ConfigIncludeFile_RolesScrollPos = "CanSwe1-RolesScrollPos.coni"
  ConfigIncludeFile_StationActivityControlsUI = "CanSwe1-UIStationsActivity.coni"
  ConfigIncludeFile_Stations = "CanSwe1-Stations.coni"
  ConfigIncludeFile_UAVsPos = "CanSwe1-UAVsPos.coni"
  ConfigIncludeFile_UnitInfoUI = "CanSwe1-UnitInfoUI.coni"
  ConfigIncludeFile_Units = "CanSwe1-Units.coni"
  ConfigIncludeFile_UnitsPos = "CanSwe1-UnitsPos.coni"
  ConfigIncludeFile_UserInterface = "CanSwe1-UIMain-Mac.coni"
  ConfigIncludeFile_UserInterfaceGlobal = "CanSwe1-UIGlobal.coni"
  ConfigIncludeFile_VehicleActivityControlsUI = "CanSwe1-UIVehiclesActivity.coni"
  ConfigIncludeFile_Vehicles = "CanSwe1-Vehicles.coni"
  Version = "4.0.1" >

The <Config> element contain file names for the included files.
These files should contain the configuration xml elements defined in the table below.

To use the include files, create a folder with the name of the configuration.
That folder should contain one main configuration file with extension .con.
Example:

  • CanSwe1.con


Put all the configuration include files in that folder.
The configuration include files name should have an .coni extension
Example on file names:

  • CanSwe1-UICom.coni
  • CanSwe1-UIComEvents.coni
  • CanSwe1-ObjectTypes.coni
  • CanSwe1-MapObjectsPos.coni
  • CanSwe1-People.coni
  • CanSwe1-PeoplePos.coni
  • CanSwe1-Roles.coni
  • CanSwe1-RolesScrollPos.coni
  • CanSwe1-UIStationsActivity.coni
  • CanSwe1-Stations.coni
  • CanSwe1-UAVsPos.coni
  • CanSwe1-UnitInfoUI.coni
  • CanSwe1-Units.coni
  • CanSwe1-UnitsPos.coni
  • CanSwe1-UIMain-Mac.coni
  • CanSwe1-UIGlobal.coni
  • CanSwe1-UIVehiclesActivity.coni
  • CanSwe1-Vehicles.coni


The include files should contain the following cofiguration:

Configuration Include Files Properties

File

Should contain following configurations

System

ConfigIncludeFile_ComunicationUI

<ComunicationUIs> ... </ComunicationUIs>

C3Fire
C3Rescue
C3Conflict

ConfigIncludeFile_ComunicationUIEvents

<ComunicationUIEvents> ... </ComunicationUIEvents>

C3Fire
C3Rescue
C3Conflict

ConfigIncludeFile_MapObjectTypes

<ObjectTypes> ... </ObjectTypes>

C3Fire
C3Rescue
C3Conflict

ConfigIncludeFile_MapObjectsPos

<Objects> ... </Objects>
<DisplayObjects> ... </DisplayObjects>

C3Fire
C3Rescue
C3Conflict

ConfigIncludeFile_People

<PeopleConfig/>
<PersonTypes> ... </PersonTypes>

C3Fire

ConfigIncludeFile_PeoplePos

<Persons> ... </Persons>

C3Fire

ConfigIncludeFile_Roles

<Roles> ... </Roles>

C3Fire
C3Rescue
C3Conflict

ConfigIncludeFile_RolesScrollPos

<RolesScrollPos> ... </RolesScrollPos>

C3Fire
C3Rescue
C3Conflict

ConfigIncludeFile_StationActivityControlsUI

<StationActivityControlsUI> ... </StationActivityControlsUI>

C3Rescue
C3Conflict

ConfigIncludeFile_Stations

<Stations> ... </Stations>

C3Rescue
C3Conflict

ConfigIncludeFile_UAVsPos

<UAVsPos> ... </UAVsPos>

C3Fire

ConfigIncludeFile_UnitInfoUI

<UnitInfoDisplay> ... </UnitInfoDisplay>

C3Fire

ConfigIncludeFile_Units

<Units> ... </Units>

C3Fire

ConfigIncludeFile_UnitsPos

<UnitsPos> ... </UnitsPos>

C3Fire

ConfigIncludeFile_UserInterface

<UserInterfaceLayout> ... </UserInterfaceLayout>
<ManagerConfig> ... </ManagerConfig>
<ObserverConfig> ... </ObserverConfig>
<ReplayConfig> ... </ReplayConfig>
<AnalysisConfig> ... </AnalysisConfig>
<UnitInfoDisplay> ... </UnitInfoDisplay>

C3Fire
C3Rescue
C3Conflict

ConfigIncludeFile_UserInterfaceGlobal

<UserInterfaceGlobal> ... </UserInterfaceGlobal>

C3Fire

ConfigIncludeFile_VehicleActivityControlsUI

<VehicleActivityControlsUI> ... </VehicleActivityControlsUI>

C3Rescue
C3Conflict

ConfigIncludeFile_Vehicles

<Vehicles> ... </Vehicles>

C3Rescue
C3Conflict