IF @NOTEXIST SAVED_ZONE THEN LET SAVED_ZONE = CURRENT_ZONE
IF CURRENT_ZONE == SAVED_ZONE THEN RETURN
IF CURRENT_ZONE == 1 THEN COMMAND "**,imei:%IMEI,C,60s" ELSE COMMAND "**,imei:%IMEI,C,10s"
LET SAVED_ZONE = CURRENT_ZONE
Suppose you need to create an event when the object has over speed in a certain geofence. This can be done using the following script:
LET CHECK_ZONE = @INZONE 1234
LET SPEED_IN_ZONE = V * CHECK_ZONE
IF SPEED_IN_ZONE > 100 THEN EVENT "Overspeed in Zone X"
For this event, you can define notifications and receive information on a smartphone or by email.