aboutsummaryrefslogtreecommitdiff
path: root/setup/windows/windows.cfg
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-11-02 18:44:36 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2012-11-02 18:44:36 +1300
commit73f1943342354f5a3922561ca7ebefad239ce153 (patch)
tree2f21f3fd1368af9b3b304a0afc9ee2d6cf917b18 /setup/windows/windows.cfg
parent276de889f5c6a144a8dc511041417fc77a09f9d6 (diff)
downloadtrackermap-server-73f1943342354f5a3922561ca7ebefad239ce153.tar.gz
trackermap-server-73f1943342354f5a3922561ca7ebefad239ce153.tar.bz2
trackermap-server-73f1943342354f5a3922561ca7ebefad239ce153.zip
Update config files (fix #74)
Diffstat (limited to 'setup/windows/windows.cfg')
-rw-r--r--setup/windows/windows.cfg31
1 files changed, 26 insertions, 5 deletions
diff --git a/setup/windows/windows.cfg b/setup/windows/windows.cfg
index f9ab829c8..fbe008aeb 100644
--- a/setup/windows/windows.cfg
+++ b/setup/windows/windows.cfg
@@ -25,7 +25,7 @@
<-->
<entry key="database.selectDevice">
SELECT id, imei
- FROM devices
+ FROM devices;
</entry>
<!-->
@@ -33,7 +33,7 @@
<-->
<entry key="database.insertDevice">
INSERT INTO devices (imei)
- VALUES (:imei)
+ VALUES (:imei);
</entry>
<!-->
@@ -43,7 +43,7 @@
<entry key="database.updateDevice">
UPDATE devices
SET imei = :imei
- WHERE id = :id
+ WHERE id = :id;
</entry>
<!-->
@@ -51,7 +51,7 @@
<-->
<entry key="database.deleteDevice">
DELETE FROM devices
- WHERE id = :id
+ WHERE id = :id;
</entry>
<!-->
@@ -61,6 +61,7 @@
SELECT *
FROM positions
WHERE device_id = :device_id
+ ORDER by time DESC;
</entry>
<!-->
@@ -76,7 +77,7 @@
<-->
<entry key="database.insertPosition">
INSERT INTO positions (device_id, time, valid, latitude, longitude, speed, course, power)
- VALUES (:device_id, :time, :valid, :latitude, :longitude, :speed, :course, :power)
+ VALUES (:device_id, :time, :valid, :latitude, :longitude, :speed, :course, :power);
</entry>
<!-- Web interface port -->
@@ -135,4 +136,24 @@
<entry key="st210.enable">true</entry>
<entry key="st210.port">5011</entry>
+ <!-- Progress server configuration -->
+ <entry key="progress.enable">true</entry>
+ <entry key="progress.port">5012</entry>
+
+ <!-- H02 server configuration -->
+ <entry key="h02.enable">true</entry>
+ <entry key="h02.port">5013</entry>
+
+ <!-- JT600 server configuration -->
+ <entry key="jt600.enable">true</entry>
+ <entry key="jt600.port">5014</entry>
+
+ <!-- EV603 server configuration -->
+ <entry key="ev603.enable">true</entry>
+ <entry key="ev603.port">5015</entry>
+
+ <!-- V680 server configuration -->
+ <entry key="v680.enable">true</entry>
+ <entry key="v680.port">5016</entry>
+
</properties>