Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cms:units:sensors:param [21/11/2018 16:59]
tagr zark
cms:units:sensors:param [06/03/2019 15:37] (current)
tagr mani
Line 21: Line 21:
 ^**lon**| geographical longitude| ^**lon**| geographical longitude|
 ^**time**| Unix time of the message| ^**time**| Unix time of the message|
 +^**regtime**| time of registering a message on the server|
 :!: //Note.//\\ :!: //Note.//\\
 Some rare types of devices may not support any of these parameters, e.g., altitude or speed. ​ Some rare types of devices may not support any of these parameters, e.g., altitude or speed. ​
Line 137: Line 137:
 ==== Example 3: Value Availability Check ==== ==== Example 3: Value Availability Check ====
  
-There is equipment installed on the vehicle, which sends some parameter (for example, ​in1). Then the equipment gets out of order. A new one is installed. The new equipment sends the same data in another parameter (for example, ​in2). To exclude data loss during report generation, it is necessary to use value availability check in the //​Parameter//​ field upon creating a sensor. The old equipment worked all December, the new one — all January, and we need a report for these two months. If the value availability check is used during the parameter indication (//in1|in2// entered as sensor parameter), then the system takes a value from the //in1// parameter, and if the //in1// value is invalid (for example, the equipment is broken), then the system takes a value from the //in2// parameter. In other words, when using the value availability check, the system takes into account the first valid value of the parameter received.+There is equipment installed on the vehicle, which sends some parameter (for example, ​param1). Then the equipment gets out of order. A new one is installed. The new equipment sends the same data in another parameter (for example, ​param2). To exclude data loss during report generation, it is necessary to use value availability check in the //​Parameter//​ field upon creating a sensor. The old equipment worked all December, the new one — all January, and we need a report for these two months. If the value availability check is used during the parameter indication (//param1|param2// entered as sensor parameter), then the system takes a value from the //param1// parameter, and if the //param1// value is invalid (for example, the equipment is broken), then the system takes a value from the //param2// parameter. In other words, when using the value availability check, the system takes into account the first valid value of the parameter received. 
 + 
 +<​code>​param1|param2</​code>​
  
 +:!: Does not work with digital sensors.
 ====== Textual Parameters ====== ====== Textual Parameters ======
  
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2019 Gurtam