<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://in.compucrete.com/index.php?action=history&amp;feed=atom&amp;title=Keystone_GPS_System_2007_Era</id>
	<title>Keystone GPS System 2007 Era - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://in.compucrete.com/index.php?action=history&amp;feed=atom&amp;title=Keystone_GPS_System_2007_Era"/>
	<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=Keystone_GPS_System_2007_Era&amp;action=history"/>
	<updated>2026-05-15T16:28:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>http://in.compucrete.com/index.php?title=Keystone_GPS_System_2007_Era&amp;diff=374&amp;oldid=prev</id>
		<title>WikiAdmin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=Keystone_GPS_System_2007_Era&amp;diff=374&amp;oldid=prev"/>
		<updated>2023-07-14T12:58:52Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:58, 14 July 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key my_wiki:diff::1.12:old-373:rev-374 --&gt;
&lt;/table&gt;</summary>
		<author><name>WikiAdmin</name></author>
	</entry>
	<entry>
		<id>http://in.compucrete.com/index.php?title=Keystone_GPS_System_2007_Era&amp;diff=373&amp;oldid=prev</id>
		<title>Chanson: Chanson moved page Keystone GPS System to Keystone GPS System 2007 Era</title>
		<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=Keystone_GPS_System_2007_Era&amp;diff=373&amp;oldid=prev"/>
		<updated>2018-04-12T13:35:27Z</updated>

		<summary type="html">&lt;p&gt;Chanson moved page &lt;a href=&quot;/index.php/Keystone_GPS_System&quot; title=&quot;Keystone GPS System&quot;&gt;Keystone GPS System&lt;/a&gt; to &lt;a href=&quot;/index.php/Keystone_GPS_System_2007_Era&quot; title=&quot;Keystone GPS System 2007 Era&quot;&gt;Keystone GPS System 2007 Era&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''NOTE'''&lt;br /&gt;
This is the from the 2007 era Delphi based GPS system.  The core of this remains in Keystone dispatch and integrates with the current cloud/.net versions of Keystone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
Keystone GPS is completely written on the Keystone platform using Delphi and Interbase.&lt;br /&gt;
&lt;br /&gt;
Pathway for a GPS Message&lt;br /&gt;
*GPS Modem Transmits Signal via Cellular Network Over Internet to Programmed IP Address&lt;br /&gt;
*Message Received by Device Server on Communications PC&lt;br /&gt;
*Message Passed to Device Aggregator on Communications PC&lt;br /&gt;
*Device Aggregator writes message to GPTSTATUS table&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Major Software Components:&lt;br /&gt;
*Device Server&lt;br /&gt;
*Device Aggregator&lt;br /&gt;
&lt;br /&gt;
Database Change:&lt;br /&gt;
*GPTSTATUS: Stores all GPS incoming data.&lt;br /&gt;
&lt;br /&gt;
Hardware:&lt;br /&gt;
Keystone GPS is compatible with both DataRemote and Bluetree systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Device Configuration ==&lt;br /&gt;
&lt;br /&gt;
GPSCOMPANIES (string)&lt;br /&gt;
:Comma-separated list of companies containing trucks to be processed&lt;br /&gt;
ONJOBSTOPTIME (integer, default=6)&lt;br /&gt;
:Number of minutes truck must be stopped to be considered on-job (0=disabled)&lt;br /&gt;
USEGEOFENCING (boolean, default=False)&lt;br /&gt;
:True to automatically determine on-job and returned statuses based on GPS coordinates&lt;br /&gt;
USEODOMETER (boolean, default=True)&lt;br /&gt;
:True to obtain vehicle odometer reading from GPS device&lt;br /&gt;
:False to calculate straight-line distance from last valid GPS coordinate&lt;br /&gt;
USESERVERTIME (boolean, default=False)&lt;br /&gt;
:True to use the server time for incoming status messages&lt;br /&gt;
:False to use the time from the incoming status messages&lt;br /&gt;
VALIDLAT (float)&lt;br /&gt;
:The validation point's latitude(*)&lt;br /&gt;
VALIDLONG (float)&lt;br /&gt;
:The validation point's longitude(*)&lt;br /&gt;
VALIDRADIUS (float)&lt;br /&gt;
:The radius from the validation point(*)&lt;br /&gt;
(*)All incoming GPS coordinates within the validation radius are marked as valid coordinates, those outside the radius are marked as invalid but are still recorded.&lt;br /&gt;
&lt;br /&gt;
== GPTSTATUS ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;select * from gptstatus&lt;br /&gt;
where truck_no='74' order by seq_no desc&lt;br /&gt;
rows 1 to 100&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
STATUS_COL values:&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1 Begin Load &amp;lt;BR&amp;gt;&lt;br /&gt;
2 End Load&amp;lt;BR&amp;gt;&lt;br /&gt;
3 Leave Plant&amp;lt;BR&amp;gt;&lt;br /&gt;
4 Arrive Job&amp;lt;BR&amp;gt;&lt;br /&gt;
5 Begin Pour&amp;lt;BR&amp;gt;&lt;br /&gt;
6 End Pour&amp;lt;BR&amp;gt;&lt;br /&gt;
7 Leave Job&amp;lt;BR&amp;gt;&lt;br /&gt;
8 Arrive Plant&amp;lt;BR&amp;gt;&lt;br /&gt;
9 In Service&amp;lt;BR&amp;gt;&lt;br /&gt;
10 Out of Service&amp;lt;BR&amp;gt;&lt;br /&gt;
11 Clock In&amp;lt;BR&amp;gt;&lt;br /&gt;
12 Clock Out&amp;lt;BR&amp;gt;&lt;br /&gt;
13 GPS Data&amp;lt;BR&amp;gt;&lt;br /&gt;
14 Pre-Ticket&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
STATUS_REASON values:&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
0 GPS Data&amp;lt;BR&amp;gt;&lt;br /&gt;
1 Manual Status&amp;lt;BR&amp;gt;&lt;br /&gt;
2 Auto Status&amp;lt;BR&amp;gt;&lt;br /&gt;
3 On-job based on stop time&amp;lt;BR&amp;gt;&lt;br /&gt;
4 On-job based on button&amp;lt;BR&amp;gt;&lt;br /&gt;
5 Loaded based on batch results received&amp;lt;BR&amp;gt;&lt;br /&gt;
6 Pre-ticketed load released&amp;lt;BR&amp;gt;&lt;br /&gt;
7 Geofence entered/exited&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Queries ==&lt;br /&gt;
&lt;br /&gt;
Driver Status Analysis:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
SELECT&lt;br /&gt;
S.driver_code,&lt;br /&gt;
s.truck_no,&lt;br /&gt;
status_datetime,&lt;br /&gt;
STATUS_COL,&lt;br /&gt;
cast(case status_col&lt;br /&gt;
when 0 then 'Unknown'&lt;br /&gt;
when 1 then 'Beg Load'&lt;br /&gt;
when 2 then 'End Load'&lt;br /&gt;
when 3 then  'To Job'&lt;br /&gt;
when 4 then  'On Job'&lt;br /&gt;
when 5 then  'Beg Pour'&lt;br /&gt;
when 6 then  'End Pour'&lt;br /&gt;
when 7 then  'Returning'&lt;br /&gt;
when 8 then  'At Plant' &lt;br /&gt;
when 9 then  'In Serv'&lt;br /&gt;
when 10 then  'Out of Serv'&lt;br /&gt;
when 11 then  'Trk Clock In'&lt;br /&gt;
when 12 then  'Trk Clock Out'&lt;br /&gt;
when 13 then  'Travel'&lt;br /&gt;
when 14 then  'Pre-Ticket'&lt;br /&gt;
when 15 then  'Driver Clockin'&lt;br /&gt;
when 16 then  'Driver Clockout'&lt;br /&gt;
end  as char(20)) &amp;quot;Status&amp;quot;,&lt;br /&gt;
Status_reason &amp;quot;Stat Rsn&amp;quot;,&lt;br /&gt;
cast(case status_reason&lt;br /&gt;
  WHEN 0 THEN' gps'&lt;br /&gt;
  WHEN 1 THEN' manual'&lt;br /&gt;
 WHEN 2 THEN 'auto'&lt;br /&gt;
 WHEN 3 THEN 'onjob stop'&lt;br /&gt;
 WHEN 4 THEN 'onjob button'when 0 then 'Unknown'&lt;br /&gt;
 WHEN 5 THEN 'ld batch'&lt;br /&gt;
 WHEN 6 THEN 'pre tkt rls'&lt;br /&gt;
 WHEN 7 THEN 'geofence'&lt;br /&gt;
 WHEN 8 THEN 'custom'&lt;br /&gt;
 WHEN 9 THEN 'set order loc'&lt;br /&gt;
  ELSE 'Unknown'&lt;br /&gt;
end  as char(20)) &amp;quot;Reason&amp;quot;,&lt;br /&gt;
s.custom_status &amp;quot;Mode&amp;quot;,cs.description &amp;quot;Disp. Mode&amp;quot;&lt;br /&gt;
from gptstatus s&lt;br /&gt;
left outer join ditcuststat cs on cs.custom_status=s.custom_status&lt;br /&gt;
 where status_datetime &lt;br /&gt;
 between :Begin and :End&lt;br /&gt;
and ((s.status_col IN (0,1,8,9,10,11,12,15,16))&lt;br /&gt;
     OR (s.custom_status&amp;lt;&amp;gt;0) )&lt;br /&gt;
Order by Driver_code,status_datetime&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chanson</name></author>
	</entry>
</feed>