|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbt747.model.AppSettings
public class AppSettings
Field Summary | |
---|---|
static int |
ADVFILTACTIVE
|
static int |
AGPSURL
AGPS external link. |
static int |
BAUDRATE
|
static java.lang.String |
C_GMAP_KEY_FILENAME
Google map file name (basename). |
static int |
CARD
The card number that the filepaths refer to. |
static int |
COLOR_INVALIDTRACK
|
static int |
COLOR_VALIDTRACK
|
static int |
CSV_DECIMAL
Decimal point character for CSV output file. |
static int |
CSV_FIELD_SEP
Field separation character for CSV output file. |
static int |
CSV_SAT_SEP
Satellite field separation character for CSV output file. |
static int |
DECODEGPS
|
static int |
DEVICE_PROTOCOL
Type of device to download from - used in GUI |
static int |
DISABLELOGDURINGDOWNLOAD
When true logging is disabled during download. |
static int |
DISTANCE_CALC_MODE_ALWAYS
|
static int |
DISTANCE_CALC_MODE_NONE
|
static int |
DISTANCE_CALC_MODE_WHEN_MISSING
|
static int |
DISTANCE_CALCULATION_MODE
|
static java.lang.String |
DUMMY_AGPS_STRING
|
static int |
EXTCOMMAND
External command |
static int |
EXTTYPE
External intermediate format type. |
static int |
FILEFIELDFORMAT
Parameter selecting the fields for the output file. |
static int |
FILETIMEOFFSET
The time offset for files and images. |
static int |
FILETIMEOFFSETOLD
The previous field for the filetime offset. |
static int |
FONTSCALE
Font scale in percent. 100 = original size. |
static int |
FORCE_HOLUXM241
Deprecated. |
static int |
FREETEXTPORT
Select a port by its 'path' (/dev/usb9 for example or /dev/com1. |
static int |
GOOGLEMAPKEY
Parameter index to get the Google Map key. |
static int |
GPSTIMEOFFSETHOURS_OBSOLETE
Deprecated. |
static int |
GPSTIMEOFFSETQUARTERS
The GPS time offset (UTC vs. local time) in quarters (15 minutes). |
static int |
GPSTYPE
Set the gpsType used for log conversion and some other operations (needed in cases where the type can not be automatically detected). |
static int |
GPX_LINK_INFO
Enable adding links to GPX data output. |
static int |
GPXTRKSEGBIG
|
static int |
GPXUTC0
Force GPX utc offset to 0. |
static int |
HEIGHT_AUTOMATIC
|
static int |
HEIGHT_CONVERSION_MODE
Parameter index for Height Conversion Mode. |
static int |
HEIGHT_MSL_TO_WGS84
|
static int |
HEIGHT_NOCHANGE
|
static int |
HEIGHT_WGS84_TO_MSL
|
static int |
IMAGEDIR
The directory where the images are stored or where images were last chosen from. |
static int |
IMPERIAL
True when Imperial units are to be used where possible |
static int |
IS_FIRST_CONNECTION_TO_INIT
Indicates if this is the first time a connection is made in the app. |
static int |
IS_GPX_1_1
|
static int |
IS_NEW_TRACK_WHEN_LOG_ON
New track when logger is switched on. |
static int |
IS_RECORDNBR_IN_LOGS
Param indicating that the record number for a position is to be written to the log. |
static int |
IS_STOP_LOGGING_ON_CONNECT
boolean setting to indicate that logging should be stopped on connect. |
static int |
IS_TRAVERSABLE
Parameter indicating if on Waba the interface must be traversable. |
static int |
IS_USE_PRECISE_GEOID
Whether precise GEOID calculation is to be used if available. |
static int |
IS_WRITE_TRACKPOINT_COMMENT
|
static int |
IS_WRITE_TRACKPOINT_NAME
|
static int |
KML_ALTITUDEMODE
|
static int |
LANGUAGE
The application's language. |
static int |
LOGAHEAD
Number of chunks to read ahead of time |
static int |
LOGFILEPATH
|
static int |
LOGFILERELPATH
Available for the application - must also set LOGFILEPATH
parameter. |
static BT747Vector |
logFiles
Vector of LogFileInfo. |
static int |
MAPCACHEDIRECTORY
The directory where the map cache is to be stored. |
static int |
MAPTYPE
The type of the map to show (certain apps). |
static int |
MAX_DISTANCE
|
static int |
MAX_HDOP
|
static int |
MAX_PDOP
|
static int |
MAX_RECCOUNT
|
static int |
MAX_SPEED
|
static int |
MAX_VDOP
|
static int |
MIN_DISTANCE
|
static int |
MIN_NSAT
|
static int |
MIN_RECCOUNT
|
static int |
MIN_SPEED
|
static int |
NMEAUTC0
Force NMEA utc offset to 0. |
static int |
OPENPORTATSTARTUP
Indicates if the port must be opened at startup of the application. |
static int |
OSMLOGIN
OSM account. |
static int |
OSMPASS
OSM password. |
static int |
OUTPUTDIRPATH
|
static int |
OUTPUTFILESPLITTYPE
The way we split the input track: SPLIT_ONE_FILE
SPLIT_ONE_FILE_PER_DAY
SPLIT_ONE_FILE_PER_TRACK
|
static int |
OUTPUTLOGCONDITIONS
When true, writes the log conditions to certain output formats. |
static int |
PORTNBR
The serial port number to open. |
static int |
POS_SRV_AUTOSTART
Property indicating whether or not the application should start sending out location updates when a GPS device is connected. |
static int |
POS_SRV_FILE
File part of the URL of the server to receiver the location data. |
static int |
POS_SRV_HOSTNAME
Hostname of the server to receive location data. |
static int |
POS_SRV_PASS
Password for access of the server receiving location data. |
static int |
POS_SRV_PERIOD
The period in seconds between location server updates |
static int |
POS_SRV_PORT
Port of the server receiving location data. |
static int |
POS_SRV_USER
Username of the server to receive location data. |
static int |
REPORTFILEBASE
|
static int |
REPORTFILEBASEPATH
|
static int |
SETTING1_DGPS
|
static int |
SETTING1_DIST
|
static int |
SETTING1_FIX
|
static int |
SETTING1_LOG_FORMAT
|
static int |
SETTING1_LOG_OVR
|
static int |
SETTING1_NMEA
Stored setting for NMEA data. |
static int |
SETTING1_SBAS
|
static int |
SETTING1_SPEED
|
static int |
SETTING1_TEST
|
static int |
SETTING1_TIME
|
static int |
SIZE
|
static int |
SPLIT_DISTANCE
|
static int |
SPLIT_ONE_FILE
All data in one file ( OUTPUTFILESPLITTYPE ). |
static int |
SPLIT_ONE_FILE_PER_DAY
One file per day ( OUTPUTFILESPLITTYPE ). |
static int |
SPLIT_ONE_FILE_PER_TRACK
One file per track (a track separation occurs when the time between two log points is bigger than a given time or other track split condition) ( OUTPUTFILESPLITTYPE ). |
static int |
TAG_MAXTIMEDIFFERENCE
Max time difference between GPS time and file time to tag the file with the position. |
static int |
TAG_OVERRIDEPOSITIONS
When true, will override already set positions while tagging. |
static int |
TAGGEDFILE_TEMPLATE
|
static int |
TRKPT_RCR
The trackpoint RCR mask for the active filter |
static int |
TRKPT_VALID
The 'Valid' filter mask for the current track filter. |
static int |
TRKSEP
Parameter index for the track separation time. |
static int |
VERSION
Version of the parameters. |
static int |
WAYPT_RCR
The waypoint RCR mask for the active filter |
static int |
WAYPT_VALID
Sets the 'Valid' filter mask for the current waypoint filter. |
Constructor Summary | |
---|---|
AppSettings()
Controller must get settings and call init() afterwards before
actual use of the model. |
Method Summary | |
---|---|
void |
addListener(ModelListener l)
add a listener to event thrown by this class |
void |
defaultSettings()
|
boolean |
getBooleanOpt(int param)
|
int |
getChunkSize()
Get the chunk size (or the default). |
static java.lang.String |
getDefaultBaseDirPath()
|
static int |
getDefaultChunkSize()
|
int |
getDownloadTimeOut()
|
float |
getFloatOpt(int param)
|
int |
getIntOpt(int param)
|
int |
getNMEAset()
Gets the NMEA string types to write to the NMEA output file format. |
BT747Path |
getPath(int pathType)
Get a path. |
java.lang.String |
getStringOpt(int param)
|
void |
init()
|
static boolean |
isDefaultTraversable()
|
static boolean |
isSolveMacLagProblem()
|
boolean |
isStoredSetting1()
|
void |
postEvent(ModelEvent e)
|
void |
removeListener(ModelListener l)
|
void |
run()
|
void |
setChunkSize(int chunkSize)
Set the chunk size. |
static void |
setDefaultBaseDirPath(java.lang.String defaultBaseDirPath)
|
static void |
setDefaultChunkSize(int defaultChunkSize)
|
static void |
setDefaultTraversable(boolean defaultTraversable)
|
void |
setDownloadTimeOut(int downloadTimeOut)
|
static void |
setSolveMacLagProblem(boolean arg)
Mac systems exhibit an issue and this parameters permits the application to detect that it has to be bypassed. |
void |
started()
Called just before the thread is started. |
void |
stopped()
Called just after the thread is stopped. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String C_GMAP_KEY_FILENAME
public static final java.lang.String DUMMY_AGPS_STRING
public static final int REPORTFILEBASEPATH
public static final int IS_WRITE_TRACKPOINT_COMMENT
public static final int IS_WRITE_TRACKPOINT_NAME
public static final int OUTPUTLOGCONDITIONS
public static final int IMPERIAL
public static final int FORCE_HOLUXM241
public static final int IS_RECORDNBR_IN_LOGS
public static final int IS_TRAVERSABLE
public static final int FILEFIELDFORMAT
BT747Constants.FMT_UTC_IDX
BT747Constants.FMT_VALID_IDX
BT747Constants.FMT_LATITUDE_IDX
BT747Constants.FMT_LONGITUDE_IDX
BT747Constants.FMT_HEIGHT_IDX
BT747Constants.FMT_SPEED_IDX
BT747Constants.FMT_HEADING_IDX
BT747Constants.FMT_DSTA_IDX
BT747Constants.FMT_DAGE_IDX
BT747Constants.FMT_PDOP_IDX
BT747Constants.FMT_HDOP_IDX
BT747Constants.FMT_VDOP_IDX
BT747Constants.FMT_NSAT_IDX
BT747Constants.FMT_SID_IDX
BT747Constants.FMT_ELEVATION_IDX
BT747Constants.FMT_AZIMUTH_IDX
BT747Constants.FMT_SNR_IDX
BT747Constants.FMT_RCR_IDX
BT747Constants.FMT_MILLISECOND_IDX
BT747Constants.FMT_DISTANCE_IDX
public static final int IS_STOP_LOGGING_ON_CONNECT
public static final int OUTPUTDIRPATH
public static final int REPORTFILEBASE
public static final int LOGFILERELPATH
LOGFILEPATH
parameter.
public static final int LOGFILEPATH
public static final int LANGUAGE
public static final int IMAGEDIR
public static final int FILETIMEOFFSET
public static final int PORTNBR
public static final int BAUDRATE
public static final int FREETEXTPORT
public static final int OPENPORTATSTARTUP
public static final int GPSTIMEOFFSETHOURS_OBSOLETE
public static final int TAG_OVERRIDEPOSITIONS
public static final int TAG_MAXTIMEDIFFERENCE
public static final int GPSTYPE
GPSTYPE
parameter is a value out of:
BT747Constants.GPS_TYPE_DEFAULT
BT747Constants.GPS_TYPE_GISTEQ_GISTEQ_ITRACKU_SIRFIII
BT747Constants.GPS_TYPE_GISTEQ_ITRACKU_NEMERIX
BT747Constants.GPS_TYPE_GISTEQ_ITRACKU_PHOTOTRACKR
public static final int DISABLELOGDURINGDOWNLOAD
public static final int MAPCACHEDIRECTORY
public static final int VERSION
public static final int MAPTYPE
public static final int GOOGLEMAPKEY
public static final int SETTING1_NMEA
public static final int SETTING1_TIME
public static final int SETTING1_SPEED
public static final int SETTING1_DIST
public static final int SETTING1_FIX
public static final int SETTING1_DGPS
public static final int SETTING1_TEST
public static final int SETTING1_LOG_OVR
public static final int SETTING1_LOG_FORMAT
public static final int SETTING1_SBAS
public static final int ADVFILTACTIVE
public static final int GPXUTC0
public static final int DECODEGPS
public static final int GPXTRKSEGBIG
public static final int COLOR_VALIDTRACK
public static final int COLOR_INVALIDTRACK
public static final int TAGGEDFILE_TEMPLATE
public static final int KML_ALTITUDEMODE
public static final int TRKSEP
public static final int LOGAHEAD
public static final int GPX_LINK_INFO
public static final int IS_GPX_1_1
public static final int DEVICE_PROTOCOL
public static final int FILETIMEOFFSETOLD
public static final int AGPSURL
public static final int IS_USE_PRECISE_GEOID
public static final int IS_FIRST_CONNECTION_TO_INIT
public static final int NMEAUTC0
public static final int OSMLOGIN
public static final int OSMPASS
public static final int IS_NEW_TRACK_WHEN_LOG_ON
public static final int SPLIT_DISTANCE
public static final int POS_SRV_HOSTNAME
public static final int POS_SRV_PORT
public static final int POS_SRV_FILE
public static final int POS_SRV_AUTOSTART
public static final int POS_SRV_USER
public static final int POS_SRV_PASS
public static final int POS_SRV_PERIOD
public static final int GPSTIMEOFFSETQUARTERS
GPSTIMEOFFSETHOURS_OBSOLETE
(used in adjusting the
time in the output formats).
public static final int EXTCOMMAND
public static final int EXTTYPE
public static final int FONTSCALE
public static final int CARD
public static final int SPLIT_ONE_FILE
OUTPUTFILESPLITTYPE
).
public static final int SPLIT_ONE_FILE_PER_DAY
OUTPUTFILESPLITTYPE
).
public static final int SPLIT_ONE_FILE_PER_TRACK
OUTPUTFILESPLITTYPE
).
public static final int OUTPUTFILESPLITTYPE
public static final int MIN_SPEED
public static final int MAX_SPEED
public static final int MIN_NSAT
public static final int MIN_RECCOUNT
public static final int MAX_RECCOUNT
public static final int MIN_DISTANCE
public static final int MAX_VDOP
public static final int MAX_PDOP
public static final int MAX_HDOP
public static final int MAX_DISTANCE
public static final int HEIGHT_CONVERSION_MODE
HEIGHT_AUTOMATIC
,
HEIGHT_MSL_TO_WGS84
,
HEIGHT_WGS84_TO_MSL
,
HEIGHT_NOCHANGE
,
Constant Field Valuespublic static final int HEIGHT_NOCHANGE
public static final int HEIGHT_WGS84_TO_MSL
public static final int HEIGHT_AUTOMATIC
public static final int HEIGHT_MSL_TO_WGS84
public static final int DISTANCE_CALCULATION_MODE
public static final int DISTANCE_CALC_MODE_NONE
public static final int DISTANCE_CALC_MODE_WHEN_MISSING
public static final int DISTANCE_CALC_MODE_ALWAYS
public static final int WAYPT_VALID
BT747Constants.VALID_NO_FIX_MASK
BT747Constants.VALID_SPS_MASK
BT747Constants.VALID_DGPS_MASK
BT747Constants.VALID_PPS_MASK
BT747Constants.VALID_RTK_MASK
BT747Constants.VALID_FRTK_MASK
BT747Constants.VALID_ESTIMATED_MASK
BT747Constants.VALID_MANUAL_MASK
BT747Constants.VALID_SIMULATOR_MASK
public static final int TRKPT_RCR
BT747Constants.RCR_TIME_MASK
BT747Constants.RCR_SPEED_MASK
BT747Constants.RCR_DISTANCE_MASK
BT747Constants.RCR_BUTTON_MASK
BT747Constants.RCR_APP0_MASK
BT747Constants.RCR_APP1_MASK
BT747Constants.RCR_APP2_MASK
BT747Constants.RCR_APP3_MASK
BT747Constants.RCR_APP4_MASK
BT747Constants.RCR_APP5_MASK
BT747Constants.RCR_APP6_MASK
BT747Constants.RCR_APP7_MASK
BT747Constants.RCR_APP8_MASK
BT747Constants.RCR_APP9_MASK
BT747Constants.RCR_APPY_MASK
BT747Constants.RCR_APPZ_MASK
BT747Constants.RCR_ALL_APP_MASK
public static final int TRKPT_VALID
BT747Constants.VALID_NO_FIX_MASK
BT747Constants.VALID_SPS_MASK
BT747Constants.VALID_DGPS_MASK
BT747Constants.VALID_PPS_MASK
BT747Constants.VALID_RTK_MASK
BT747Constants.VALID_FRTK_MASK
BT747Constants.VALID_ESTIMATED_MASK
BT747Constants.VALID_MANUAL_MASK
BT747Constants.VALID_SIMULATOR_MASK
public static final int WAYPT_RCR
BT747Constants.RCR_TIME_MASK
BT747Constants.RCR_SPEED_MASK
BT747Constants.RCR_DISTANCE_MASK
BT747Constants.RCR_BUTTON_MASK
BT747Constants.RCR_APP0_MASK
BT747Constants.RCR_APP1_MASK
BT747Constants.RCR_APP2_MASK
BT747Constants.RCR_APP3_MASK
BT747Constants.RCR_APP4_MASK
BT747Constants.RCR_APP5_MASK
BT747Constants.RCR_APP6_MASK
BT747Constants.RCR_APP7_MASK
BT747Constants.RCR_APP8_MASK
BT747Constants.RCR_APP9_MASK
BT747Constants.RCR_APPY_MASK
BT747Constants.RCR_APPZ_MASK
BT747Constants.RCR_ALL_APP_MASK
public static final int CSV_FIELD_SEP
public static final int CSV_DECIMAL
public static final int CSV_SAT_SEP
public static final BT747Vector logFiles
public static final int SIZE
Constructor Detail |
---|
public AppSettings()
init()
afterwards before
actual use of the model.
Method Detail |
---|
public final void init()
public final void defaultSettings()
public final boolean getBooleanOpt(int param)
public final int getIntOpt(int param)
public final java.lang.String getStringOpt(int param)
public final int getChunkSize()
public final void setChunkSize(int chunkSize)
chunkSize
- The ChunkSize to set as a default.public final int getDownloadTimeOut()
public final void setDownloadTimeOut(int downloadTimeOut)
downloadTimeOut
- The DownloadTimeOut to set as a default.public final int getNMEAset()
BT747Constants.NMEA_SEN_GLL_IDX
BT747Constants.NMEA_SEN_RMC_IDX
BT747Constants.NMEA_SEN_VTG_IDX
BT747Constants.NMEA_SEN_GGA_IDX
BT747Constants.NMEA_SEN_GSA_IDX
BT747Constants.NMEA_SEN_GSV_IDX
BT747Constants.NMEA_SEN_GRS_IDX
BT747Constants.NMEA_SEN_GST_IDX
BT747Constants.NMEA_SEN_MALM_IDX
BT747Constants.NMEA_SEN_MEPH_IDX
BT747Constants.NMEA_SEN_MDGP_IDX
BT747Constants.NMEA_SEN_MDBG_IDX
BT747Constants.NMEA_SEN_ZDA_IDX
BT747Constants.NMEA_SEN_MCHN_IDX
public static final boolean isSolveMacLagProblem()
public static final void setSolveMacLagProblem(boolean arg)
arg
- When true, solve the lag problem (on Mac systems).public final boolean isStoredSetting1()
public static void setDefaultTraversable(boolean defaultTraversable)
defaultTraversable
- the defaultTraversable to setpublic static boolean isDefaultTraversable()
public static void setDefaultChunkSize(int defaultChunkSize)
defaultChunkSize
- the defaultChunkSize to setpublic static int getDefaultChunkSize()
public static void setDefaultBaseDirPath(java.lang.String defaultBaseDirPath)
defaultBaseDirPath
- the defaultBaseDirPath to setpublic static java.lang.String getDefaultBaseDirPath()
public final float getFloatOpt(int param)
public BT747Path getPath(int pathType)
pathType
- One of the parameter indexes corresponding to a path entry.
public final void addListener(ModelListener l)
public final void removeListener(ModelListener l)
public final void postEvent(ModelEvent e)
public void run()
run
in interface BT747Thread
public void started()
BT747Thread
started
in interface BT747Thread
public void stopped()
BT747Thread
stopped
in interface BT747Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |