Merge pull request #132 from helgeerbe/fix-battery-pinmapping-missing-in-ui
This commit is contained in:
commit
87794e0793
@ -119,6 +119,18 @@
|
|||||||
<td>{{ currentPinAssignment?.victron?.tx }}</td>
|
<td>{{ currentPinAssignment?.victron?.tx }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td rowspan="2">Battery</td>
|
||||||
|
<td>RX</td>
|
||||||
|
<td>{{ selectedPinAssignment?.battery?.rx }}</td>
|
||||||
|
<td>{{ currentPinAssignment?.battery?.rx }}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>TX</td>
|
||||||
|
<td>{{ selectedPinAssignment?.battery?.tx }}</td>
|
||||||
|
<td>{{ currentPinAssignment?.battery?.tx }}</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -30,12 +30,18 @@ export interface Victron {
|
|||||||
tx: number;
|
tx: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface Battery {
|
||||||
|
rx: number;
|
||||||
|
tx: number;
|
||||||
|
}
|
||||||
|
|
||||||
export interface Device {
|
export interface Device {
|
||||||
name: string;
|
name: string;
|
||||||
nrf24: Nrf24;
|
nrf24: Nrf24;
|
||||||
eth: Ethernet;
|
eth: Ethernet;
|
||||||
display: Display;
|
display: Display;
|
||||||
victron: Victron;
|
victron: Victron;
|
||||||
|
battery: Battery;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PinMapping extends Array<Device>{}
|
export interface PinMapping extends Array<Device>{}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user