aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-01-04 02:13:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-01-04 01:13:15 +1300
commitb579253139b5a2a21c9daafa411e78b6c4a5a852 (patch)
treec93f250a66ac48c36c6230cbca3608922ccd9415 /src/org/traccar/model
parent7bd6551a2f5712d63bea7e8711944fbeb78323c8 (diff)
downloadtrackermap-server-b579253139b5a2a21c9daafa411e78b6c4a5a852.tar.gz
trackermap-server-b579253139b5a2a21c9daafa411e78b6c4a5a852.tar.bz2
trackermap-server-b579253139b5a2a21c9daafa411e78b6c4a5a852.zip
Provide default radio type
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/CellTower.java10
-rw-r--r--src/org/traccar/model/Network.java2
2 files changed, 11 insertions, 1 deletions
diff --git a/src/org/traccar/model/CellTower.java b/src/org/traccar/model/CellTower.java
index e572dfb10..74ed8a4ea 100644
--- a/src/org/traccar/model/CellTower.java
+++ b/src/org/traccar/model/CellTower.java
@@ -46,6 +46,16 @@ public class CellTower {
return fromLacCid(lac, cid);
}
+ private String radioType;
+
+ public String getRadioType() {
+ return radioType;
+ }
+
+ public void setRadioType(String radioType) {
+ this.radioType = radioType;
+ }
+
private Long cellId;
public Long getCellId() {
diff --git a/src/org/traccar/model/Network.java b/src/org/traccar/model/Network.java
index 389ce1fdd..c5be95887 100644
--- a/src/org/traccar/model/Network.java
+++ b/src/org/traccar/model/Network.java
@@ -50,7 +50,7 @@ public class Network {
this.homeMobileNetworkCode = homeMobileNetworkCode;
}
- private String radioType;
+ private String radioType = "gsm";
public String getRadioType() {
return radioType;