Added reading default network settings
This commit is contained in:
@@ -255,6 +255,7 @@ void Commands::processPacket(QByteArray data)
|
|||||||
} break;
|
} break;
|
||||||
|
|
||||||
case COMM_GET_BMS_NET_SETTINGS:
|
case COMM_GET_BMS_NET_SETTINGS:
|
||||||
|
case COMM_GET_BMS_NET_DEFAULT_SETTINGS:
|
||||||
{
|
{
|
||||||
QStringList settings;
|
QStringList settings;
|
||||||
settings << vb.mid(0, 250);
|
settings << vb.mid(0, 250);
|
||||||
@@ -347,6 +348,13 @@ void Commands::getNetSettings()
|
|||||||
emitData(vb);
|
emitData(vb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Commands::getNetDefaultSettings()
|
||||||
|
{
|
||||||
|
VByteArray vb;
|
||||||
|
vb.vbAppendInt8(COMM_GET_BMS_NET_DEFAULT_SETTINGS);
|
||||||
|
emitData(vb);
|
||||||
|
}
|
||||||
|
|
||||||
void Commands::setNetSettings(QStringList settings)
|
void Commands::setNetSettings(QStringList settings)
|
||||||
{
|
{
|
||||||
VByteArray vb;
|
VByteArray vb;
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ public slots:
|
|||||||
void getAux();
|
void getAux();
|
||||||
void getExpansionTemp();
|
void getExpansionTemp();
|
||||||
void getNetSettings();
|
void getNetSettings();
|
||||||
|
void getNetDefaultSettings();
|
||||||
void setNetSettings(QStringList settings);
|
void setNetSettings(QStringList settings);
|
||||||
void sendTerminalCmd(QString cmd);
|
void sendTerminalCmd(QString cmd);
|
||||||
void setDetect(disp_pos_mode mode);
|
void setDetect(disp_pos_mode mode);
|
||||||
|
|||||||
@@ -416,8 +416,9 @@ typedef enum {
|
|||||||
COMM_GET_BMS_CELLS,
|
COMM_GET_BMS_CELLS,
|
||||||
COMM_GET_BMS_AUX,
|
COMM_GET_BMS_AUX,
|
||||||
COMM_GET_BMS_EXP_TEMP,
|
COMM_GET_BMS_EXP_TEMP,
|
||||||
COMM_GET_BMS_NET_SETTINGS = 154,
|
COMM_GET_BMS_NET_SETTINGS,
|
||||||
COMM_SET_BMS_NET_SETTINGS = 156
|
COMM_GET_BMS_NET_DEFAULT_SETTINGS,
|
||||||
|
COMM_SET_BMS_NET_SETTINGS,
|
||||||
} COMM_PACKET_ID;
|
} COMM_PACKET_ID;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
@@ -167,21 +167,30 @@ ColumnLayout {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
||||||
Controls.Button {
|
RowLayout {
|
||||||
text: qsTr("Apply")
|
spacing: 20
|
||||||
onClicked: {
|
|
||||||
if (!BmsInterface.isPortConnected())
|
|
||||||
return
|
|
||||||
|
|
||||||
var settings = [
|
Controls.OutlineButton {
|
||||||
firstUrlField.text,
|
text: qsTr("Default")
|
||||||
secondUrlField.text,
|
onClicked: BmsInterface.commands().getNetDefaultSettings()
|
||||||
apnField.text,
|
}
|
||||||
userField.text,
|
|
||||||
passwordField.text,
|
|
||||||
]
|
|
||||||
|
|
||||||
BmsInterface.commands().setNetSettings(settings)
|
Controls.Button {
|
||||||
|
text: qsTr("Apply")
|
||||||
|
onClicked: {
|
||||||
|
if (!BmsInterface.isPortConnected())
|
||||||
|
return
|
||||||
|
|
||||||
|
var settings = [
|
||||||
|
firstUrlField.text,
|
||||||
|
secondUrlField.text,
|
||||||
|
apnField.text,
|
||||||
|
userField.text,
|
||||||
|
passwordField.text,
|
||||||
|
]
|
||||||
|
|
||||||
|
BmsInterface.commands().setNetSettings(settings)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -212,6 +212,7 @@ ColumnLayout {
|
|||||||
|
|
||||||
const localTimestamp = (Math.round(date / 1000) - date.getTimezoneOffset() * 60).toString(16)
|
const localTimestamp = (Math.round(date / 1000) - date.getTimezoneOffset() * 60).toString(16)
|
||||||
BmsInterface.commands().sendTerminalCmd("setUnixTime " + localTimestamp)
|
BmsInterface.commands().sendTerminalCmd("setUnixTime " + localTimestamp)
|
||||||
|
Qt.callLater(BmsInterface.emitStatusMessage, qsTr("Time settings applied successfully"), true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,52 +14,52 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="74"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="72"/>
|
||||||
<source>Number of modules</source>
|
<source>Number of modules</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="95"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="91"/>
|
||||||
<source>Battery voltage, V</source>
|
<source>Battery voltage, V</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="116"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="110"/>
|
||||||
<source>Number of cells</source>
|
<source>Number of cells</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="137"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="129"/>
|
||||||
<source>Nominal capacity, A/h</source>
|
<source>Nominal capacity, A/h</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="158"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="148"/>
|
||||||
<source>Actual capacity, A/h</source>
|
<source>Actual capacity, A/h</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="179"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="167"/>
|
||||||
<source>Battery temperature, °C</source>
|
<source>Battery temperature, °C</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="200"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="186"/>
|
||||||
<source>BMS temperature, °C</source>
|
<source>BMS temperature, °C</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="234"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="218"/>
|
||||||
<source>Maximum cell voltage, V</source>
|
<source>Maximum cell voltage, V</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="255"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="237"/>
|
||||||
<source>Minimum cell voltage, V</source>
|
<source>Minimum cell voltage, V</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="276"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="256"/>
|
||||||
<source>Current</source>
|
<source>Current</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -492,50 +492,50 @@ Wait, please.</source>
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="270"/>
|
<location filename="../commands.cpp" line="271"/>
|
||||||
<source>Network settings applied successfully</source>
|
<source>Network settings applied successfully</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="498"/>
|
<location filename="../commands.cpp" line="506"/>
|
||||||
<location filename="../commands.cpp" line="659"/>
|
<location filename="../commands.cpp" line="667"/>
|
||||||
<source>Buffer erase</source>
|
<source>Buffer erase</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="503"/>
|
<location filename="../commands.cpp" line="511"/>
|
||||||
<source>Buffer erase timeout</source>
|
<source>Buffer erase timeout</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="511"/>
|
<location filename="../commands.cpp" line="519"/>
|
||||||
<source>CRC/Size write</source>
|
<source>CRC/Size write</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="520"/>
|
<location filename="../commands.cpp" line="528"/>
|
||||||
<source>CRC/Size write timeout</source>
|
<source>CRC/Size write timeout</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="539"/>
|
<location filename="../commands.cpp" line="547"/>
|
||||||
<source>Firmware data write</source>
|
<source>Firmware data write</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="548"/>
|
<location filename="../commands.cpp" line="556"/>
|
||||||
<source>Firmware data write timeout</source>
|
<source>Firmware data write timeout</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="576"/>
|
<location filename="../commands.cpp" line="584"/>
|
||||||
<source>Firmware update completed!
|
<source>Firmware update completed!
|
||||||
|
|
||||||
Reconnect to the board if you want to continue working with it.</source>
|
Reconnect to the board if you want to continue working with it.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="696"/>
|
<location filename="../commands.cpp" line="704"/>
|
||||||
<source>Cancelled</source>
|
<source>Cancelled</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -782,7 +782,12 @@ Reconnect to the board if you want to continue working with it.</source>
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/NetworkSettingsScreen.qml" line="171"/>
|
<location filename="../qml/Screens/NetworkSettingsScreen.qml" line="174"/>
|
||||||
|
<source>Default</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/Screens/NetworkSettingsScreen.qml" line="179"/>
|
||||||
<source>Apply</source>
|
<source>Apply</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -935,6 +940,11 @@ Reconnect to the board if you want to continue working with it.</source>
|
|||||||
<source>Write to board</source>
|
<source>Write to board</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/Screens/TimeSettingsScreen.qml" line="215"/>
|
||||||
|
<source>Time settings applied successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>Translator</name>
|
<name>Translator</name>
|
||||||
|
|||||||
@@ -14,52 +14,52 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="74"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="72"/>
|
||||||
<source>Number of modules</source>
|
<source>Number of modules</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="95"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="91"/>
|
||||||
<source>Battery voltage, V</source>
|
<source>Battery voltage, V</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="116"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="110"/>
|
||||||
<source>Number of cells</source>
|
<source>Number of cells</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="137"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="129"/>
|
||||||
<source>Nominal capacity, A/h</source>
|
<source>Nominal capacity, A/h</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="158"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="148"/>
|
||||||
<source>Actual capacity, A/h</source>
|
<source>Actual capacity, A/h</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="179"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="167"/>
|
||||||
<source>Battery temperature, °C</source>
|
<source>Battery temperature, °C</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="200"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="186"/>
|
||||||
<source>BMS temperature, °C</source>
|
<source>BMS temperature, °C</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="234"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="218"/>
|
||||||
<source>Maximum cell voltage, V</source>
|
<source>Maximum cell voltage, V</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="255"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="237"/>
|
||||||
<source>Minimum cell voltage, V</source>
|
<source>Minimum cell voltage, V</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="276"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="256"/>
|
||||||
<source>Current</source>
|
<source>Current</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -492,50 +492,50 @@ Wait, please.</source>
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="270"/>
|
<location filename="../commands.cpp" line="271"/>
|
||||||
<source>Network settings applied successfully</source>
|
<source>Network settings applied successfully</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="498"/>
|
<location filename="../commands.cpp" line="506"/>
|
||||||
<location filename="../commands.cpp" line="659"/>
|
<location filename="../commands.cpp" line="667"/>
|
||||||
<source>Buffer erase</source>
|
<source>Buffer erase</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="503"/>
|
<location filename="../commands.cpp" line="511"/>
|
||||||
<source>Buffer erase timeout</source>
|
<source>Buffer erase timeout</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="511"/>
|
<location filename="../commands.cpp" line="519"/>
|
||||||
<source>CRC/Size write</source>
|
<source>CRC/Size write</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="520"/>
|
<location filename="../commands.cpp" line="528"/>
|
||||||
<source>CRC/Size write timeout</source>
|
<source>CRC/Size write timeout</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="539"/>
|
<location filename="../commands.cpp" line="547"/>
|
||||||
<source>Firmware data write</source>
|
<source>Firmware data write</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="548"/>
|
<location filename="../commands.cpp" line="556"/>
|
||||||
<source>Firmware data write timeout</source>
|
<source>Firmware data write timeout</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="576"/>
|
<location filename="../commands.cpp" line="584"/>
|
||||||
<source>Firmware update completed!
|
<source>Firmware update completed!
|
||||||
|
|
||||||
Reconnect to the board if you want to continue working with it.</source>
|
Reconnect to the board if you want to continue working with it.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="696"/>
|
<location filename="../commands.cpp" line="704"/>
|
||||||
<source>Cancelled</source>
|
<source>Cancelled</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -782,7 +782,12 @@ Reconnect to the board if you want to continue working with it.</source>
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/NetworkSettingsScreen.qml" line="171"/>
|
<location filename="../qml/Screens/NetworkSettingsScreen.qml" line="174"/>
|
||||||
|
<source>Default</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/Screens/NetworkSettingsScreen.qml" line="179"/>
|
||||||
<source>Apply</source>
|
<source>Apply</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -935,6 +940,11 @@ Reconnect to the board if you want to continue working with it.</source>
|
|||||||
<source>Write to board</source>
|
<source>Write to board</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/Screens/TimeSettingsScreen.qml" line="215"/>
|
||||||
|
<source>Time settings applied successfully</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>Translator</name>
|
<name>Translator</name>
|
||||||
|
|||||||
Binary file not shown.
@@ -14,52 +14,52 @@
|
|||||||
<translation>Степень заряда батареи, %</translation>
|
<translation>Степень заряда батареи, %</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="74"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="72"/>
|
||||||
<source>Number of modules</source>
|
<source>Number of modules</source>
|
||||||
<translation>Количество модулей</translation>
|
<translation>Количество модулей</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="95"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="91"/>
|
||||||
<source>Battery voltage, V</source>
|
<source>Battery voltage, V</source>
|
||||||
<translation>Напряжение батареи, В</translation>
|
<translation>Напряжение батареи, В</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="116"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="110"/>
|
||||||
<source>Number of cells</source>
|
<source>Number of cells</source>
|
||||||
<translation>Количество ячеек</translation>
|
<translation>Количество ячеек</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="137"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="129"/>
|
||||||
<source>Nominal capacity, A/h</source>
|
<source>Nominal capacity, A/h</source>
|
||||||
<translation>Номинальная ёмкость, А/ч</translation>
|
<translation>Номинальная ёмкость, А/ч</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="158"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="148"/>
|
||||||
<source>Actual capacity, A/h</source>
|
<source>Actual capacity, A/h</source>
|
||||||
<translation>Реальная ёмкость, А/ч</translation>
|
<translation>Реальная ёмкость, А/ч</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="179"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="167"/>
|
||||||
<source>Battery temperature, °C</source>
|
<source>Battery temperature, °C</source>
|
||||||
<translation>Температура батареи, °C</translation>
|
<translation>Температура батареи, °C</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="200"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="186"/>
|
||||||
<source>BMS temperature, °C</source>
|
<source>BMS temperature, °C</source>
|
||||||
<translation>Температура BMS, °C</translation>
|
<translation>Температура BMS, °C</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="234"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="218"/>
|
||||||
<source>Maximum cell voltage, V</source>
|
<source>Maximum cell voltage, V</source>
|
||||||
<translation>Максимальное напряжение на ячейке, В</translation>
|
<translation>Максимальное напряжение на ячейке, В</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="255"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="237"/>
|
||||||
<source>Minimum cell voltage, V</source>
|
<source>Minimum cell voltage, V</source>
|
||||||
<translation>Минимальное напряжение на ячейке, В</translation>
|
<translation>Минимальное напряжение на ячейке, В</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="276"/>
|
<location filename="../qml/Screens/AkbMonitorScreen.qml" line="256"/>
|
||||||
<source>Current</source>
|
<source>Current</source>
|
||||||
<translation>Ток</translation>
|
<translation>Ток</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -509,43 +509,43 @@ Wait, please.</source>
|
|||||||
<translation>Конфигурация BMS установлена</translation>
|
<translation>Конфигурация BMS установлена</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="270"/>
|
<location filename="../commands.cpp" line="271"/>
|
||||||
<source>Network settings applied successfully</source>
|
<source>Network settings applied successfully</source>
|
||||||
<translation>Настройки сети успешно применены</translation>
|
<translation>Настройки сети успешно применены</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="498"/>
|
<location filename="../commands.cpp" line="506"/>
|
||||||
<location filename="../commands.cpp" line="659"/>
|
<location filename="../commands.cpp" line="667"/>
|
||||||
<source>Buffer erase</source>
|
<source>Buffer erase</source>
|
||||||
<translation>Стирание буфера</translation>
|
<translation>Стирание буфера</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="503"/>
|
<location filename="../commands.cpp" line="511"/>
|
||||||
<source>Buffer erase timeout</source>
|
<source>Buffer erase timeout</source>
|
||||||
<translation>Таймаут стирания буфера</translation>
|
<translation>Таймаут стирания буфера</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="511"/>
|
<location filename="../commands.cpp" line="519"/>
|
||||||
<source>CRC/Size write</source>
|
<source>CRC/Size write</source>
|
||||||
<translation>Запись контрольной суммы</translation>
|
<translation>Запись контрольной суммы</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="520"/>
|
<location filename="../commands.cpp" line="528"/>
|
||||||
<source>CRC/Size write timeout</source>
|
<source>CRC/Size write timeout</source>
|
||||||
<translation>Таймаут записи контрольной суммы</translation>
|
<translation>Таймаут записи контрольной суммы</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="539"/>
|
<location filename="../commands.cpp" line="547"/>
|
||||||
<source>Firmware data write</source>
|
<source>Firmware data write</source>
|
||||||
<translation>Запись данных прошивки</translation>
|
<translation>Запись данных прошивки</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="548"/>
|
<location filename="../commands.cpp" line="556"/>
|
||||||
<source>Firmware data write timeout</source>
|
<source>Firmware data write timeout</source>
|
||||||
<translation>Таймаут записи данных прошивки</translation>
|
<translation>Таймаут записи данных прошивки</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="576"/>
|
<location filename="../commands.cpp" line="584"/>
|
||||||
<source>Firmware update completed!
|
<source>Firmware update completed!
|
||||||
|
|
||||||
Reconnect to the board if you want to continue working with it.</source>
|
Reconnect to the board if you want to continue working with it.</source>
|
||||||
@@ -558,7 +558,7 @@ Reconnect to the board if you want to continue working with it.</source>
|
|||||||
<translation type="vanished">Обновление прошивки завершено</translation>
|
<translation type="vanished">Обновление прошивки завершено</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../commands.cpp" line="696"/>
|
<location filename="../commands.cpp" line="704"/>
|
||||||
<source>Cancelled</source>
|
<source>Cancelled</source>
|
||||||
<translation>Отменено</translation>
|
<translation>Отменено</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -817,7 +817,12 @@ Reconnect to the board if you want to continue working with it.</source>
|
|||||||
<translation>Пароль</translation>
|
<translation>Пароль</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../qml/Screens/NetworkSettingsScreen.qml" line="171"/>
|
<location filename="../qml/Screens/NetworkSettingsScreen.qml" line="174"/>
|
||||||
|
<source>Default</source>
|
||||||
|
<translation>По умолчанию</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/Screens/NetworkSettingsScreen.qml" line="179"/>
|
||||||
<source>Apply</source>
|
<source>Apply</source>
|
||||||
<translation>Применить</translation>
|
<translation>Применить</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -970,6 +975,11 @@ Reconnect to the board if you want to continue working with it.</source>
|
|||||||
<source>Write to board</source>
|
<source>Write to board</source>
|
||||||
<translation>Записать на плату</translation>
|
<translation>Записать на плату</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../qml/Screens/TimeSettingsScreen.qml" line="215"/>
|
||||||
|
<source>Time settings applied successfully</source>
|
||||||
|
<translation>Настройки времени успешно применены</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>Translator</name>
|
<name>Translator</name>
|
||||||
|
|||||||
Reference in New Issue
Block a user