Various changes have been made as a result of the discussion of the first version

This commit is contained in:
Yury Shuvakin
2022-09-09 16:36:44 +03:00
parent 1fc06361f8
commit 3d0f39f846
13 changed files with 259 additions and 68 deletions

View File

@@ -6,6 +6,8 @@ import Cubo 1.0
import Utils 1.0
Item {
id: root
ColumnLayout {
spacing: 15
anchors.fill: parent
@@ -298,6 +300,8 @@ Item {
Connections {
target: BmsInterface.commands()
enabled: root.visible
onValuesReceived: {
batteryChargeLevelLabel.text = values.soC
batteryVoltageLabel.text = MathHelper.roundDouble(values.packVoltage)
@@ -334,7 +338,7 @@ Item {
Timer {
id: refreshValuesTimer
interval: 5000
interval: 1000
onTriggered: getValues()
}