Updated the xml reader to pull in the rounding type of the compound marks and set each mark with that value

#story[1101]
This commit is contained in:
hba56
2017-08-04 22:01:21 +12:00
parent f212414bd9
commit be8b0e672d
4 changed files with 72 additions and 1 deletions
@@ -0,0 +1,34 @@
package shared.enums;
/**
* Enum for the types of rounding that can be done
*/
public enum RoundingType {
/**
* This is means it must be rounded port side
*/
Port,
/**
* This is means it must be rounded starboard side
*/
Starboard,
/**
* The boat within the compound mark with the SeqID
* of 1 should be rounded to starboard and the boat
* within the compound mark with the SeqID of 2 should
* be rounded to port.
*/
SP,
/**
* The boat within the compound mark with the SeqID
* of 1 should be rounded to port and the boat
* within the compound mark with the SeqID of 2 should
* be rounded to starboard.
*
* opposite of SP
*/
PS;
}