Start working on v1.25 protocol
This commit is contained in:
parent
4de5662c34
commit
381a07beea
5 changed files with 1289 additions and 327 deletions
BIN
docs/bms24_additional_protocol V1.25.pdf
Normal file
BIN
docs/bms24_additional_protocol V1.25.pdf
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
|
@ -20,17 +20,19 @@ MbPage {
|
|||
|
||||
MbItemRow {
|
||||
id: battvol
|
||||
description: qsTr("Battery Voltage")
|
||||
description: qsTr("Battery")
|
||||
values: [
|
||||
MbTextBlock { item { bind: service.path("/Voltages/Sum"); } height: 25 }
|
||||
MbTextBlock { item { bind: service.path("/Info/CurrentMode"); } height: 25 },
|
||||
MbTextBlock { item { bind: service.path("/Info/Current"); } width: 70; height: 25 },
|
||||
MbTextBlock { item { bind: service.path("/Voltages/Sum"); } width: 70; height: 25 }
|
||||
]
|
||||
}
|
||||
|
||||
MbItemRow {
|
||||
description: qsTr("State of Charge")
|
||||
values: [
|
||||
MbTextBlock { item { bind: service.path("/Info/CurrentMode"); } height: 25 },
|
||||
MbTextBlock { item { bind: service.path("/Info/Current"); } width: 70; height: 25 },
|
||||
MbTextBlock { item { bind: service.path("/Voltages/BatteryCapacityWH"); } height: 25 },
|
||||
MbTextBlock { item { bind: service.path("/Voltages/BatteryCapacityAH"); } width: 70; height: 25 },
|
||||
MbTextBlock { item { bind: service.path("/Info/Soc"); } width: 70; height: 25 }
|
||||
]
|
||||
}
|
||||
|
|
@ -62,9 +64,18 @@ MbPage {
|
|||
|
||||
|
||||
MbSubMenu {
|
||||
description: qsTr("Cells Details")
|
||||
description: qsTr("Cells Voltages")
|
||||
subpage: Component {
|
||||
PageBatteryChargeryBMSDetails {
|
||||
PageBatteryChargeryBMSVoltages {
|
||||
bindPrefix: service.path("")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MbSubMenu {
|
||||
description: qsTr("Cells Impedances")
|
||||
subpage: Component {
|
||||
PageBatteryChargeryBMSImpedances {
|
||||
bindPrefix: service.path("")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
48
gui/qml/PageBatteryChargeryBMSImpedances.qml
Normal file
48
gui/qml/PageBatteryChargeryBMSImpedances.qml
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
import QtQuick 1.1
|
||||
import com.victron.velib 1.0
|
||||
import "utils.js" as Utils
|
||||
|
||||
MbPage {
|
||||
id: root
|
||||
|
||||
property string bindPrefix
|
||||
property BatteryDetails details: BatteryDetails { bindPrefix: root.bindPrefix }
|
||||
|
||||
model: VisualItemModel {
|
||||
|
||||
MbItemRow {
|
||||
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 },
|
||||
MbTextBlock { item { bind: service.path("/Impedances/Sum"); } width: 70; height: 25 }
|
||||
]
|
||||
}
|
||||
|
||||
MbItemRow {
|
||||
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 },
|
||||
MbTextBlock { item { bind: service.path("/Impedances/Cell3"); } width: 70; height: 25 }
|
||||
]
|
||||
}
|
||||
|
||||
MbItemRow {
|
||||
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 },
|
||||
MbTextBlock { item { bind: service.path("/Impedances/Cell6"); } width: 70; height: 25 }
|
||||
]
|
||||
}
|
||||
|
||||
MbItemRow {
|
||||
description: qsTr("Impedances Data Updated")
|
||||
values: [
|
||||
MbTextBlock { item { bind: service.path("/Impedances/UpdateTimestamp"); } width: 215; height: 25 }
|
||||
]
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -11,7 +11,7 @@ MbPage {
|
|||
model: VisualItemModel {
|
||||
|
||||
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 },
|
||||
|
|
@ -45,7 +45,7 @@ MbPage {
|
|||
}
|
||||
|
||||
MbItemRow {
|
||||
description: qsTr("Cells Data Updated")
|
||||
description: qsTr("Voltages Data Updated")
|
||||
values: [
|
||||
MbTextBlock { item { bind: service.path("/Voltages/UpdateTimestamp"); } width: 215; height: 25 }
|
||||
]
|
||||
Loading…
Add table
Reference in a new issue