Contest definition

From DXLog.net
Revision as of 13:30, 7 February 2014 by 9a5k (talk | contribs)
Jump to navigation Jump to search

Description

Rules for each of the contests are more or less different from each other.
It can be difference in points per qso calculations, multiplier determination and calculations etc.

To support all these different rules and to allow easier adding / changing contest rules in DXLog.net, all parameters in contest rules are defined and controlled through contest config files.
Contest config files are plain text files which are installed in Contest sub-folder in DXLog.net installation folder.

When application is started, content of Contest folder is copied into ApplicationData folder in your Windows OS.
During copying process, DXLog.net compares modify date of each file in installation folder with version in ApplicationData folder.
If newer version already exists in ApplicationData folder, file wouldn't be copied there.

User can change existing or create new files in Application folder, in case it is needed for some testing purposes, or if user wants to create new contest definition file to support some new contest.

File structure

Each line in contest config file usually contains of KEY + VALUE pairs.
This pair is separated by "=" sign.
For example:

 CONTEST-NAME=9A CW 
This means that field KEY is CONTEST-NAME, and 9A CW is value for that field.


Keys