fix(API+dashbard): fix url api BE dan nama satuan
This commit is contained in:
parent
8e0de242b0
commit
50bd5c0ebf
|
|
@ -5,7 +5,7 @@ import { HttpClient } from '@angular/common/http';
|
|||
providedIn: 'root'
|
||||
})
|
||||
export class ApiService {
|
||||
protected baseUrl = 'https://jx027dj4-3333.asse.devtunnels.ms/';
|
||||
protected baseUrl = 'http://54.196.58.97:3333/';
|
||||
|
||||
constructor(protected http: HttpClient) {}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
</div>
|
||||
<div class="card-parameter">
|
||||
<div>
|
||||
<h3>{{sensorData.dht.humidity}} %RH</h3>
|
||||
<h3>{{sensorData.dht.humidity}} %</h3>
|
||||
<h6>Kelembaban Udara</h6>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
</div>
|
||||
<div class="card-parameter">
|
||||
<div>
|
||||
<h3>{{sensorData.npk1.moisture}} %RH</h3>
|
||||
<h3>{{sensorData.npk1.moisture}} %</h3>
|
||||
<h6>Kelembaban Tanah</h6>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -76,19 +76,19 @@
|
|||
</div>
|
||||
<div class="card-parameter">
|
||||
<div>
|
||||
<h3>{{sensorData.npk1.nitrogen}} PPM</h3>
|
||||
<h3>{{sensorData.npk1.nitrogen}} mg/L</h3>
|
||||
<h6>Nitrogen</h6>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-parameter">
|
||||
<div>
|
||||
<h3>{{sensorData.npk1.phosphorus}} PPM</h3>
|
||||
<h3>{{sensorData.npk1.phosphorus}} mg/L</h3>
|
||||
<h6>Phosphorus</h6>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-parameter">
|
||||
<div>
|
||||
<h3>{{sensorData.npk1.potassium}} PPM</h3>
|
||||
<h3>{{sensorData.npk1.potassium}} mg/L</h3>
|
||||
<h6>Kalium</h6>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -107,7 +107,7 @@
|
|||
</div>
|
||||
<div class="card-parameter">
|
||||
<div>
|
||||
<h3>{{sensorData.npk2.moisture}} %RH</h3>
|
||||
<h3>{{sensorData.npk2.moisture}} %</h3>
|
||||
<h6>Kelembaban Tanah</h6>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -125,19 +125,19 @@
|
|||
</div>
|
||||
<div class="card-parameter">
|
||||
<div>
|
||||
<h3>{{sensorData.npk2.nitrogen}} PPM</h3>
|
||||
<h3>{{sensorData.npk2.nitrogen}} mg/L</h3>
|
||||
<h6>Nitrogen</h6>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-parameter">
|
||||
<div>
|
||||
<h3>{{sensorData.npk2.phosphorus}} PPM</h3>
|
||||
<h3>{{sensorData.npk2.phosphorus}} mg/L</h3>
|
||||
<h6>Phosphorus</h6>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-parameter">
|
||||
<div>
|
||||
<h3>{{sensorData.npk2.potassium}} PPM</h3>
|
||||
<h3>{{sensorData.npk2.potassium}} mg/L</h3>
|
||||
<h6>Kalium</h6>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user