26 lines
1.0 KiB
QML
26 lines
1.0 KiB
QML
|
import QtQuick 1.1
|
||
|
import Qt.labs.components.native 1.0
|
||
|
import com.victron.velib 1.0
|
||
|
|
||
|
MbItemOptions {
|
||
|
id: chargingState
|
||
|
show:false
|
||
|
readonly: true
|
||
|
bind: "com.victronenergy.controller/State"
|
||
|
possibleValues:[
|
||
|
MbOption { description: qsTr("Unknown"); value: 0 },
|
||
|
MbOption { description: qsTr("Heating"); value: 1 },
|
||
|
MbOption { description: qsTr("Optimize self-consumption"); value: 2 },
|
||
|
MbOption { description: qsTr("Calibration charge"); value: 3 },
|
||
|
MbOption { description: qsTr("Hold min SOC"); value: 4 },
|
||
|
MbOption { description: qsTr("Charge to min SOC"); value: 5 },
|
||
|
MbOption { description: qsTr("Bridge grid blackout"); value: 6 },
|
||
|
MbOption { description: qsTr("Limit discharge power"); value: 7 },
|
||
|
MbOption { description: qsTr("Scheduled charge"); value: 8 },
|
||
|
MbOption { description: qsTr("Limit charge power"); value: 9 },
|
||
|
MbOption { description: qsTr("No grid meter available"); value: 10 },
|
||
|
MbOption { description: qsTr("No battery available"); value: 11 },
|
||
|
MbOption { description: qsTr("No inverter available"); value: 12 }
|
||
|
]
|
||
|
}
|