Added fault state popup

This commit is contained in:
Yury Shuvakin
2023-03-26 23:45:49 +03:00
parent 960dd6ba88
commit 649c9ed2a0
19 changed files with 715 additions and 85 deletions

View File

@@ -637,38 +637,38 @@ Wait, please.</source>
<translation>Настройки сети успешно применены</translation>
</message>
<message>
<location filename="../commands.cpp" line="506"/>
<location filename="../commands.cpp" line="667"/>
<location filename="../commands.cpp" line="519"/>
<location filename="../commands.cpp" line="713"/>
<source>Buffer erase</source>
<translation>Стирание буфера</translation>
</message>
<message>
<location filename="../commands.cpp" line="511"/>
<location filename="../commands.cpp" line="524"/>
<source>Buffer erase timeout</source>
<translation>Таймаут стирания буфера</translation>
</message>
<message>
<location filename="../commands.cpp" line="519"/>
<location filename="../commands.cpp" line="532"/>
<source>CRC/Size write</source>
<translation>Запись контрольной суммы</translation>
</message>
<message>
<location filename="../commands.cpp" line="528"/>
<location filename="../commands.cpp" line="541"/>
<source>CRC/Size write timeout</source>
<translation>Таймаут записи контрольной суммы</translation>
</message>
<message>
<location filename="../commands.cpp" line="547"/>
<location filename="../commands.cpp" line="560"/>
<source>Firmware data write</source>
<translation>Запись данных прошивки</translation>
</message>
<message>
<location filename="../commands.cpp" line="556"/>
<location filename="../commands.cpp" line="569"/>
<source>Firmware data write timeout</source>
<translation>Таймаут записи данных прошивки</translation>
</message>
<message>
<location filename="../commands.cpp" line="584"/>
<location filename="../commands.cpp" line="597"/>
<source>Firmware update completed!
Reconnect to the board if you want to continue working with it.</source>
@@ -676,12 +676,133 @@ Reconnect to the board if you want to continue working with it.</source>
Выполните повторное подключение к плате, если хотите продолжить работу с ней.</translation>
</message>
<message>
<location filename="../commands.cpp" line="635"/>
<source>System ok</source>
<translation>Система в порядке</translation>
</message>
<message>
<location filename="../commands.cpp" line="636"/>
<source>Pack overvoltage</source>
<translation>Напряжение пакета превышено</translation>
</message>
<message>
<location filename="../commands.cpp" line="637"/>
<source>Pack undervoltage</source>
<translation>Напряжение пакета занижено</translation>
</message>
<message>
<location filename="../commands.cpp" line="638"/>
<source>Load overvoltage</source>
<translation>Напряжение загрузки превышено</translation>
</message>
<message>
<location filename="../commands.cpp" line="639"/>
<source>Load undervoltage</source>
<translation>Напряжение загрузки занижено</translation>
</message>
<message>
<location filename="../commands.cpp" line="640"/>
<source>Charger overvoltage</source>
<translation>Напряжение зарядки завышено</translation>
</message>
<message>
<location filename="../commands.cpp" line="641"/>
<source>Charger undervoltgae</source>
<translation>Напряжение зарядки занижено</translation>
</message>
<message>
<location filename="../commands.cpp" line="642"/>
<source>Cell hard overvoltage</source>
<translation>Напряжение ячейки сильно завышено</translation>
</message>
<message>
<location filename="../commands.cpp" line="643"/>
<source>Cell hard undervoltage</source>
<translation>Напряжение ячейки сильно занижено</translation>
</message>
<message>
<location filename="../commands.cpp" line="644"/>
<source>Cell soft overvoltage</source>
<translation>Напряжение ячейки завышено</translation>
</message>
<message>
<location filename="../commands.cpp" line="645"/>
<source>Cell soft undervoltage</source>
<translation>Напряжение ячейки занижено</translation>
</message>
<message>
<location filename="../commands.cpp" line="646"/>
<source>Too high or too low voltage</source>
<translation>Слишком высокий или низкий вольтаж</translation>
</message>
<message>
<location filename="../commands.cpp" line="647"/>
<source>Too high or too low temperature</source>
<translation>Слишком высокая или низкая температура</translation>
</message>
<message>
<location filename="../commands.cpp" line="648"/>
<source>Over current</source>
<translation>Превышен ток</translation>
</message>
<message>
<location filename="../commands.cpp" line="649"/>
<source>Over temperature BMS</source>
<translation>Превышена температура BMS</translation>
</message>
<message>
<location filename="../commands.cpp" line="650"/>
<source>Under temperature BMS</source>
<translation>Занижена температура BMS</translation>
</message>
<message>
<location filename="../commands.cpp" line="651"/>
<source>Discharge over temperature cell</source>
<translation>Превышена температура разряда ячейки</translation>
</message>
<message>
<location filename="../commands.cpp" line="652"/>
<source>Discharge under temperature cell</source>
<translation>Занижена температура разряда ячейки</translation>
</message>
<message>
<location filename="../commands.cpp" line="653"/>
<source>Charge over temperature cell</source>
<translation>Превышена температура заряда ячейки</translation>
</message>
<message>
<location filename="../commands.cpp" line="654"/>
<source>Charge under temperature cell</source>
<translation>Занижена температура заряда ячейки</translation>
</message>
<message>
<location filename="../commands.cpp" line="655"/>
<source>Precharge timeout</source>
<translation>Тайм-аут предварительной зарядки</translation>
</message>
<message>
<location filename="../commands.cpp" line="656"/>
<source>Discharge retry</source>
<translation>Попытка рязряда</translation>
</message>
<message>
<location filename="../commands.cpp" line="657"/>
<location filename="../commands.cpp" line="658"/>
<source>Charge retry</source>
<translation>Попытка заряда</translation>
</message>
<message>
<location filename="../commands.cpp" line="659"/>
<source>Unknown state</source>
<translation>Неизвестное состояние</translation>
</message>
<message>
<source>Firmware update completed</source>
<translation type="vanished">Обновление прошивки завершено</translation>
</message>
<message>
<location filename="../commands.cpp" line="704"/>
<location filename="../commands.cpp" line="750"/>
<source>Cancelled</source>
<translation>Отменено</translation>
</message>
@@ -876,7 +997,7 @@ Reconnect to the board if you want to continue working with it.</source>
<translation>Вывод информации</translation>
</message>
<message>
<location filename="../qml/MainWindow.qml" line="403"/>
<location filename="../qml/MainWindow.qml" line="408"/>
<source>Firmware update</source>
<translation>Обновление прошивки</translation>
</message>
@@ -885,7 +1006,7 @@ Reconnect to the board if you want to continue working with it.</source>
<translation type="vanished">Терминал</translation>
</message>
<message>
<location filename="../qml/MainWindow.qml" line="564"/>
<location filename="../qml/MainWindow.qml" line="605"/>
<source>Tool started</source>
<translation>Утилита запущена</translation>
</message>