Added device type enumerations as static ints for BoatLocationMessage.
#story[778]
This commit is contained in:
@@ -23,6 +23,21 @@ public class BoatLocationMessage
|
|||||||
|
|
||||||
///Device type of the message (physical source of the message).
|
///Device type of the message (physical source of the message).
|
||||||
private byte deviceType;
|
private byte deviceType;
|
||||||
|
public static final int Unknown = 0;
|
||||||
|
public static final int RacingYacht = 1;
|
||||||
|
public static final int CommitteeBoat = 2;
|
||||||
|
public static final int Mark = 3;
|
||||||
|
public static final int Pin = 4;
|
||||||
|
public static final int ChaseBoat = 5;
|
||||||
|
public static final int MedicalBoat = 6;
|
||||||
|
public static final int MarshallBoat = 7;
|
||||||
|
public static final int UmpireBoat = 8;
|
||||||
|
public static final int UmpireSoftwareApplication = 9;
|
||||||
|
public static final int PrincipalRaceOfficerApplication = 10;
|
||||||
|
public static final int WeatherStation = 11;
|
||||||
|
public static final int Helicopter = 12;
|
||||||
|
public static final int DataProcessingApplication = 13;
|
||||||
|
|
||||||
|
|
||||||
///Latitude of the boat.
|
///Latitude of the boat.
|
||||||
private int latitude;
|
private int latitude;
|
||||||
@@ -74,7 +89,7 @@ public class BoatLocationMessage
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ctor.
|
* Ctor. Default.
|
||||||
*/
|
*/
|
||||||
public BoatLocationMessage()
|
public BoatLocationMessage()
|
||||||
{
|
{
|
||||||
@@ -132,7 +147,7 @@ public class BoatLocationMessage
|
|||||||
|
|
||||||
//Getters and setters for message properties.
|
//Getters and setters for message properties.
|
||||||
|
|
||||||
|
|
||||||
public byte getMessageVersionNumber()
|
public byte getMessageVersionNumber()
|
||||||
{
|
{
|
||||||
return messageVersionNumber;
|
return messageVersionNumber;
|
||||||
|
|||||||
Reference in New Issue
Block a user