|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eurotech.framework.protocol.pcn.PassengerCounterApplicationConfig
public class PassengerCounterApplicationConfig
Defines PCN-1001 Application configuration class.
| Constructor Summary | |
|---|---|
PassengerCounterApplicationConfig()
|
|
| Method Summary | |
|---|---|
int |
getCountElapseTimeout()
Reports 'count elapsed' timeout (in seconds). |
int |
getCountInfoAcquisitionEventTrigger()
Reports count information event trigger. |
String |
getCountInfoAcquisitionEventTriggerDescription()
Reports count information acquisition event trigger description. |
int |
getCountLoggingExpirationTime()
Reports IN/OUT count logging expiration time in days. |
String |
getCountLoggingPath()
Reports IN/OUT count logging path. |
int |
getCountLoggingStyle()
Reports count logging style. |
int |
getCountPeriodicPublishRate()
Periodic Publish Count rate. |
int |
getCountPublishQoS()
Reports IN/OUT count publish QoS. |
String |
getCountPublishTopic()
Reports IN/OUT count publish topic. |
String |
getErrStatsLoggingPath()
Reports error statistics logging path. |
int |
getErrStatsLoggingRate()
Reports error statistics logging rate. |
int |
getErrStatsPublishQoS()
Reports error statistics publish QoS. |
String |
getErrStatsPublishTopic()
Reports error statistics publish topic. |
int |
getGpsLoggingExpirationTime()
Reports GPS logging expiration time in days. |
String |
getGpsLoggingPath()
Reports GPS logging path. |
int |
getGpsLoggingRate()
Reports GPS logging rate. |
int |
getGpsLoggingStationaryThreshold()
Reports GPS stationary threshold value. |
int |
getGpsPublishQoS()
Reports GPS publish QoS. |
String |
getGpsPublishTopic()
Reports GPS publish topic. |
int |
getLogHousekeepingRate()
Reports housekeeping rate for IN/OUT count and GPS logs. |
int |
getMotionThreshold()
Reports vehicle motion threshold. |
int |
getSpeedSamplingRateHigh()
Reports speed sampling high rate. |
int |
getSpeedSamplingRateLow()
Reports speed sampling low rate. |
int |
getSpeedSamplingThreshold()
Reports speed sampling threshold. |
int |
getSpeedUnit()
Reports speed unit (MPH or KPH) |
String |
getSpeedUnitLoverCase()
Reports speed unit string in the lower case |
String |
getSpeedUnitUpperCase()
Reports speed unit string in the upper case |
String |
getStorageDeviceFilesystemType()
Reports storage device file system type. |
String |
getStorageDeviceMountPoint()
Reports mount point for USB storage device. |
String |
getStorageDeviceName()
Reports name of the storage device. |
String |
getVehicleIdFile()
Reports absolute path to VehicleID file. |
int |
getVehicleMaxOccupancy()
Reports maximum occupancy of the vehicle. |
boolean |
isCountAutoEnable()
Reports if 'auto enable' functionality is enabled. |
boolean |
isCountAutoReset()
Reports if 'auto reset' functionality is enabled. |
boolean |
isCountLoggingEnabled()
Reports if count logging is enabled. |
boolean |
isCountLoggingExpirationEnabled()
Reports if IN/OUT count logging expiration mechanism is turned on. |
boolean |
isCountPublishEnabled()
Reports if IN/OUT count publishing is enabled. |
boolean |
isErrStatsLoggingEnabled()
Reports if error statistics logging is enabled. |
boolean |
isErrStatsPublishEnabled()
Reports if error statistics publishing is enabled. |
boolean |
isGpsLoggingEnabled()
Reports if GPS logging is enabled. |
boolean |
isGpsLoggingExpirationEnabled()
Reports if GPS logging expiration mechanism is turned on. |
boolean |
isGpsLoggingWhenStationary()
Reports if GPS information is logged when vehicle is not moving. |
boolean |
isGpsPublishEnabled()
Reports if GPS publishing is enabled. |
boolean |
isNtpSynchronizationEnabled()
Reports if NTP synchronization is enabled. |
boolean |
isReportZeroCount()
Answers if zero IN/OUT count needs to be reported or/and logged |
void |
setCountAutoEnable(boolean countAutoEnable)
Sets 'auto enable' flag. |
void |
setCountAutoReset(boolean countAutoReset)
Sets 'auto reset' flag. |
void |
setCountElapseTimeout(int countElapseTimeout)
Sets 'count elapsed' timeout (in seconds). |
void |
setCountInfoAcquisitionEventTrigger(int countInfoAcquisitionEventTrigger)
Sets count information acquisition event trigger. |
void |
setCountLoggingEnabled(boolean countLoggingEnabled)
Sets 'countLoggingEnabled' flag. |
void |
setCountLoggingExpirationEnabled(boolean countLoggingExpirationEnabled)
Sets 'CountLoggingExpirationEnabled' flag. |
void |
setCountLoggingExpirationTime(int countLoggingExpirationTime)
Sets IN/OUT count logging expiration time in days. |
void |
setCountLoggingPath(String countLoggingPath)
Sets IN/OUT count logging path. |
void |
setCountLoggingStyle(int countLoggingStyle)
Sets count logging style. |
void |
setCountPeriodicPublishRate(int periodicCountPublishRate)
Sets the count periodic publishing rate. |
void |
setCountPublishEnabled(boolean countPublishEnabled)
Sets IN/OUT 'countPublishEnabled' flag. |
void |
setCountPublishQoS(int countPublishQoS)
Sets IN/OUT count publish QoS. |
void |
setCountPublishTopic(String countPublishTopic)
Sets IN/OUT count publish topic. |
void |
setErrStatsLoggingEnabled(boolean errStatsLoggingEnabled)
Sets 'errStatsLoggingEnabled' flag. |
void |
setErrStatsLoggingPath(String errStatsLoggingPath)
Sets error statistics logging path. |
void |
setErrStatsLoggingRate(int errStatsLoggingRate)
Sets the error statistics logging rate. |
void |
setErrStatsPublishEnabled(boolean errStatsPublishEnabled)
Sets 'errStatsPublishEnabled' flag. |
void |
setErrStatsPublishQoS(int errStatsPublishQoS)
Sets error statistics publish QoS. |
void |
setErrStatsPublishTopic(String errStatsPublishTopic)
Sets error statistics publish topic. |
void |
setGpsLoggingEnabled(boolean gpsLoggingEnabled)
Sets 'gpsLoggingEnabled' flag. |
void |
setGpsLoggingExpirationEnabled(boolean gpsLoggingExpirationEnabled)
Sets 'GpsLoggingExpirationEnabled' flag. |
void |
setGpsLoggingExpirationTime(int gpsLoggingExpirationTime)
Sets GPS logging expiration time in days. |
void |
setGpsLoggingPath(String gpsLoggingPath)
Sets GPS logging path. |
void |
setGpsLoggingRate(int gpsLoggingRate)
Sets GPS logging rate. |
void |
setGpsLoggingStationaryThreshold(int gpsLoggingStationaryThreshold)
Sets GPS stationary threshold value. |
void |
setGpsLoggingWhenStationary(boolean gpsLoggingWhenStationary)
Sets the 'gpsLoggingWhenStationary' flag. |
void |
setGpsPublishEnabled(boolean gpsPublishEnabled)
Sets 'gpsPublishEnabled' flag. |
void |
setGpsPublishQoS(int gpsPublishQoS)
Sets GPS publish QoS. |
void |
setGpsPublishTopic(String gpsPublishTopic)
Sets GPS publish topic. |
void |
setLogHousekeepingRate(int logHousekeepingRate)
Sets housekeeping rate for IN/OUT count and GPS logs. |
void |
setMotionThreshold(int motionThreshold)
Sets speed 'count reset' threshold. |
void |
setNtpSynchronizationEnabled(boolean ntpSynchronizationEnabled)
Sets 'ntpSynchronizationEnabled' flag. |
void |
setReportZeroCount(boolean reportZeroCount)
Set reportZeroCount flag. |
void |
setSpeedSamplingRateHigh(int speedSamplingRateHigh)
Sets speed sampling rate. |
void |
setSpeedSamplingRateLow(int speedSamplingRateLow)
Sets speed sampling low rate. |
void |
setSpeedSamplingThreshold(int speedSamplingThreshold)
Sets speed sampling threshold. |
void |
setSpeedUnit(int speedUnit)
Sets speed unit |
void |
setSpeedUnit(String speedUnit)
Sets speed unit |
void |
setStorageDeviceFilesystemType(String storageDeviceFilesystemType)
Sets storage device file system type. |
void |
setStorageDeviceMountPoint(String storageDeviceMountPoint)
Sets mount point for USB storage device. |
void |
setStorageDeviceName(String storageDeviceName)
Sets name of the storage device. |
void |
setVehicleIdFile(String vehicleIdFile)
Sets absolute path to VehicleID file. |
void |
setVehicleMaxOccupancy(int vehicleMaxOccupancy)
Sets maximum occupancy of the vehicle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CNT_INFO_EVNT_TRIGGER_CNT_CHANGE
public static final int CNT_INFO_EVNT_TRIGGER_CNT_ELAPSED
public static final int CNT_INFO_EVNT_TRIGGER_CNT_VEHICLE_SPEED
public static final int CNT_INFO_EVNT_TRIGGER_CNT_DOOR_EVENTS
public static final int CNT_INFO_EVNT_TRIGGER_CNT_PERIODIC_PUBLISH
public static final int DFLT_COUNT_INFO_ACQUISITION_EVNT_TRIGGER
public static final int DFLT_COUNT_ELAPSE_TOUT
public static final boolean DFLT_COUNT_AUTORESET
public static final boolean DFLT_COUNT_AUTOENABLE
public static final boolean DFLT_REPORT_ZERO_COUNT
public static final boolean DFLT_COUNT_LOGGING_ENABLED
public static final int DFLT_COUNT_LOGGING_STYLE
public static final String DFLT_COUNT_LOGGING_PATH
public static final boolean DFLT_COUNT_LOGGING_EXP_ENABLED
public static final int DFLT_COUNT_LOGGING_EXP_TIME
public static final boolean DFLT_COUNT_PUBLISH_ENABLED
public static final String DFLT_COUNT_PUBLISH_TOPIC
public static final int DFLT_COUNT_PUBLISH_QOS
public static final boolean DFLT_PERIODIC_COUNT_PUBLISH_ENABLED
public static final String DFLT_PERIODIC_COUNT_PUBLISH_TOPIC
public static final int DFLT_PERIODIC_COUNT_PUBLISH_QOS
public static final int DFLT_COUNT_PERIODIC_PUBLISH_RATE
public static final boolean DFLT_GPS_LOGGING_ENABLED
public static final boolean DFLT_GPS_LOGGING_WHEN_STATIONARY
public static final int DFLT_GPS_LOGGING_STATIONARY_THRESHOLD
public static final String DFLT_GPS_LOGGING_PATH
public static final int DFLT_GPS_LOGGING_RATE
public static final boolean DFLT_GPS_LOGGING_EXP_ENABLED
public static final int DFLT_GPS_LOGGING_EXP_TIME
public static final boolean DFLT_GPS_PUBLISH_ENABLED
public static final String DFLT_GPS_PUBLISH_TOPIC
public static final int DFLT_GPS_PUBLISH_QOS
public static final boolean DFLT_ERR_STATS_LOGGING_ENABLED
public static final String DFLT_ERR_STATS_LOGGING_PATH
public static final int DFLT_ERR_STATS_LOGGING_RATE
public static final boolean DFLT_ERR_STATS_PUBLISH_ENABLED
public static final String DFLT_ERR_STATS_PUBLISH_TOPIC
public static final int DFLT_ERR_STATS_PUBLISH_QOS
public static final boolean DFLT_NTP_SYNCHRONIZATION_ENABLED
public static final int DFLT_SPEED_SAMPLING_RATE_HIGH
public static final int DFLT_SPEED_SAMPLING_RATE_LOW
public static final int DFLT_SPEED_SAMPLING_THRESHOLD
public static final int DFLT_VEHICLE_MOTION_THRESHOLD
public static final int SPEED_UNIT_MPH
public static final int SPEED_UNIT_KPH
public static final String SPEED_UNIT_MPH_STR
public static final String SPEED_UNIT_KPH_STR
public static final int DFLT_SPEED_UNIT
public static Hashtable htCountInfoTrigger
public static Hashtable htSpeedUnit
public static final String DFLT_STORAGE_DEVICE_NAME
public static final String DFLT_STORAGE_DEVICE_FILESYSTEM
public static final String DFLT_STORAGE_DEVICE_MOUNTPOINT
public static final int DFLT_LOG_HOUSEKEEPING_RATE
public static final String DFLT_VEHICLE_ID_FILE
public static final int DFLT_VEHICLE_MAX_OCCUPANCY
| Constructor Detail |
|---|
public PassengerCounterApplicationConfig()
| Method Detail |
|---|
public int getCountInfoAcquisitionEventTrigger()
int
public String getCountInfoAcquisitionEventTriggerDescription()
throws NumberFormatException
String
NumberFormatExceptionpublic void setCountInfoAcquisitionEventTrigger(int countInfoAcquisitionEventTrigger)
countInfoAcquisitionEventTrigger - - count information event trigger as intpublic int getCountElapseTimeout()
intpublic void setCountElapseTimeout(int countElapseTimeout)
countElapseTimeout - - 'count elapsed' timeout as intpublic boolean isCountAutoReset()
booleanpublic void setCountAutoReset(boolean countAutoReset)
countAutoReset - - 'auto reset' flag as booleanpublic boolean isCountAutoEnable()
booelanpublic void setCountAutoEnable(boolean countAutoEnable)
countAutoEnable - - 'auto enable' flag as booleanpublic boolean isReportZeroCount()
booleanpublic void setReportZeroCount(boolean reportZeroCount)
reportZeroCount - - a value for reportZeroCount flag as booleanpublic boolean isCountLoggingEnabled()
booleanpublic void setCountLoggingEnabled(boolean countLoggingEnabled)
countLoggingEnabled - - count loging enabled flag as booleanpublic int getCountLoggingStyle()
intpublic void setCountLoggingStyle(int countLoggingStyle)
countLoggingStyle - - count logging style as intpublic String getCountLoggingPath()
Stringpublic void setCountLoggingPath(String countLoggingPath)
countLoggingPath - - count logging path as Stringpublic int getCountLoggingExpirationTime()
intpublic boolean isCountLoggingExpirationEnabled()
booleanpublic void setCountLoggingExpirationEnabled(boolean countLoggingExpirationEnabled)
countLoggingExpirationEnabled - - 'CountLoggingExpirationEnabled' flag as booleanpublic void setCountLoggingExpirationTime(int countLoggingExpirationTime)
countLoggingExp - - IN/OUT count logging expiration time as intpublic boolean isCountPublishEnabled()
public void setCountPublishEnabled(boolean countPublishEnabled)
countPublishEnabled - public String getCountPublishTopic()
public void setCountPublishTopic(String countPublishTopic)
countPublishTopic - public int getCountPublishQoS()
intpublic void setCountPublishQoS(int countPublishQoS)
countPublishQoS - - IN/OUT count publish QoS as intpublic boolean isGpsLoggingEnabled()
booleanpublic void setGpsLoggingEnabled(boolean gpsLoggingEnabled)
gpsLoggingEnabled - - GPS logging enabled flag as booleanpublic boolean isGpsLoggingWhenStationary()
booleanpublic int getGpsLoggingStationaryThreshold()
intpublic void setGpsLoggingStationaryThreshold(int gpsLoggingStationaryThreshold)
gpsLoggingStationaryThreshold - - GPS stationary threshold as intpublic void setGpsLoggingWhenStationary(boolean gpsLoggingWhenStationary)
gpsLoggingWhenStationary - - 'gpsLoggingWhenStationary' flag as booleanpublic String getGpsLoggingPath()
Stringpublic void setGpsLoggingPath(String gpsLoggingPath)
gpsLoggingPath - GPS logging path as Stringpublic boolean isGpsLoggingExpirationEnabled()
booleanpublic void setGpsLoggingExpirationEnabled(boolean gpsLoggingExpirationEnabled)
gpsLoggingExpirationEnabled - - 'GpsLoggingExpirationEnabled' flag as booleanpublic int getGpsLoggingExpirationTime()
intpublic void setGpsLoggingExpirationTime(int gpsLoggingExpirationTime)
gpsLoggingExp - - GPS logging expiration time as intpublic boolean isGpsPublishEnabled()
booleanpublic void setGpsPublishEnabled(boolean gpsPublishEnabled)
gpsPublishEnabled - - 'gpsPublishEnabled' flag as booleanpublic String getGpsPublishTopic()
Stringpublic void setGpsPublishTopic(String gpsPublishTopic)
gpsPublishTopic - - GPS publish topic as Stringpublic int getGpsPublishQoS()
intpublic void setGpsPublishQoS(int gpsPublishQoS)
gpsPublishQoS - - GPS publish QoS as intpublic int getSpeedUnit()
int
public String getSpeedUnitUpperCase()
throws NumberFormatException
String
NumberFormatException
public String getSpeedUnitLoverCase()
throws NumberFormatException
String
NumberFormatExceptionpublic int getSpeedSamplingThreshold()
intpublic void setSpeedSamplingThreshold(int speedSamplingThreshold)
speedSamplingThreshold - - speed sampling threshold as intpublic int getMotionThreshold()
intpublic void setMotionThreshold(int motionThreshold)
motionThreshold - - motion threshold as intpublic void setSpeedUnit(int speedUnit)
speedUnit - - speed unit as int
public void setSpeedUnit(String speedUnit)
throws NumberFormatException
speedUnit - - speed unit as String
NumberFormatExceptionpublic int getSpeedSamplingRateHigh()
intpublic void setSpeedSamplingRateHigh(int speedSamplingRateHigh)
sppedSamplingRateFast - - speed sampling rate in msec as intpublic int getSpeedSamplingRateLow()
intpublic void setSpeedSamplingRateLow(int speedSamplingRateLow)
sppedSamplingRateLow - - speed sampling low rate in msec as intpublic int getGpsLoggingRate()
intpublic void setGpsLoggingRate(int gpsLoggingRate)
gpsLoggingRate - - GPS logging rate in sec as intpublic String getStorageDeviceName()
Stringpublic void setStorageDeviceName(String storageDeviceName)
storageDeviceName - - name of the storage device as Stringpublic String getStorageDeviceFilesystemType()
Stringpublic void setStorageDeviceFilesystemType(String storageDeviceFilesystemType)
storageDeviceFilesystemType - - storage device file system type as Stringpublic String getStorageDeviceMountPoint()
Stringpublic void setStorageDeviceMountPoint(String storageDeviceMountPoint)
storageDeviceMountPoint - - storage device mount point as Stringpublic int getLogHousekeepingRate()
intpublic void setLogHousekeepingRate(int logHousekeepingRate)
logHousekeepingRate - - housekeeping rate for count and GPS logs as intpublic String getVehicleIdFile()
Stringpublic void setVehicleIdFile(String vehicleIdFile)
vehicleIdFile - - absolute path to VehicleID file as Stringpublic int getVehicleMaxOccupancy()
intpublic void setVehicleMaxOccupancy(int vehicleMaxOccupancy)
vehicleMaxOccupancy - - maximum occupancy as intpublic boolean isErrStatsLoggingEnabled()
booleanpublic void setErrStatsLoggingEnabled(boolean errStatsLoggingEnabled)
countLoggingEnabled - - error stats logging enabled flag as booleanpublic int getErrStatsLoggingRate()
intpublic void setErrStatsLoggingRate(int errStatsLoggingRate)
errStatsLoggingRate - - error statistics logging rate as intpublic int getCountPeriodicPublishRate()
intpublic void setCountPeriodicPublishRate(int periodicCountPublishRate)
periodicCountPublishRate - - count periodic publishing rate as intpublic String getErrStatsLoggingPath()
Stringpublic void setErrStatsLoggingPath(String errStatsLoggingPath)
errStatsLoggingPath - - error statistics logging path as Stringpublic boolean isErrStatsPublishEnabled()
booleanpublic void setErrStatsPublishEnabled(boolean errStatsPublishEnabled)
errStatsPublishEnabled - - error stats publishing enabled flag as booleanpublic String getErrStatsPublishTopic()
Stringpublic void setErrStatsPublishTopic(String errStatsPublishTopic)
errStatsPublishTopic - - error statistics publish topic as Stringpublic int getErrStatsPublishQoS()
intpublic void setErrStatsPublishQoS(int errStatsPublishQoS)
errStatsPublishQoS - - error statistics publish QoS as intpublic boolean isNtpSynchronizationEnabled()
booleanpublic void setNtpSynchronizationEnabled(boolean ntpSynchronizationEnabled)
ntpSynchronizationEnabled - - NTP synchronization enabled flag as boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||