1. 1.
    0
    :local id [/file get [/file find name=companyid.txt] contents]
    :local key [/file get [/file find name=companykey.txt] contents]
    :local host [/file get [/file find name=companyhost.txt] contents]
    :local datetime [/file get [/file find name=datetime.txt] contents]
    :local plate [/file get [/file find name=plateid.txt] contents]
    :local longresult [/file get [/file find name=longitude.txt] contents]
    :local latresult [/file get [/file find name=latitude.txt] contents]
    :local speed [/file get [/file find name=speed.txt] contents]

    :local poicheckurl "page=poi&process=track_weblog_check&companyID=$id&key=$key&devID=$plate&speed=$speed&lat=$latresult&long=$longresult&datetime=$datetime"
    :local poiid [/tool fetch keep-result=no port=80 url=" http://$host/webservice/?$poicheckurl" ;]

    :if($poiid > 0) do={
    :local data "page=poi&process=add_track_data&companyID=$id&key=$key&devID=$plate&speed=$speed&lat=$latresult&long=$longresult&datetime=$datetime"
    /tool fetch keep-result=no port=80 url=" http://$host/webservice/?$data" ;
    }
    ···
   tümünü göster