sgrAtualizaParametrosTemperatura
Includes/changes the customer's temperature parameters.
PARAMETERS
Field | Type | Required? | Description |
---|---|---|---|
keyaccess | string | Yes | Key returned by the sgrLogin method. |
cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
cdcliente | integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method. |
cdtpsenstemp | integer | Yes | Sensor type code. This code is returned by the sgrListTypesSensorsTemperature method. |
vltolerasup | integer | Yes | Upper tolerated temperature. |
vlidealsup | integer | Yes | Ideal temperature higher. |
vlidealinf | integer | Yes | Lower ideal temperature. |
vltolerainf | integer | Yes | Lower tolerated temperature. |
**METHOD RETURN
If the parameters are correct, the sgrData object will display ReturnID=0 (zero) and ReturnDescription=OK, indicating that the temperatures have been changed successfully.
ReturnDescription: If there is an error when executing the method, the property will display:
Error | Description |
---|---|
The person informed is not registered | Follow the steps in the item DRIVER CONSULTATION AND REGISTRATION |
Photo recording failed! Try again | his error may be caused by an incorrect parameter, the field to be corrected will be indicated in the returnDataset property. This means you need to check the parameters and run the method again. It may also indicate a timeout or a dropped connection to the database. It is necessary to pass on the data entered, as well as the name of the method, the issue time and the customer code to the following e-mail address: [email protected] so that the error can be validated. |