/[projects]/dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/DaoConstants.java
ViewVC logotype

Contents of /dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/DaoConstants.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2330 - (show annotations) (download)
Fri Feb 20 08:52:52 2015 UTC (9 years, 2 months ago) by torben
File size: 673 byte(s)
Refactoring regarding who is responsible for calculate BBox margins
1 package dk.daoas.fulddaekning;
2
3 public class DaoConstants extends Constants{
4
5 final static double MAX_DISTANCE = 6.0;
6
7 @Override
8 public double getKmMargin() {
9 return MAX_DISTANCE/2.0; // 3km
10 }
11
12
13 @Override
14 public double getMaxDistance() {
15 return MAX_DISTANCE; // vi gemmer ikke afstande over 6 km
16 }
17
18 @Override
19 public int getMinPostnr() {
20 return 6000;
21 }
22 @Override
23 public int getMaxPostnr() {
24 return 9550;
25 }
26
27 @Override
28 public String getTableExtension() {
29 return "";
30 }
31
32 @Override
33 public boolean doExtendedLookup() {
34 return false;
35 }
36
37 @Override
38 public boolean doCheckHO() {
39 return false;
40 }
41
42 }

  ViewVC Help
Powered by ViewVC 1.1.20