updated some gui display

This commit is contained in:
Tobi177 2020-07-27 22:52:37 +02:00
parent d1b2de09e2
commit c7968a428e
4 changed files with 20 additions and 20 deletions

View file

@ -10,7 +10,7 @@ OverviewPage {
property string batteryPrefix: "com.victronenergy.battery.ttyO4"
property string chargeryBMSPrefix: "com.victronenergy.battery.ttyUSB0"
title: qsTr("Overview")
title: qsTr("System Overview")
function remainingTime(time, returninfinite) {
@ -70,7 +70,7 @@ OverviewPage {
left: overviewRectangle.left; leftMargin: 8
verticalCenter: parent.verticalCenter
}
text: "Overview"
text: "System Overview"
}
Text {
@ -105,7 +105,7 @@ OverviewPage {
MbItemRowTOBO {
id: batterySoc
description: qsTr("Used|Soc|Time")
description: qsTr("Used | Soc | Time")
values: [
MbTextBlock { item.bind: Utils.path(batteryPrefix, "/ConsumedAmphours"); width: 90; height: 25 },
@ -117,7 +117,7 @@ OverviewPage {
MbItemRowTOBO {
id: batteryLoad
anchors.top: batterySoc.bottom
description: qsTr("Battery Usage")
description: qsTr("Battery Status")
values: [
MbTextBlock { item.bind: Utils.path(batteryPrefix, "/Dc/0/Voltage"); width: 90; height: 25 },
MbTextBlock { item.bind: Utils.path(batteryPrefix, "/Dc/0/Current"); width: 90; height: 25 },
@ -136,7 +136,7 @@ OverviewPage {
MbItemRowTOBO {
id : pvStateDisplay
description: qsTr("State|Max V|W")
description: qsTr("State | Max (V/W)")
SystemState {
id: pvState
@ -154,7 +154,7 @@ OverviewPage {
MbItemRowTOBO {
id : pvDisplay
anchors.top: pvStateDisplay.bottom
description: qsTr("Panels")
description: qsTr("Solar Status")
values: [
MbTextBlock { item.bind: Utils.path(solarchargerPrefix, "/Pv/V"); width: 90; visible: true; height: 25 },
@ -184,7 +184,7 @@ OverviewPage {
MbItemRowTOBO {
id : bmsCellView1
description: qsTr("Cells Min|Max|Diff")
description: qsTr("Volt (Min/Max/Diff)")
values: [
MbTextBlock { item.bind: Utils.path(chargeryBMSPrefix, "/Voltages/Min"); width: 90; height: 25 },
MbTextBlock { item.bind: Utils.path(chargeryBMSPrefix, "/Voltages/Max"); width: 90; height: 25 },
@ -195,7 +195,7 @@ OverviewPage {
MbItemRowTOBO {
id : bmsCellView2
anchors.top: bmsCellView1.bottom
description: qsTr("Current|Temp")
description: qsTr("Current | Temp (1/2)")
values: [
MbTextBlock { item.bind: Utils.path(chargeryBMSPrefix, "/Info/Current"); width: 90; height: 25 },
MbTextBlock { item.bind: Utils.path(chargeryBMSPrefix, "/Info/Temp/Sensor1"); width: 90; height: 25 },

View file

@ -20,7 +20,7 @@ MbPage {
MbItemRow {
id: battvol
description: qsTr("Battery")
description: qsTr("Battery Status")
values: [
MbTextBlock { item { bind: service.path("/Info/CurrentMode"); } height: 25 },
MbTextBlock { item { bind: service.path("/Info/Current"); } width: 70; height: 25 },
@ -38,7 +38,7 @@ MbPage {
}
MbItemRow {
description: qsTr("Temp Sensors 1|2")
description: qsTr("Temperature Sensors (1/2)")
values: [
MbTextBlock { item { bind: service.path("/Info/Temp/Sensor1"); } width: 70; height: 25 },
MbTextBlock { item { bind: service.path("/Info/Temp/Sensor2"); } width: 70; height: 25 }
@ -47,7 +47,7 @@ MbPage {
MbItemRow {
description: qsTr("Cells Min|Max|Diff")
description: qsTr("Voltages (Min/Max/Diff)")
values: [
MbTextBlock { item { bind: service.path("/Voltages/Min"); } width: 70; height: 25 },
MbTextBlock { item { bind: service.path("/Voltages/Max"); } width: 70; height: 25 },

View file

@ -7,13 +7,13 @@ MbPage {
property string bindPrefix
property BatteryDetails details: BatteryDetails { bindPrefix: root.bindPrefix }
title: service.description + " | Impedances"
title: service.description + " | Cells Impedances"
model: VisualItemModel {
MbItemRow {
id: currentState1
description: qsTr("Measured State")
description: qsTr("Measured Current")
values: [
MbTextBlock { item { bind: service.path("/Impedances/CurrentMode1"); } width: 70; height: 25 },
MbTextBlock { item { bind: service.path("/Impedances/Current1"); } width: 70; height: 25 }
@ -21,7 +21,7 @@ MbPage {
}
MbItemRow {
description: qsTr("Min|Max|Sum")
description: qsTr("Impedances (Min/Max/Sum)")
values: [
MbTextBlock { item { bind: service.path("/Impedances/Min"); } width: 70; height: 25 },
MbTextBlock { item { bind: service.path("/Impedances/Max"); } width: 70; height: 25 },
@ -30,7 +30,7 @@ MbPage {
}
MbItemRow {
description: qsTr("Cells 1|2|3")
description: qsTr("Cells (1/2/3)")
values: [
MbTextBlock { item { bind: service.path("/Impedances/Cell1"); } width: 70; height: 25 },
MbTextBlock { item { bind: service.path("/Impedances/Cell2"); } width: 70; height: 25 },
@ -39,7 +39,7 @@ MbPage {
}
MbItemRow {
description: qsTr("Cells 4|5|6")
description: qsTr("Cells (4/5/6)")
values: [
MbTextBlock { item { bind: service.path("/Impedances/Cell4"); } width: 70; height: 25 },
MbTextBlock { item { bind: service.path("/Impedances/Cell5"); } width: 70; height: 25 },

View file

@ -7,12 +7,12 @@ MbPage {
property string bindPrefix
property BatteryDetails details: BatteryDetails { bindPrefix: root.bindPrefix }
title: service.description + " | Voltages"
title: service.description + " | Cells Voltages"
model: VisualItemModel {
MbItemRow {
description: qsTr("Min|Max|Diff")
description: qsTr("Voltages (Min/Max/Diff)")
values: [
MbTextBlock { item { bind: service.path("/Voltages/Min"); } width: 70; height: 25 },
MbTextBlock { item { bind: service.path("/Voltages/Max"); } width: 70; height: 25 },
@ -21,7 +21,7 @@ MbPage {
}
MbItemRow {
description: qsTr("Cells 1|2|3")
description: qsTr("Cells (1/2/3)")
values: [
MbTextBlock { item { bind: service.path("/Voltages/Cell1"); } width: 70; height: 25 },
MbTextBlock { item { bind: service.path("/Voltages/Cell2"); } width: 70; height: 25 },
@ -30,7 +30,7 @@ MbPage {
}
MbItemRow {
description: qsTr("Cells 4|5|6")
description: qsTr("Cells (4/5/6)")
values: [
MbTextBlock { item { bind: service.path("/Voltages/Cell4"); } width: 70; height: 25 },
MbTextBlock { item { bind: service.path("/Voltages/Cell5"); } width: 70; height: 25 },