-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbms-debug-page.component.html
More file actions
32 lines (32 loc) · 1.5 KB
/
bms-debug-page.component.html
File metadata and controls
32 lines (32 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<div class="image-container" style="margin-right: 16px; margin-left: 16px">
@if (isMobile) {
<!-- TODO: Add mobile display component -->
} @else {
<!-- TODO: Add components for the segment summary-->
<mat-grid-list cols="6" gutterSize="15px" rowHeight="1.5rem" style="margin-top: -20px">
<mat-grid-tile [colspan]="6" rowspan="3">
<bms-header style="width: 100%" [pageTitle]="this.windowSize < 1200 ? 'ACCU' : 'Accumulator'" />
</mat-grid-tile>
<mat-grid-tile [colspan]="6" rowspan="5">
<bms-at-a-glance-redesign style="height: 100%; width: 100%" />
</mat-grid-tile>
<mat-grid-tile [colspan]="windowSize > 1300 ? 1 : 2" [rowspan]="16">
<div style="display: flex; flex-direction: column; width: 100%; height: 100%; gap: 3%">
<acc-high-voltage style="width: 100%; min-height: 31%" />
<acc-low-voltage style="width: 100%; min-height: 31%" />
<acc-high-temp style="width: 100%; min-height: 32%" />
</div>
</mat-grid-tile>
@for (segment of segments; track segment) {
<mat-grid-tile [colspan]="2" [rowspan]="5">
<segment-summary [segmentNumber]="segment" style="height: 100%; width: 100%" />
</mat-grid-tile>
}
@for (segment of segments; track segment) {
<mat-grid-tile colspan="6" rowspan="8">
<cell-by-cell-heat-map style="width: 100%; height: 100%" [currentSegment]="segment"></cell-by-cell-heat-map>
</mat-grid-tile>
}
</mat-grid-list>
}
</div>