1 |
370c3423
|
hlavja
|
<app-nav-bar></app-nav-bar>
|
2 |
|
|
|
3 |
2b0d2514
|
hlavja
|
<div class="container">
|
4 |
|
|
<div class="row-2">
|
5 |
|
|
<h5><span class="text-color-sensor-unit">Unit ID: {{unitId}}</span></h5>
|
6 |
370c3423
|
hlavja
|
</div>
|
7 |
2b0d2514
|
hlavja
|
<div class="row">
|
8 |
|
|
<div class="col">
|
9 |
|
|
<div class="input-group form-group">
|
10 |
|
|
<div class="input-group-prepend">
|
11 |
|
|
<span class="input-group-text">From</span>
|
12 |
|
|
</div>
|
13 |
|
|
<p-calendar [style]="{'width':'100%'}" [inputStyle]="{'width':'100%'}" [(ngModel)]="from" [showTime]="true" (onSelect)="showGraph()" [maxDate]="today" showButtonBar="true"></p-calendar>
|
14 |
|
|
</div>
|
15 |
cd2a65f3
|
hlavja
|
</div>
|
16 |
2b0d2514
|
hlavja
|
<div class="col">
|
17 |
|
|
<div class="input-group form-group">
|
18 |
|
|
<div class="input-group-prepend">
|
19 |
|
|
<span class="input-group-text">To</span>
|
20 |
|
|
</div>
|
21 |
|
|
<p-calendar [style]="{'width':'100%'}" [inputStyle]="{'width':'100%'}" [(ngModel)]="to" [showTime]="true" (onSelect)="showGraph()" [maxDate]="today" showButtonBar="true"></p-calendar>
|
22 |
|
|
</div>
|
23 |
|
|
</div>
|
24 |
|
|
<div *ngIf="showAggregation" class="col">
|
25 |
|
|
<div class="input-group form-group">
|
26 |
|
|
<div class="input-group-prepend">
|
27 |
|
|
<span class="input-group-text">Aggregation</span>
|
28 |
|
|
</div>
|
29 |
|
|
<p-listbox [options]="aggregationFunction" [(ngModel)]="selectedAggregationFunction" optionLabel="name" optionValue="code" (onClick)="showGraph()" ></p-listbox>
|
30 |
|
|
</div>
|
31 |
cd2a65f3
|
hlavja
|
</div>
|
32 |
|
|
</div>
|
33 |
8b522708
|
Štěpán Červenka
|
|
34 |
2b0d2514
|
hlavja
|
<ng-container *ngFor="let group of sensorGroups">
|
35 |
|
|
<div class="row">
|
36 |
|
|
Group of sensors:
|
37 |
|
|
<ng-container *ngFor="let sensor of sensors">
|
38 |
|
|
<ng-container *ngIf="sensor.sensorId.toString().slice(0, 5) === group">
|
39 |
|
|
<div class="p-field-checkbox">
|
40 |
086f94e9
|
hlavja
|
<p-checkbox name="group1" value="{{sensor.sensorId}}" [(ngModel)]="selectedSensors" [inputId]="sensor.sensorId.toString()" (onChange)="addSensorToGraph(sensor.sensorId, $event)"></p-checkbox>
|
41 |
|
|
<label>{{sensor.sensorId}}</label>
|
42 |
2b0d2514
|
hlavja
|
</div>
|
43 |
|
|
</ng-container>
|
44 |
|
|
</ng-container>
|
45 |
|
|
</div>
|
46 |
|
|
<div id="vega_container_{{group}}"></div>
|
47 |
cd2a65f3
|
hlavja
|
</ng-container>
|
48 |
2b0d2514
|
hlavja
|
</div>
|