diff --git a/applications/EmsShower/customdisplaypanel.cpp b/applications/EmsShower/customdisplaypanel.cpp index 3110db5..cd84623 100644 --- a/applications/EmsShower/customdisplaypanel.cpp +++ b/applications/EmsShower/customdisplaypanel.cpp @@ -264,7 +264,7 @@ void CustomDisplayPanel::UpdateTemperature(OpenJson &json,bool app/*=false*/) font.setPixelSize(16); font.setBold(true); item->setFont(font); - //item->setForeground(QBrush(QColor("#2E86C1"))); + item->setForeground(QBrush(QColor("#2E86C1"))); item->setForeground(QColor(Qt::red)); m_pTableWidget->setItem(i, col++, item); @@ -278,7 +278,7 @@ void CustomDisplayPanel::UpdateTemperature(OpenJson &json,bool app/*=false*/) font2.setPixelSize(16); //font2.setBold(true); item2->setFont(font2); - //item2->setForeground(QBrush(QColor("#2E86C1"))); + item2->setForeground(QBrush(QColor("#2E86C1"))); item2->setForeground(QColor(Qt::red)); m_pTableWidget->setItem(i, col, item2); diff --git a/applications/EmsShower/emsshower.ini b/applications/EmsShower/emsshower.ini index d6e52ff..a370033 100644 --- a/applications/EmsShower/emsshower.ini +++ b/applications/EmsShower/emsshower.ini @@ -11,6 +11,7 @@ data=8 parity=0 stop=1 interval=15 +delay=1000 [slaves] slave_id=1 diff --git a/applications/EmsShower/emsshower.json b/applications/EmsShower/emsshower.json index 340e4d6..e657b55 100644 --- a/applications/EmsShower/emsshower.json +++ b/applications/EmsShower/emsshower.json @@ -48,7 +48,7 @@ "comment":"温度", "order":2, "precision":10, - "unit":"℃", + "unit":"", "title_chn":"温度", "title_eng":"T (℃) ", "display":1, @@ -58,7 +58,7 @@ "comment":"湿度", "order":3, "precision":1, - "unit":"%", + "unit":"", "title_chn":"湿度", "title_eng":"RH (%)", "display":1, @@ -78,7 +78,7 @@ "comment":"高精度温度", "order":5, "precision":100, - "unit":"℃", + "unit":"", "title_chn":"高精度温度", "title_eng":"HD T (℃)", "display":2, @@ -87,7 +87,7 @@ { "comment":"高精度湿度", "order":6, - "precision":1, + "precision":100, "unit":"%", "title_chn":"高精度湿度值", "title_eng":"HD RH (%)", @@ -281,37 +281,37 @@ { "comment":"相电压AB/A", "order":2, - "precision":1, + "precision":100, "unit":"V", "title_chn":"相电压AB/A", - "title_eng":"V_A", + "title_eng":"V_A (V)", "display":1, "skip":0 }, { "comment":"相电压BC/B", "order":3, - "precision":1, + "precision":100, "unit":"V", "title_chn":"相电压BC/B", - "title_eng":"V_B", + "title_eng":"V_B (V)", "display":1, "skip":0 }, { "comment":"相电压CA/C", "order":4, - "precision":1, + "precision":100, "unit":"V", "title_chn":"相电压CA/C", - "title_eng":"V_C", + "title_eng":"V_C (V)", "display":1, "skip":0 }, { "comment":"输入频率", "order":5, - "precision":1, + "precision":100, "unit":"Hz", "title_chn":"输入频率", "title_eng":"Freq.", @@ -324,14 +324,14 @@ "precision":1, "unit":"Kwh", "title_chn":"交流总电量", - "title_eng":"AC Total", + "title_eng":"AC Total Energy", "display":2, "skip":0 }, { "comment":"输出电流A", "order":7, - "precision":1, + "precision":100, "unit":"A", "title_chn":"输出电流A", "title_eng":"IA", @@ -341,7 +341,7 @@ { "comment":"输出电流B", "order":8, - "precision":1, + "precision":100, "unit":"A", "title_chn":"输出电流B", "title_eng":"IB", @@ -351,7 +351,7 @@ { "comment":"输出电流C", "order":9, - "precision":1, + "precision":100, "unit":"A", "title_chn":"输出电流C", "title_eng":"IC", @@ -380,117 +380,6 @@ } ] }, - { - "start_addr":1548, - "quantity":10, - "bytes_per_register":2, - "language":"en", - "device_name_chn":"交流告警", - "device_name_eng": "AC Alarm", - "device_type":6, - "data": [ - { - "comment":"设备在线", - "order":0, - "precision":1, - "unit":"", - "title_chn":"设备在线", - "title_eng":"Online", - "display":2, - "skip":0 - }, - { - "comment":"相电压AB/A", - "order":1, - "precision":1, - "unit":"", - "title_chn":"相电压AB/A", - "title_eng":"V_A", - "display":2, - "skip":0 - }, - { - "comment":"相电压BC/B", - "order":2, - "precision":1, - "unit":"", - "title_chn":"相电压BC/B", - "title_eng":"V_B", - "display":2, - "skip":0 - }, - { - "comment":"相电压CA/C", - "order":3, - "precision":1, - "unit":"", - "title_chn":"相电压CA/C", - "title_eng":"V_C", - "display":2, - "skip":0 - }, - { - "comment":"频率", - "order":4, - "precision":1, - "unit":"", - "title_chn":"频率", - "title_eng":"Freq.", - "display":2, - "skip":0 - }, - { - "comment":"防雷器", - "order":5, - "precision":1, - "unit":"", - "title_chn":"频率", - "title_eng":"Lightning Arrester", - "display":2, - "skip":0 - }, - { - "comment":"交流停电", - "order":6, - "precision":1, - "unit":"", - "title_chn":"交流停电", - "title_eng":"AC Power Outage", - "display":2, - "skip":0 - }, - { - "comment":"A相输入电流", - "order":7, - "precision":1, - "unit":"", - "title_chn":"A相输入电流", - "title_eng":"IA", - "display":2, - "skip":0 - }, - { - "comment":"B相输入电流", - "order":8, - "precision":1, - "unit":"", - "title_chn":"B相输入电流", - "title_eng":"IB", - "display":2, - "skip":0 - }, - { - "comment":"C相输入电流", - "order":9, - "precision":1, - "unit":"", - "title_chn":"C相输入电流", - "title_eng":"IC", - "display":2, - "skip":0 - } - ] - }, { "start_addr":3072, "quantity":23, @@ -513,10 +402,10 @@ { "comment":"输出电压", "order":1, - "precision":1, + "precision":100, "unit":"V", "title_chn":"输出电压", - "title_eng":"Vout", + "title_eng":"Vout (V)", "display":1, "skip":0 }, @@ -527,13 +416,13 @@ "unit":"", "title_chn":"监控模块数量", "title_eng":"Module Number", - "display":0, - "skip":1 + "display":1, + "skip":0 }, { "comment":"模块1输出电流", "order":3, - "precision":1, + "precision":100, "unit":"A", "title_chn":"模块1输出电流", "title_eng":"Iout #1", @@ -543,7 +432,7 @@ { "comment":"模块1温度", "order":4, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"模块1温度", "title_eng":"T #1", @@ -553,7 +442,7 @@ { "comment":"模块1输入电压", "order":5, - "precision":1, + "precision":100, "unit":"V", "title_chn":"模块1输入电压", "title_eng":"Vin #1", @@ -563,7 +452,7 @@ { "comment":"模块1输入电流", "order":6, - "precision":1, + "precision":100, "unit":"A", "title_chn":"模块1输入电流", "title_eng":"Iin #1", @@ -573,7 +462,7 @@ { "comment":"模块1输出电压", "order":7, - "precision":1, + "precision":100, "unit":"V", "title_chn":"模块1输出电压", "title_eng":"Vout #1", @@ -583,7 +472,7 @@ { "comment":"模块2输出电流", "order":8, - "precision":1, + "precision":100, "unit":"A", "title_chn":"模块2输出电流", "title_eng":"Iout #2", @@ -593,7 +482,7 @@ { "comment":"模块2温度", "order":9, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"模块2温度", "title_eng":"T #2", @@ -603,7 +492,7 @@ { "comment":"模块2输入电压", "order":10, - "precision":1, + "precision":100, "unit":"V", "title_chn":"模块2输入电压", "title_eng":"Vin #2", @@ -613,7 +502,7 @@ { "comment":"模块2输入电流", "order":11, - "precision":1, + "precision":100, "unit":"A", "title_chn":"模块2输入电流", "title_eng":"Iin #2", @@ -623,7 +512,7 @@ { "comment":"模块2输出电压", "order":12, - "precision":1, + "precision":100, "unit":"V", "title_chn":"模块2输出电压", "title_eng":"Vout #2", @@ -633,7 +522,7 @@ { "comment":"模块3输出电流", "order":13, - "precision":1, + "precision":100, "unit":"A", "title_chn":"模块3输出电流", "title_eng":"Iout #3", @@ -643,7 +532,7 @@ { "comment":"模块3温度", "order":14, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"模块3温度", "title_eng":"T #3", @@ -653,7 +542,7 @@ { "comment":"模块3输入电压", "order":15, - "precision":1, + "precision":100, "unit":"V", "title_chn":"模块3输入电压", "title_eng":"Vin #3", @@ -663,7 +552,7 @@ { "comment":"模块3输入电流", "order":16, - "precision":1, + "precision":100, "unit":"A", "title_chn":"模块3输入电流", "title_eng":"Iin #3", @@ -673,7 +562,7 @@ { "comment":"模块输出电压", "order":17, - "precision":1, + "precision":100, "unit":"V", "title_chn":"模块3输出电压", "title_eng":"Vout #3", @@ -683,7 +572,7 @@ { "comment":"模块4输出电流", "order":18, - "precision":1, + "precision":100, "unit":"A", "title_chn":"模块4输出电流", "title_eng":"Iout #4", @@ -693,7 +582,7 @@ { "comment":"模块4温度", "order":19, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"模块4温度", "title_eng":"T #4", @@ -703,7 +592,7 @@ { "comment":"模块4输入电压", "order":20, - "precision":1, + "precision":100, "unit":"V", "title_chn":"模块4输入电压", "title_eng":"Vin #4", @@ -713,7 +602,7 @@ { "comment":"模块4输入电流", "order":21, - "precision":1, + "precision":100, "unit":"A", "title_chn":"模块4输入电流", "title_eng":"Iin #4", @@ -723,7 +612,7 @@ { "comment":"模块4输出电压", "order":22, - "precision":1, + "precision":100, "unit":"V", "title_chn":"模块4输出电压", "title_eng":"Vout #2", @@ -732,187 +621,6 @@ } ] }, - { - "start_addr":3112, - "quantity":17, - "bytes_per_register":2, - "language":"en", - "device_name_chn":"整流告警", - "device_name_eng": "Rectifier Alarm", - "device_type":6, - "data": [ - { - "comment":"设备在线", - "order":0, - "precision":1, - "unit":"", - "title_chn":"设备在线", - "title_eng":"Online", - "display":2, - "skip":0 - }, - { - "comment":"模块1故障", - "order":1, - "precision":1, - "unit":"", - "title_chn":"整流模块1故障", - "title_eng":"Rect. #1 fault", - "display":2, - "skip":0 - }, - { - "comment":"模块1通讯中断", - "order":2, - "precision":1, - "unit":"", - "title_chn":"模块1通讯中断", - "title_eng":"Rect. #1 Comm. interruption", - "display":2, - "skip":0 - }, - { - "comment":"模块1未授权告警", - "order":3, - "precision":1, - "unit":"", - "title_chn":"模块1未授权告警", - "title_eng":"Rect. #1 unauthorized access", - "display":2, - "skip":0 - }, - { - "comment":"模块1保护", - "order":4, - "precision":1, - "unit":"", - "title_chn":"模块1保护", - "title_eng":"Rect. #1 protection", - "display":2, - "skip":0 - }, - { - "comment":"模块2故障", - "order":5, - "precision":1, - "unit":"", - "title_chn":"整流模块2故障", - "title_eng":"Rect. #2 fault", - "display":2, - "skip":0 - }, - { - "comment":"模块2通讯中断", - "order":6, - "precision":1, - "unit":"", - "title_chn":"模块2通讯中断", - "title_eng":"Rect. #2 Comm. interruption", - "display":2, - "skip":0 - }, - { - "comment":"模块2未授权告警", - "order":7, - "precision":1, - "unit":"", - "title_chn":"模块2未授权告警", - "title_eng":"Rect. #2 unauthorized access", - "display":2, - "skip":0 - }, - { - "comment":"模块2保护", - "order":8, - "precision":1, - "unit":"", - "title_chn":"模块2保护", - "title_eng":"Rect. #2 protection", - "display":2, - "skip":0 - }, - { - "comment":"模块3故障", - "order":9, - "precision":1, - "unit":"", - "title_chn":"整流模块3故障", - "title_eng":"Rect. #3 fault", - "display":2, - "skip":0 - }, - { - "comment":"模块3通讯中断", - "order":10, - "precision":1, - "unit":"", - "title_chn":"模块3通讯中断", - "title_eng":"Rect. #3 Comm. interruption", - "display":2, - "skip":0 - }, - { - "comment":"模块3未授权告警", - "order":11, - "precision":1, - "unit":"", - "title_chn":"模块3未授权告警", - "title_eng":"Rect. #3 unauthorized access", - "display":2, - "skip":0 - }, - { - "comment":"模块3保护", - "order":12, - "precision":1, - "unit":"", - "title_chn":"模块3保护", - "title_eng":"Rect. #3 protection", - "display":2, - "skip":0 - }, - { - "comment":"模块4故障", - "order":13, - "precision":1, - "unit":"", - "title_chn":"整流模块4故障", - "title_eng":"Rect. #4 fault", - "display":2, - "skip":0 - }, - { - "comment":"模块4通讯中断", - "order":14, - "precision":1, - "unit":"", - "title_chn":"模块4通讯中断", - "title_eng":"Rect. #4 Comm. interruption", - "display":2, - "skip":0 - }, - { - "comment":"模块4未授权告警", - "order":15, - "precision":1, - "unit":"", - "title_chn":"模块4未授权告警", - "title_eng":"Rect. #4 unauthorized access", - "display":2, - "skip":0 - }, - { - "comment":"模块4保护", - "order":16, - "precision":1, - "unit":"", - "title_chn":"模块4保护", - "title_eng":"Rect. #4 protection", - "display":2, - "skip":0 - } - ] - }, { "start_addr":2048, "quantity":30, @@ -935,27 +643,27 @@ { "comment":"直流输出电压", "order":1, - "precision":1, + "precision":100, "unit":"V", "title_chn":"直流输出电压", - "title_eng":"D.C. Vout", + "title_eng":"D.C. Vout (V)", "display":1, "skip":0 }, { "comment":"总负载电流", "order":2, - "precision":1, + "precision":100, "unit":"A", "title_chn":"总负载电流", - "title_eng":"Load Current", + "title_eng":"Load Current (A)", "display":1, "skip":0 }, { "comment":"太阳能总输出功率", "order":3, - "precision":1, + "precision":10, "unit":"kW", "title_chn":"太阳能总输出功率", "title_eng":"PV Power", @@ -965,7 +673,7 @@ { "comment":"太阳能累计发电量", "order":4, - "precision":1, + "precision":10, "unit":"Kwh", "title_chn":"太阳能累计发电量", "title_eng":"Total PV Power", @@ -985,7 +693,7 @@ { "comment":"分路电池电流1", "order":6, - "precision":1, + "precision":100, "unit":"A", "title_chn":"分路电池电流1", "title_eng":"#1 Current", @@ -995,7 +703,7 @@ { "comment":"分路电池电流2", "order":7, - "precision":1, + "precision":100, "unit":"A", "title_chn":"分路电池电流2", "title_eng":"#2 Current", @@ -1005,7 +713,7 @@ { "comment":"分路电池电流3", "order":8, - "precision":1, + "precision":100, "unit":"A", "title_chn":"分路电池电流3", "title_eng":"#3 Current", @@ -1015,7 +723,7 @@ { "comment":"分路电池电流4", "order":9, - "precision":1, + "precision":100, "unit":"A", "title_chn":"分路电池电流4", "title_eng":"#4 Current", @@ -1025,7 +733,7 @@ { "comment":"分路电池电流5", "order":10, - "precision":1, + "precision":100, "unit":"A", "title_chn":"分路电池电流5", "title_eng":"#5 Current", @@ -1035,7 +743,7 @@ { "comment":"分路电池电流6", "order":11, - "precision":1, + "precision":100, "unit":"A", "title_chn":"分路电池电流6", "title_eng":"#6 Current", @@ -1045,7 +753,7 @@ { "comment":"分路电池电流7", "order":12, - "precision":1, + "precision":100, "unit":"A", "title_chn":"分路电池电流7", "title_eng":"#7 Current", @@ -1055,7 +763,7 @@ { "comment":"分路电池电流8", "order":13, - "precision":1, + "precision":100, "unit":"A", "title_chn":"分路电池电流8", "title_eng":"#8 Current", @@ -1075,7 +783,7 @@ { "comment":"直流分路电流1", "order":15, - "precision":1, + "precision":100, "unit":"A", "title_chn":"直流分路电流1", "title_eng":"DC #1 Current", @@ -1085,7 +793,7 @@ { "comment":"直流分路电流2", "order":16, - "precision":1, + "precision":100, "unit":"A", "title_chn":"直流分路电流2", "title_eng":"DC #2 Current", @@ -1095,7 +803,7 @@ { "comment":"直流分路电流3", "order":17, - "precision":1, + "precision":100, "unit":"A", "title_chn":"直流分路电流3", "title_eng":"DC #3 Current", @@ -1105,7 +813,7 @@ { "comment":"直流分路电流4", "order":18, - "precision":1, + "precision":100, "unit":"A", "title_chn":"直流分路电流4", "title_eng":"DC #4 Current", @@ -1115,10 +823,10 @@ { "comment":"电池电压", "order":19, - "precision":1, + "precision":100, "unit":"V", "title_chn":"电池电压", - "title_eng":"V_batt", + "title_eng":"V_batt (V)", "display":1, "skip":0 }, @@ -1135,10 +843,10 @@ { "comment":"电池剩余容量", "order":21, - "precision":1, + "precision":10, "unit":"%", "title_chn":"电池剩余容量", - "title_eng":"SOC", + "title_eng":"SOC (%)", "display":1, "skip":0 }, @@ -1155,7 +863,7 @@ { "comment":"电池组温度1", "order":23, - "precision":1, + "precision":10, "unit":"℃", "title_chn":"电池组温度1", "title_eng":"T. Battery", @@ -1165,7 +873,7 @@ { "comment":"环境温度1", "order":24, - "precision":1, + "precision":10, "unit":"℃", "title_chn":"环境温度1", "title_eng":"T. ENV1", @@ -1175,7 +883,7 @@ { "comment":"环境温度2", "order":25, - "precision":1, + "precision":10, "unit":"℃", "title_chn":"环境温度2", "title_eng":"T. ENV2", @@ -1185,7 +893,7 @@ { "comment":"环境湿度", "order":26, - "precision":1, + "precision":10, "unit":"%", "title_chn":"环境湿度", "title_eng":"ENV Humidity", @@ -1249,7 +957,7 @@ "precision":1, "unit":"℃", "title_chn":"温度值", - "title_eng":"Temperature", + "title_eng":"Temperature (℃)", "display":1, "skip":0 }, @@ -1327,7 +1035,7 @@ { "comment":"电池组1总线电压", "order":2, - "precision":1, + "precision":100, "unit":"V", "title_chn":"电池组1总线电压", "title_eng":"BatPack1Vbus", @@ -1337,7 +1045,7 @@ { "comment":"电池组1电池电压", "order":3, - "precision":1, + "precision":100, "unit":"V", "title_chn":"电池组1电池电压", "title_eng":"BatPack1Vbat", @@ -1347,7 +1055,7 @@ { "comment":"电池组1总线电流", "order":4, - "precision":1, + "precision":100, "unit":"A", "title_chn":"电池组1总线电流", "title_eng":"BatPack1Vbat", @@ -1357,7 +1065,7 @@ { "comment":"电池组1电池电流", "order":5, - "precision":1, + "precision":100, "unit":"A", "title_chn":"电池组1总线电流", "title_eng":"BatPack1BatCur", @@ -1367,7 +1075,7 @@ { "comment":"电池组1电芯温度1", "order":6, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组1电芯温度1", "title_eng":"BatPack1Tcell1", @@ -1377,7 +1085,7 @@ { "comment":"电池组1电芯温度2", "order":7, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组1电芯温度2", "title_eng":"BatPack1Tcell2", @@ -1387,7 +1095,7 @@ { "comment":"电池组1电芯温度3", "order":8, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组1电芯温度3", "title_eng":"BatPack1Tcell3", @@ -1397,7 +1105,7 @@ { "comment":"电池组1电芯温度4", "order":9, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组1电芯温度4", "title_eng":"BatPack1Tcell4", @@ -1417,7 +1125,7 @@ { "comment":"电池组1电芯电压1", "order":11, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压1", "title_eng":"BatPack1Vcell1", @@ -1427,7 +1135,7 @@ { "comment":"电池组1电芯电压2", "order":12, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压2", "title_eng":"BatPack1Vcell2", @@ -1437,7 +1145,7 @@ { "comment":"电池组1电芯电压3", "order":13, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压3", "title_eng":"BatPack1Vcell3", @@ -1447,7 +1155,7 @@ { "comment":"电池组1电芯电压4", "order":14, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压4", "title_eng":"BatPack1Vcell4", @@ -1457,7 +1165,7 @@ { "comment":"电池组1电芯电压5", "order":15, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压5", "title_eng":"BatPack1Vcell5", @@ -1467,7 +1175,7 @@ { "comment":"电池组1电芯电压6", "order":16, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压6", "title_eng":"BatPack1Vcell6", @@ -1477,7 +1185,7 @@ { "comment":"电池组1电芯电压7", "order":17, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压7", "title_eng":"BatPack1Vcell7", @@ -1487,7 +1195,7 @@ { "comment":"电池组1电芯电压8", "order":18, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压8", "title_eng":"BatPack1Vcell8", @@ -1497,7 +1205,7 @@ { "comment":"电池组1电芯电压9", "order":19, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压9", "title_eng":"BatPack1Vcell9", @@ -1507,7 +1215,7 @@ { "comment":"电池组1电芯电压10", "order":20, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压10", "title_eng":"BatPack1Vcell10", @@ -1517,7 +1225,7 @@ { "comment":"电池组1电芯电压11", "order":21, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压11", "title_eng":"BatPack1Vcell11", @@ -1527,7 +1235,7 @@ { "comment":"电池组1电芯电压12", "order":22, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压12", "title_eng":"BatPack1Vcell12", @@ -1537,7 +1245,7 @@ { "comment":"电池组1电芯电压13", "order":23, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压13", "title_eng":"BatPack1Vcell13", @@ -1547,7 +1255,7 @@ { "comment":"电池组1电芯电压14", "order":24, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压14", "title_eng":"BatPack1Vcell14", @@ -1557,7 +1265,7 @@ { "comment":"电池组1电芯电压15", "order":25, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压15", "title_eng":"BatPack1Vcell15", @@ -1567,7 +1275,7 @@ { "comment":"电池组1电芯电压16", "order":26, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组1电芯电压16", "title_eng":"BatPack1Vcell16", @@ -1597,7 +1305,7 @@ { "comment":"电池组1电池容量", "order":29, - "precision":1, + "precision":10, "unit":"Ah", "title_chn":"电池组1电池容量", "title_eng":"BatPack1BatCapacity", @@ -1607,7 +1315,7 @@ { "comment":"电池组1电池SOC", "order":30, - "precision":1, + "precision":10, "unit":"%", "title_chn":"电池组1电池SOC", "title_eng":"BatPack1SOC", @@ -1617,7 +1325,7 @@ { "comment":"电池组1电池SOH", "order":31, - "precision":1, + "precision":10, "unit":"%", "title_chn":"电池组1电池SOH", "title_eng":"BatPack1SOH", @@ -1627,7 +1335,7 @@ { "comment":"电池组1MOS温度", "order":32, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组1MOS温度", "title_eng":"BatPack1MOSTemp", @@ -1637,7 +1345,7 @@ { "comment":"电池组1总充容量", "order":33, - "precision":1, + "precision":10, "unit":"Ah", "title_chn":"电池组1总充容量", "title_eng":"BatPack1TotalChargeCapacity", @@ -1647,7 +1355,7 @@ { "comment":"电池组1总放容量", "order":34, - "precision":1, + "precision":10, "unit":"Ah", "title_chn":"电池组1总放容量", "title_eng":"BatPack1TotalDischargeCapacity", @@ -1677,7 +1385,7 @@ { "comment":"电池组2总线电压", "order":37, - "precision":1, + "precision":100, "unit":"V", "title_chn":"电池组2总线电压", "title_eng":"BatPack2Vbus", @@ -1687,7 +1395,7 @@ { "comment":"电池组2电池电压", "order":38, - "precision":1, + "precision":100, "unit":"V", "title_chn":"电池组2电池电压", "title_eng":"BatPack2Vbat", @@ -1697,7 +1405,7 @@ { "comment":"电池组2总线电流", "order":39, - "precision":1, + "precision":100, "unit":"A", "title_chn":"电池组2总线电流", "title_eng":"BatPack2Vbat", @@ -1707,7 +1415,7 @@ { "comment":"电池组2电池电流", "order":40, - "precision":1, + "precision":100, "unit":"A", "title_chn":"电池组2总线电流", "title_eng":"BatPack2BatCur", @@ -1717,7 +1425,7 @@ { "comment":"电池组2电芯温度1", "order":41, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组2电芯温度1", "title_eng":"BatPack2Tcell1", @@ -1727,7 +1435,7 @@ { "comment":"电池组2电芯温度2", "order":42, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组2电芯温度2", "title_eng":"BatPack2Tcell2", @@ -1737,7 +1445,7 @@ { "comment":"电池组2电芯温度3", "order":43, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组2电芯温度3", "title_eng":"BatPack2Tcell3", @@ -1747,7 +1455,7 @@ { "comment":"电池组2电芯温度4", "order":44, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组2电芯温度4", "title_eng":"BatPack2Tcell4", @@ -1767,7 +1475,7 @@ { "comment":"电池组2电芯电压1", "order":46, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压1", "title_eng":"BatPack2Vcell1", @@ -1777,7 +1485,7 @@ { "comment":"电池组2电芯电压2", "order":47, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压2", "title_eng":"BatPack2Vcell2", @@ -1787,7 +1495,7 @@ { "comment":"电池组2电芯电压3", "order":48, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压3", "title_eng":"BatPack2Vcell3", @@ -1797,7 +1505,7 @@ { "comment":"电池组2电芯电压4", "order":49, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压4", "title_eng":"BatPack2Vcell4", @@ -1807,7 +1515,7 @@ { "comment":"电池组2电芯电压5", "order":50, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压5", "title_eng":"BatPack2Vcell5", @@ -1817,7 +1525,7 @@ { "comment":"电池组2电芯电压6", "order":51, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压6", "title_eng":"BatPack2Vcell6", @@ -1827,7 +1535,7 @@ { "comment":"电池组2电芯电压7", "order":52, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压7", "title_eng":"BatPack2Vcell7", @@ -1837,7 +1545,7 @@ { "comment":"电池组2电芯电压8", "order":53, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压8", "title_eng":"BatPack2Vcell8", @@ -1847,7 +1555,7 @@ { "comment":"电池组2电芯电压9", "order":54, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压9", "title_eng":"BatPack2Vcell9", @@ -1857,7 +1565,7 @@ { "comment":"电池组2电芯电压10", "order":55, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压10", "title_eng":"BatPack2Vcell10", @@ -1867,7 +1575,7 @@ { "comment":"电池组2电芯电压11", "order":56, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压11", "title_eng":"BatPack2Vcell11", @@ -1877,7 +1585,7 @@ { "comment":"电池组2电芯电压12", "order":57, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压12", "title_eng":"BatPack2Vcell12", @@ -1887,7 +1595,7 @@ { "comment":"电池组2电芯电压13", "order":58, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压13", "title_eng":"BatPack2Vcell13", @@ -1897,7 +1605,7 @@ { "comment":"电池组2电芯电压14", "order":59, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压14", "title_eng":"BatPack2Vcell14", @@ -1907,7 +1615,7 @@ { "comment":"电池组2电芯电压15", "order":60, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压15", "title_eng":"BatPack2Vcell15", @@ -1917,7 +1625,7 @@ { "comment":"电池组2电芯电压16", "order":61, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组2电芯电压16", "title_eng":"BatPack2Vcell16", @@ -1947,7 +1655,7 @@ { "comment":"电池组2电池容量", "order":64, - "precision":1, + "precision":10, "unit":"Ah", "title_chn":"电池组2电池容量", "title_eng":"BatPack2BatCapacity", @@ -1957,7 +1665,7 @@ { "comment":"电池组2电池SOC", "order":65, - "precision":1, + "precision":10, "unit":"%", "title_chn":"电池组2电池SOC", "title_eng":"BatPack2SOC", @@ -1967,7 +1675,7 @@ { "comment":"电池组2电池SOH", "order":66, - "precision":1, + "precision":10, "unit":"%", "title_chn":"电池组2电池SOH", "title_eng":"BatPack2SOH", @@ -1977,7 +1685,7 @@ { "comment":"电池组2MOS温度", "order":67, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组2MOS温度", "title_eng":"BatPack2MOSTemp", @@ -1987,7 +1695,7 @@ { "comment":"电池组2总充容量", "order":68, - "precision":1, + "precision":10, "unit":"Ah", "title_chn":"电池组2总充容量", "title_eng":"BatPack2TotalChargeCapacity", @@ -1997,7 +1705,7 @@ { "comment":"电池组2总放容量", "order":69, - "precision":1, + "precision":10, "unit":"Ah", "title_chn":"电池组2总放容量", "title_eng":"BatPack2TotalDischargeCapacity", @@ -2027,7 +1735,7 @@ { "comment":"电池组3总线电压", "order":72, - "precision":1, + "precision":100, "unit":"V", "title_chn":"电池组3总线电压", "title_eng":"BatPack3Vbus", @@ -2037,7 +1745,7 @@ { "comment":"电池组3电池电压", "order":73, - "precision":1, + "precision":100, "unit":"V", "title_chn":"电池组3电池电压", "title_eng":"BatPack3Vbat", @@ -2047,7 +1755,7 @@ { "comment":"电池组3总线电流", "order":74, - "precision":1, + "precision":100, "unit":"A", "title_chn":"电池组3总线电流", "title_eng":"BatPack3Vbat", @@ -2057,7 +1765,7 @@ { "comment":"电池组3电池电流", "order":75, - "precision":1, + "precision":100, "unit":"A", "title_chn":"电池组3总线电流", "title_eng":"BatPack3BatCur", @@ -2067,7 +1775,7 @@ { "comment":"电池组3电芯温度1", "order":76, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组3电芯温度1", "title_eng":"BatPack3Tcell1", @@ -2077,7 +1785,7 @@ { "comment":"电池组3电芯温度2", "order":77, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组3电芯温度2", "title_eng":"BatPack3Tcell2", @@ -2087,7 +1795,7 @@ { "comment":"电池组3电芯温度3", "order":78, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组3电芯温度3", "title_eng":"BatPack3Tcell3", @@ -2097,7 +1805,7 @@ { "comment":"电池组3电芯温度4", "order":79, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组3电芯温度4", "title_eng":"BatPack3Tcell4", @@ -2117,7 +1825,7 @@ { "comment":"电池组3电芯电压1", "order":81, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压1", "title_eng":"BatPack3Vcell1", @@ -2127,7 +1835,7 @@ { "comment":"电池组3电芯电压2", "order":82, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压2", "title_eng":"BatPack3Vcell2", @@ -2137,7 +1845,7 @@ { "comment":"电池组3电芯电压3", "order":83, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压3", "title_eng":"BatPack3Vcell3", @@ -2147,7 +1855,7 @@ { "comment":"电池组3电芯电压4", "order":84, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压4", "title_eng":"BatPack3Vcell4", @@ -2157,7 +1865,7 @@ { "comment":"电池组3电芯电压5", "order":85, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压5", "title_eng":"BatPack3Vcell5", @@ -2167,7 +1875,7 @@ { "comment":"电池组3电芯电压6", "order":86, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压6", "title_eng":"BatPack3Vcell6", @@ -2177,7 +1885,7 @@ { "comment":"电池组3电芯电压7", "order":87, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压7", "title_eng":"BatPack3Vcell7", @@ -2187,7 +1895,7 @@ { "comment":"电池组3电芯电压8", "order":88, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压8", "title_eng":"BatPack3Vcell8", @@ -2197,7 +1905,7 @@ { "comment":"电池组3电芯电压9", "order":89, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压9", "title_eng":"BatPack3Vcell9", @@ -2207,7 +1915,7 @@ { "comment":"电池组3电芯电压10", "order":90, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压10", "title_eng":"BatPack3Vcell10", @@ -2217,7 +1925,7 @@ { "comment":"电池组3电芯电压11", "order":91, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压11", "title_eng":"BatPack3Vcell11", @@ -2227,7 +1935,7 @@ { "comment":"电池组3电芯电压12", "order":92, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压12", "title_eng":"BatPack3Vcell12", @@ -2237,7 +1945,7 @@ { "comment":"电池组3电芯电压13", "order":93, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压13", "title_eng":"BatPack3Vcell13", @@ -2247,7 +1955,7 @@ { "comment":"电池组3电芯电压14", "order":94, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压14", "title_eng":"BatPack3Vcell14", @@ -2257,7 +1965,7 @@ { "comment":"电池组3电芯电压15", "order":95, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压15", "title_eng":"BatPack3Vcell15", @@ -2267,7 +1975,7 @@ { "comment":"电池组3电芯电压16", "order":96, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组3电芯电压16", "title_eng":"BatPack3Vcell16", @@ -2297,7 +2005,7 @@ { "comment":"电池组3电池容量", "order":99, - "precision":1, + "precision":10, "unit":"Ah", "title_chn":"电池组3电池容量", "title_eng":"BatPack3BatCapacity", @@ -2307,7 +2015,7 @@ { "comment":"电池组3电池SOC", "order":100, - "precision":1, + "precision":10, "unit":"%", "title_chn":"电池组3电池SOC", "title_eng":"BatPack3SOC", @@ -2317,7 +2025,7 @@ { "comment":"电池组3电池SOH", "order":101, - "precision":1, + "precision":10, "unit":"%", "title_chn":"电池组3电池SOH", "title_eng":"BatPack3SOH", @@ -2327,7 +2035,7 @@ { "comment":"电池组3MOS温度", "order":102, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组3MOS温度", "title_eng":"BatPack3MOSTemp", @@ -2337,7 +2045,7 @@ { "comment":"电池组3总充容量", "order":103, - "precision":1, + "precision":10, "unit":"Ah", "title_chn":"电池组3总充容量", "title_eng":"BatPack3TotalChargeCapacity", @@ -2347,7 +2055,7 @@ { "comment":"电池组3总放容量", "order":104, - "precision":1, + "precision":10, "unit":"Ah", "title_chn":"电池组3总放容量", "title_eng":"BatPack3TotalDischargeCapacity", @@ -2388,7 +2096,7 @@ { "comment":"电池组4总线电压", "order":107, - "precision":1, + "precision":100, "unit":"V", "title_chn":"电池组4总线电压", "title_eng":"BatPack4Vbus", @@ -2398,7 +2106,7 @@ { "comment":"电池组4电池电压", "order":108, - "precision":1, + "precision":100, "unit":"V", "title_chn":"电池组4电池电压", "title_eng":"BatPack4Vbat", @@ -2408,7 +2116,7 @@ { "comment":"电池组4总线电流", "order":109, - "precision":1, + "precision":100, "unit":"A", "title_chn":"电池组4总线电流", "title_eng":"BatPack4Vbat", @@ -2418,7 +2126,7 @@ { "comment":"电池组4电池电流", "order":110, - "precision":1, + "precision":100, "unit":"A", "title_chn":"电池组4总线电流", "title_eng":"BatPack4BatCur", @@ -2428,7 +2136,7 @@ { "comment":"电池组4电芯温度1", "order":111, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组4电芯温度1", "title_eng":"BatPack4Tcell1", @@ -2438,7 +2146,7 @@ { "comment":"电池组4电芯温度2", "order":112, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组4电芯温度2", "title_eng":"BatPack4Tcell2", @@ -2448,7 +2156,7 @@ { "comment":"电池组4电芯温度3", "order":113, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组4电芯温度3", "title_eng":"BatPack4Tcell3", @@ -2458,7 +2166,7 @@ { "comment":"电池组4电芯温度4", "order":114, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组4电芯温度4", "title_eng":"BatPack4Tcell4", @@ -2478,7 +2186,7 @@ { "comment":"电池组4电芯电压1", "order":116, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压1", "title_eng":"BatPack4Vcell1", @@ -2488,7 +2196,7 @@ { "comment":"电池组4电芯电压2", "order":117, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压2", "title_eng":"BatPack4Vcell2", @@ -2498,7 +2206,7 @@ { "comment":"电池组4电芯电压3", "order":118, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压3", "title_eng":"BatPack4Vcell3", @@ -2508,7 +2216,7 @@ { "comment":"电池组4电芯电压4", "order":119, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压4", "title_eng":"BatPack4Vcell4", @@ -2518,7 +2226,7 @@ { "comment":"电池组4电芯电压5", "order":120, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压5", "title_eng":"BatPack4Vcell5", @@ -2528,7 +2236,7 @@ { "comment":"电池组4电芯电压6", "order":121, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压6", "title_eng":"BatPack4Vcell6", @@ -2538,7 +2246,7 @@ { "comment":"电池组4电芯电压7", "order":122, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压7", "title_eng":"BatPack4Vcell7", @@ -2548,7 +2256,7 @@ { "comment":"电池组4电芯电压8", "order":123, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压8", "title_eng":"BatPack4Vcell8", @@ -2558,7 +2266,7 @@ { "comment":"电池组4电芯电压9", "order":124, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压9", "title_eng":"BatPack4Vcell9", @@ -2568,7 +2276,7 @@ { "comment":"电池组4电芯电压10", "order":125, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压10", "title_eng":"BatPack4Vcell10", @@ -2578,7 +2286,7 @@ { "comment":"电池组4电芯电压11", "order":126, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压11", "title_eng":"BatPack4Vcell11", @@ -2588,7 +2296,7 @@ { "comment":"电池组4电芯电压12", "order":127, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压12", "title_eng":"BatPack4Vcell12", @@ -2598,7 +2306,7 @@ { "comment":"电池组4电芯电压13", "order":128, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压13", "title_eng":"BatPack4Vcell13", @@ -2608,7 +2316,7 @@ { "comment":"电池组4电芯电压14", "order":129, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压14", "title_eng":"BatPack4Vcell14", @@ -2618,7 +2326,7 @@ { "comment":"电池组4电芯电压15", "order":130, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压15", "title_eng":"BatPack4Vcell15", @@ -2628,7 +2336,7 @@ { "comment":"电池组4电芯电压16", "order":131, - "precision":1, + "precision":1000, "unit":"V", "title_chn":"电池组4电芯电压16", "title_eng":"BatPack4Vcell16", @@ -2658,7 +2366,7 @@ { "comment":"电池组4电池容量", "order":134, - "precision":1, + "precision":10, "unit":"Ah", "title_chn":"电池组4电池容量", "title_eng":"BatPack4BatCapacity", @@ -2668,7 +2376,7 @@ { "comment":"电池组4电池SOC", "order":135, - "precision":1, + "precision":10, "unit":"%", "title_chn":"电池组4电池SOC", "title_eng":"BatPack4SOC", @@ -2678,7 +2386,7 @@ { "comment":"电池组4电池SOH", "order":136, - "precision":1, + "precision":10, "unit":"%", "title_chn":"电池组4电池SOH", "title_eng":"BatPack4SOH", @@ -2688,7 +2396,7 @@ { "comment":"电池组4MOS温度", "order":137, - "precision":1, + "precision":100, "unit":"℃", "title_chn":"电池组4MOS温度", "title_eng":"BatPack4MOSTemp", @@ -2698,7 +2406,7 @@ { "comment":"电池组4总充容量", "order":138, - "precision":1, + "precision":10, "unit":"Ah", "title_chn":"电池组4总充容量", "title_eng":"BatPack4TotalChargeCapacity", @@ -2708,7 +2416,7 @@ { "comment":"电池组4总放容量", "order":139, - "precision":1, + "precision":10, "unit":"Ah", "title_chn":"电池组4总放容量", "title_eng":"BatPack4TotalDischargeCapacity", diff --git a/applications/EmsShower/formserialportsettingdialog.cpp b/applications/EmsShower/formserialportsettingdialog.cpp index 473abd6..c343fa2 100644 --- a/applications/EmsShower/formserialportsettingdialog.cpp +++ b/applications/EmsShower/formserialportsettingdialog.cpp @@ -133,9 +133,6 @@ void FormSerialPortSettingDialog::InitializeUi() if (targetIndex != -1) { ui->cb_baund->setCurrentIndex(targetIndex); // 自动触发滚动定位[3](@ref) - // 强制更新视图(适用于隐藏后重新显示) - //ui->cb_baund->showPopup(); - //ui->cb_baund->hidePopup(); } QString com = pSettings->value("modbus/com","COM1").toString(); @@ -154,9 +151,6 @@ void FormSerialPortSettingDialog::InitializeUi() if (targetIndex != -1) { ui->cb_data->setCurrentIndex(targetIndex); // 自动触发滚动定位[3](@ref) - // 强制更新视图(适用于隐藏后重新显示) - // ui->cb_data->showPopup(); - //ui->cb_data->hidePopup(); } int parity = pSettings->value("modbus/parity",0).toInt(); @@ -174,9 +168,6 @@ void FormSerialPortSettingDialog::InitializeUi() if (targetIndex != -1) { ui->cb_parity->setCurrentIndex(targetIndex); // 自动触发滚动定位[3](@ref) - // 强制更新视图(适用于隐藏后重新显示) - //ui->cb_parity->showPopup(); - //ui->cb_parity->hidePopup(); } int stop = pSettings->value("modbus/stop",1).toInt(); @@ -186,9 +177,6 @@ void FormSerialPortSettingDialog::InitializeUi() if (targetIndex != -1) { ui->cb_stop->setCurrentIndex(targetIndex); // 自动触发滚动定位[3](@ref) - // 强制更新视图(适用于隐藏后重新显示) - //ui->cb_stop->showPopup(); - //ui->cb_stop->hidePopup(); } int interval = pSettings->value("modbus/interval",15).toInt();