feat: Add water process in GUI.

This commit is contained in:
sunwen
2025-03-04 11:04:57 +08:00
parent 7c66abb72d
commit a461a4399b
18 changed files with 1233 additions and 149 deletions

View File

@@ -468,89 +468,89 @@
<context>
<name>DeviceManager</name>
<message>
<location filename="../device/DeviceManager.cpp" line="167"/>
<location filename="../device/DeviceManager.cpp" line="812"/>
<location filename="../device/DeviceManager.cpp" line="820"/>
<location filename="../device/DeviceManager.cpp" line="1288"/>
<location filename="../device/DeviceManager.cpp" line="185"/>
<location filename="../device/DeviceManager.cpp" line="845"/>
<location filename="../device/DeviceManager.cpp" line="853"/>
<location filename="../device/DeviceManager.cpp" line="1399"/>
<source>DMS connection error</source>
<translation type="unfinished">DMS失去连接</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="363"/>
<location filename="../device/DeviceManager.cpp" line="372"/>
<location filename="../device/DeviceManager.cpp" line="381"/>
<location filename="../device/DeviceManager.cpp" line="390"/>
<source>progress:%1%</source>
<translation type="unfinished">:%1%</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="377"/>
<location filename="../device/DeviceManager.cpp" line="395"/>
<source>Patient can leave.
progress:%1%</source>
<translation type="unfinished">
:%1%</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="384"/>
<location filename="../device/DeviceManager.cpp" line="402"/>
<source>Data quality assessment in progress
progress:99%</source>
<translation type="unfinished">
进度:99%</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="256"/>
<location filename="../device/DeviceManager.cpp" line="873"/>
<location filename="../device/DeviceManager.cpp" line="881"/>
<location filename="../device/DeviceManager.cpp" line="274"/>
<location filename="../device/DeviceManager.cpp" line="906"/>
<location filename="../device/DeviceManager.cpp" line="914"/>
<source>Initialize Failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="223"/>
<location filename="../device/DeviceManager.cpp" line="241"/>
<source>Fail to connect to DB!Reboot device to try!</source>
<translation type="unfinished">!</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="322"/>
<location filename="../device/DeviceManager.cpp" line="340"/>
<source>Device is not ready, start scan operation failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="322"/>
<location filename="../device/DeviceManager.cpp" line="340"/>
<source>Device is not ready, start empty scan operation failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="441"/>
<location filename="../device/DeviceManager.cpp" line="459"/>
<source>Scan completed! Please prepare for the next scan.
After lying down, click the confirm buttonto start scanning on the next side.</source>
<translation type="unfinished">
!</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="442"/>
<location filename="../device/DeviceManager.cpp" line="460"/>
<source>Scan completed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="763"/>
<location filename="../device/DeviceManager.cpp" line="796"/>
<source>Error: </source>
<translation type="unfinished">: </translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="847"/>
<location filename="../device/DeviceManager.cpp" line="880"/>
<source>Start scan failed. Reason:time out.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="858"/>
<location filename="../device/DeviceManager.cpp" line="891"/>
<source>Start scan failed. Reason:%1</source>
<translation type="unfinished">%1</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="883"/>
<location filename="../device/DeviceManager.cpp" line="916"/>
<source>Start CE Scan Failed.</source>
<translation type="unfinished">CE扫查启动失败</translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="915"/>
<location filename="../device/DeviceManager.cpp" line="948"/>
<source>Shut down failed, please push emergency button to shutdown.</source>
<translation type="unfinished"></translation>
</message>
@@ -559,43 +559,55 @@ After lying down, click the confirm buttonto start scanning on the next side.</s
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1003"/>
<location filename="../device/DeviceManager.cpp" line="1036"/>
<source>Create empty scan data failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1026"/>
<location filename="../device/DeviceManager.cpp" line="1059"/>
<source>Create scan data failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1092"/>
<location filename="../device/DeviceManager.cpp" line="1125"/>
<source>Recon disconnected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1134"/>
<location filename="../device/DeviceManager.cpp" line="1149"/>
<location filename="../device/DeviceManager.cpp" line="1166"/>
<location filename="../device/DeviceManager.cpp" line="1181"/>
<source>Open pump failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1166"/>
<location filename="../device/DeviceManager.cpp" line="1190"/>
<location filename="../device/DeviceManager.cpp" line="1205"/>
<source>Water injection failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1214"/>
<location filename="../device/DeviceManager.cpp" line="1229"/>
<source>Cleaning failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1277"/>
<source>Recon error, can&apos;t start scan process</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1262"/>
<location filename="../device/DeviceManager.cpp" line="1373"/>
<source>Start auto locate failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1282"/>
<location filename="../device/DeviceManager.cpp" line="1393"/>
<source>The data quality is low, please restart the data scan.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../device/DeviceManager.cpp" line="1310"/>
<location filename="../device/DeviceManager.cpp" line="1421"/>
<source>Device reset failed, please contact maintenance person</source>
<translation type="unfinished"></translation>
</message>
@@ -2363,22 +2375,39 @@ The emergency button has been pushed. Please reset it before other operations.</
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="92"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="116"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="132"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="361"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="120"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="198"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="216"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="258"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="432"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="603"/>
<source>Drainage</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="70"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="357"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="98"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="599"/>
<source>Account</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="74"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="358"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="76"/>
<source>Drainage time out</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="83"/>
<source>Waterflood time out</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="90"/>
<source>Clean time out</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="102"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="600"/>
<source>ShutDown</source>
<translation type="unfinished"></translation>
</message>
@@ -2387,67 +2416,155 @@ The emergency button has been pushed. Please reset it before other operations.</
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="78"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="359"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="106"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="601"/>
<source>Start Scan</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="87"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="115"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="255"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="426"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="604"/>
<source>Waterflood</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="98"/>
<source>Make sure to open the drain valve ?</source>
<translation type="unfinished"></translation>
<location filename="../forms/scan/ScanFormWidget.cpp" line="125"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="234"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="438"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="605"/>
<source>Clean</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="98"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="130"/>
<source>Please confirm if water injection is required ?</source>
<translation type="unfinished">?</translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="130"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="283"/>
<source>Confirm Water Injection</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="138"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="604"/>
<source>Waterflooding</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="151"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="287"/>
<source>Confirm Drainage</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="108"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="136"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="361"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="151"/>
<source>Please confirm if drainage is required ?</source>
<translation type="unfinished">?</translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="159"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="603"/>
<source>Drainaging</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="145"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="172"/>
<source>Please confirm if cleaning and disinfection are required. ?</source>
<translation type="unfinished">?</translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="172"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="396"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="403"/>
<source>Confirm cleaning</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="181"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="261"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="412"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="605"/>
<source>Cleaning</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="264"/>
<source> exit failed.</source>
<translation type="unfinished">退</translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="282"/>
<source>Waterflood finished.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="395"/>
<source>Please click the confirm button for cleaning after disinfection.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="299"/>
<source>Waterflood failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="286"/>
<source>Drainage finished. Please do the disinfection in next step.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="302"/>
<source>Drainage failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="305"/>
<source>Clean failed.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="316"/>
<source>Shut down now ?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="145"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="316"/>
<source>Shut Down</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="194"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="225"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="360"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="365"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="459"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="602"/>
<source>Please confirm checking patient information to start the process</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="199"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="370"/>
<source>Data scanning, please keep the current position and don&apos;t move.</source>
<translation type="unfinished">姿</translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="204"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="375"/>
<source>Data exporting, patient can leave the holder</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="370"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="402"/>
<source>cleanning finished.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="614"/>
<source>Left side scan initiated, auto positioning in progress.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/scan/ScanFormWidget.cpp" line="372"/>
<location filename="../forms/scan/ScanFormWidget.cpp" line="616"/>
<source>Right side scan initiated, auto positioning in progress.</source>
<translation type="unfinished"></translation>
</message>