`RotasUnificadasService` Componente para acesso ao api do backend e/ou comunicação entre controllers
- Source:
Methods
(inner) addAlarmeRota(idRota, alarme)
Parameters:
Name |
Type |
Description |
idRota |
*
|
|
alarme |
*
|
|
- Source:
(inner) atualizarPontos(waypoints)
Parameters:
Name |
Type |
Description |
waypoints |
*
|
|
- Source:
(inner) calcularTempo(waypoints)
Parameters:
Name |
Type |
Description |
waypoints |
*
|
|
- Source:
(inner) calcularTempoRotaCriada(waypoints, rotaUnificadaId)
Parameters:
Name |
Type |
Description |
waypoints |
*
|
|
rotaUnificadaId |
*
|
|
- Source:
(inner) deletarRota(id)
Parameters:
Name |
Type |
Description |
id |
*
|
|
- Source:
(inner) deleteAlarmeRota(alarmeId)
Parameters:
Name |
Type |
Description |
alarmeId |
*
|
|
- Source:
(inner) getAlarmesRota(idRota)
Parameters:
Name |
Type |
Description |
idRota |
*
|
|
- Source:
(inner) getKMLFromKMZ(kmz)
Parameters:
Name |
Type |
Description |
kmz |
*
|
|
- Source:
(inner) pegarCor(value)
Parameters:
Name |
Type |
Description |
value |
*
|
|
- Source:
(inner) pegarDetalhamento(id)
Parameters:
Name |
Type |
Description |
id |
*
|
|
- Source:
(inner) pegarRota(id)
Parameters:
Name |
Type |
Description |
id |
*
|
|
- Source:
(inner) pegarRotas()
- Source:
(inner) salvarRota(obj) → {Promise}
Parameters:
Name |
Type |
Description |
obj |
obj
|
objeto contendo informações da Rota |
- Source:
Returns:
Promise que resolve contendo um objeto com a nova
rota salva no banco.
-
Type
-
Promise
(inner) salvarRotaUnificada(obj) → {Promise}
Parameters:
Name |
Type |
Description |
obj |
obj
|
objeto contendo informações da Rota |
- Source:
Returns:
Promise que resolve contendo um objeto com a nova
rota salva no banco.
-
Type
-
Promise
(inner) updateAlarmeRota(alarme)
Parameters:
Name |
Type |
Description |
alarme |
*
|
|
- Source:
(inner) updateColorRoute(idRota, jsonObject)
Parameters:
Name |
Type |
Description |
idRota |
*
|
|
jsonObject |
*
|
|
- Source:
(inner) updateRotaUnificada(obj)
Parameters:
Name |
Type |
Description |
obj |
*
|
|
- Source: