|
@@ -24,7 +24,7 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.top_layout.setContentsMargins(0, 0, 0, 0)
|
|
|
self.top_layout.setSpacing(0)
|
|
|
self.top_groupbox = QtWidgets.QGroupBox(self.top_widget)
|
|
|
- self.top_groupbox.setTitle("参数配置")
|
|
|
+ self.top_groupbox.setTitle("系统信息")
|
|
|
self.top_groupbox_layout = QtWidgets.QHBoxLayout(self.top_groupbox)
|
|
|
|
|
|
self.top_qscrollarea = QtWidgets.QScrollArea(self.top_groupbox)
|
|
@@ -50,7 +50,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_tv = QtWidgets.QLabel(self.tv)
|
|
|
self.lb_tv.setText("V")
|
|
|
self.tv_layout.addWidget(self.lb_tv)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tv, 0, 0, 1, 1)
|
|
|
|
|
|
self.tcur = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.tcur.setTitle("电流")
|
|
@@ -61,7 +60,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_tcur = QtWidgets.QLabel(self.tcur)
|
|
|
self.lb_tcur.setText("A")
|
|
|
self.tcur_layout.addWidget(self.lb_tcur)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tcur, 0, 1, 1, 1)
|
|
|
|
|
|
self.tsoc = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.tsoc.setTitle("SOC")
|
|
@@ -72,7 +70,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_soc = QtWidgets.QLabel(self.tsoc)
|
|
|
self.lb_soc.setText("%")
|
|
|
self.soc_layout.addWidget(self.lb_soc)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tsoc, 0, 2, 1, 1)
|
|
|
|
|
|
self.tsoh = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.tsoh.setTitle("SOH")
|
|
@@ -83,7 +80,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_tsoh = QtWidgets.QLabel(self.tsoh)
|
|
|
self.lb_tsoh.setText("%")
|
|
|
self.tsoh_layout.addWidget(self.lb_tsoh)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tsoh, 0, 3, 1, 1)
|
|
|
|
|
|
self.tsoe = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.tsoe.setTitle("SOE")
|
|
@@ -94,7 +90,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_tsoe = QtWidgets.QLabel(self.tsoe)
|
|
|
self.lb_tsoe.setText("%")
|
|
|
self.tsoe_layout.addWidget(self.lb_tsoe)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tsoe, 0, 4, 1, 1)
|
|
|
|
|
|
self.tcellhv = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.tcellhv.setTitle("单体最高电压")
|
|
@@ -105,7 +100,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_tcellhv = QtWidgets.QLabel(self.tcellhv)
|
|
|
self.lb_tcellhv.setText("mV")
|
|
|
self.tcellhv_layout.addWidget(self.lb_tcellhv)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tcellhv, 0, 5, 1, 1)
|
|
|
|
|
|
self.tcelllv = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.tcelllv.setTitle("单体最低电压")
|
|
@@ -116,7 +110,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_tcelllv = QtWidgets.QLabel(self.tcelllv)
|
|
|
self.lb_tcelllv.setText("mV")
|
|
|
self.tcelllv_layout.addWidget(self.lb_tcelllv)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tcelllv, 0, 6, 1, 1)
|
|
|
|
|
|
self.tcellhv_index = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.tcellhv_index.setTitle("最高单体电压编号")
|
|
@@ -127,7 +120,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_tcellhv_index = QtWidgets.QLabel(self.tcellhv_index)
|
|
|
self.lb_tcellhv_index.setText("")
|
|
|
self.tcellhv_index_layout.addWidget(self.lb_tcellhv_index)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tcellhv_index, 0, 7, 1, 1)
|
|
|
|
|
|
self.tcellhv_slave_index = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.tcellhv_slave_index.setTitle("最高单体电压从控编号")
|
|
@@ -138,7 +130,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_tcellhv_slave_index = QtWidgets.QLabel(self.tcellhv_slave_index)
|
|
|
self.lb_tcellhv_slave_index.setText("")
|
|
|
self.tcellhv_slave_index_layout.addWidget(self.lb_tcellhv_slave_index)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tcellhv_slave_index, 0, 8, 1, 1)
|
|
|
|
|
|
self.tcellhv_in_index = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.tcellhv_in_index.setTitle("最高单体电压从控内编号")
|
|
@@ -149,7 +140,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_tcellhv_in_index = QtWidgets.QLabel(self.tcellhv_in_index)
|
|
|
self.lb_tcellhv_in_index.setText("")
|
|
|
self.tcellhv_in_index_layout.addWidget(self.lb_tcellhv_in_index)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tcellhv_in_index, 0, 9, 1, 1)
|
|
|
|
|
|
self.tcelllv_index = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.tcelllv_index.setTitle("最低单体电压编号")
|
|
@@ -160,7 +150,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_tcelllv_index = QtWidgets.QLabel(self.tcelllv_index)
|
|
|
self.lb_tcelllv_index.setText("")
|
|
|
self.tcelllv_index_layout.addWidget(self.lb_tcelllv_index)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tcelllv_index, 1, 0, 1, 1)
|
|
|
|
|
|
self.tcelllv_slave_index = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.tcelllv_slave_index.setTitle("最低单体电压从控编号")
|
|
@@ -171,7 +160,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_tcelllv_slave_index = QtWidgets.QLabel(self.tcelllv_slave_index)
|
|
|
self.lb_tcelllv_slave_index.setText("")
|
|
|
self.tcelllv_slave_index_layout.addWidget(self.lb_tcelllv_slave_index)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tcelllv_slave_index, 1, 1, 1, 1)
|
|
|
|
|
|
self.tcelllv_in_index = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.tcelllv_in_index.setTitle("最低单体电压从控内编号")
|
|
@@ -182,7 +170,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_tcelllv_in_index = QtWidgets.QLabel(self.tcelllv_in_index)
|
|
|
self.lb_tcelllv_in_index.setText("")
|
|
|
self.tcelllv_in_index_layout.addWidget(self.lb_tcelllv_in_index)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.tcelllv_in_index, 1, 2, 1, 1)
|
|
|
|
|
|
self.avg_vol = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.avg_vol.setTitle("平均电压")
|
|
@@ -193,7 +180,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_avg_vol = QtWidgets.QLabel(self.avg_vol)
|
|
|
self.lb_avg_vol.setText("mV")
|
|
|
self.avg_vol_layout.addWidget(self.lb_avg_vol)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.avg_vol, 1, 3, 1, 1)
|
|
|
|
|
|
self.diff_vol = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.diff_vol.setTitle("单体最大压差")
|
|
@@ -204,7 +190,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_diff_vol = QtWidgets.QLabel(self.diff_vol)
|
|
|
self.lb_diff_vol.setText("mV")
|
|
|
self.diff_vol_layout.addWidget(self.lb_diff_vol)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.diff_vol, 1, 4, 1, 1)
|
|
|
|
|
|
self.h_temp = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.h_temp.setTitle("最高电池温度")
|
|
@@ -215,7 +200,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_h_temp = QtWidgets.QLabel(self.h_temp)
|
|
|
self.lb_h_temp.setText("℃")
|
|
|
self.h_temp_layout.addWidget(self.lb_h_temp)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.h_temp, 1, 5, 1, 1)
|
|
|
|
|
|
self.l_temp = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.l_temp.setTitle("最低电池温度")
|
|
@@ -226,7 +210,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_l_temp = QtWidgets.QLabel(self.l_temp)
|
|
|
self.lb_l_temp.setText("℃")
|
|
|
self.l_temp_layout.addWidget(self.lb_l_temp)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.l_temp, 1, 6, 1, 1)
|
|
|
|
|
|
self.h_temp_index = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.h_temp_index.setTitle("最高单体温度编号")
|
|
@@ -237,7 +220,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_h_temp_index = QtWidgets.QLabel(self.h_temp_index)
|
|
|
self.lb_h_temp_index.setText("")
|
|
|
self.h_temp_index_layout.addWidget(self.lb_h_temp_index)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.h_temp_index, 1, 7, 1, 1)
|
|
|
|
|
|
self.h_temp_slave_index = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.h_temp_slave_index.setTitle("最高单体温度从控编号")
|
|
@@ -248,7 +230,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_h_temp_slave_index = QtWidgets.QLabel(self.h_temp_slave_index)
|
|
|
self.lb_h_temp_slave_index.setText("")
|
|
|
self.h_temp_slave_index_layout.addWidget(self.lb_h_temp_slave_index)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.h_temp_slave_index, 1, 8, 1, 1)
|
|
|
|
|
|
self.h_temp_in_index = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.h_temp_in_index.setTitle("最高单体温度从控内编号")
|
|
@@ -259,7 +240,36 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_h_temp_in_index = QtWidgets.QLabel(self.h_temp_in_index)
|
|
|
self.lb_h_temp_in_index.setText("")
|
|
|
self.h_temp_in_index_layout.addWidget(self.lb_h_temp_in_index)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.h_temp_in_index, 1, 9, 1, 1)
|
|
|
+
|
|
|
+ self.l_temp_index = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
+ self.l_temp_index.setTitle("最低单体温度编号")
|
|
|
+ self.l_temp_index_layout = QtWidgets.QHBoxLayout(self.l_temp_index)
|
|
|
+ self.lb_l_temp_index_value = QtWidgets.QLabel(self.l_temp_index)
|
|
|
+ self.lb_l_temp_index_value.setText(" ")
|
|
|
+ self.l_temp_index_layout.addWidget(self.lb_l_temp_index_value)
|
|
|
+ self.lb_l_temp_index = QtWidgets.QLabel(self.l_temp_index)
|
|
|
+ self.lb_l_temp_index.setText("")
|
|
|
+ self.l_temp_index_layout.addWidget(self.lb_l_temp_index)
|
|
|
+
|
|
|
+ self.l_temp_in_index = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
+ self.l_temp_in_index.setTitle("最低单体温度从控内编号")
|
|
|
+ self.l_temp_in_index_layout = QtWidgets.QHBoxLayout(self.l_temp_in_index)
|
|
|
+ self.lb_l_temp_in_index_value = QtWidgets.QLabel(self.l_temp_in_index)
|
|
|
+ self.lb_l_temp_in_index_value.setText(" ")
|
|
|
+ self.l_temp_in_index_layout.addWidget(self.lb_l_temp_in_index_value)
|
|
|
+ self.lb_l_temp_in_index = QtWidgets.QLabel(self.l_temp_in_index)
|
|
|
+ self.lb_l_temp_in_index.setText("")
|
|
|
+ self.l_temp_in_index_layout.addWidget(self.lb_l_temp_in_index)
|
|
|
+
|
|
|
+ self.l_temp_slave_index = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
+ self.l_temp_slave_index.setTitle("最低单体温度从控编号")
|
|
|
+ self.l_temp_slave_index_layout = QtWidgets.QHBoxLayout(self.l_temp_slave_index)
|
|
|
+ self.lb_l_temp_slave_index_value = QtWidgets.QLabel(self.l_temp_slave_index)
|
|
|
+ self.lb_l_temp_slave_index_value.setText(" ")
|
|
|
+ self.l_temp_slave_index_layout.addWidget(self.lb_l_temp_slave_index_value)
|
|
|
+ self.lb_l_temp_slave_index = QtWidgets.QLabel(self.l_temp_slave_index)
|
|
|
+ self.lb_l_temp_slave_index.setText("")
|
|
|
+ self.l_temp_slave_index_layout.addWidget(self.lb_l_temp_slave_index)
|
|
|
|
|
|
self.avg_temp = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.avg_temp.setTitle("平均温度")
|
|
@@ -269,10 +279,9 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.avg_temp_layout.addWidget(self.lb_avg_temp_value)
|
|
|
self.lb_avg_temp = QtWidgets.QLabel("℃")
|
|
|
self.avg_temp_layout.addWidget(self.lb_avg_temp)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.avg_temp, 2, 0, 1, 1)
|
|
|
|
|
|
self.diff_temp = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
- self.diff_temp.setTitle("单体最大温差")
|
|
|
+ self.diff_temp.setTitle("单体最大温差 ")
|
|
|
self.diff_temp_layout = QtWidgets.QHBoxLayout(self.diff_temp)
|
|
|
self.lb_diff_temp_value = QtWidgets.QLabel(self.diff_temp)
|
|
|
self.lb_diff_temp_value.setText(" ")
|
|
@@ -280,7 +289,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_diff_temp = QtWidgets.QLabel(self.diff_temp)
|
|
|
self.lb_diff_temp.setText("℃")
|
|
|
self.diff_temp_layout.addWidget(self.lb_diff_temp)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.diff_temp, 2, 1, 1, 1)
|
|
|
|
|
|
self.sys_against = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.sys_against.setTitle("系统绝缘阻抗")
|
|
@@ -476,7 +484,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_left_energy = QtWidgets.QLabel(self.left_energy)
|
|
|
self.lb_left_energy.setText("kWh")
|
|
|
self.left_energy_layout.addWidget(self.lb_left_energy)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.left_energy, 4, 0, 1, 1)
|
|
|
|
|
|
self.nowday_chg_energy = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.nowday_chg_energy.setTitle("当天累计充电能量")
|
|
@@ -487,7 +494,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_nowday_chg_energy = QtWidgets.QLabel(self.nowday_chg_energy)
|
|
|
self.lb_nowday_chg_energy.setText("kWh")
|
|
|
self.nowday_chg_energy_layout.addWidget(self.lb_nowday_chg_energy)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.nowday_chg_energy, 4, 1, 1, 1)
|
|
|
|
|
|
self.nowday_dchg_energy = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.nowday_dchg_energy.setTitle("当天累计放电能量")
|
|
@@ -498,7 +504,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_nowday_dchg_energy = QtWidgets.QLabel(self.nowday_dchg_energy)
|
|
|
self.lb_nowday_dchg_energy.setText("kWh")
|
|
|
self.nowday_dchg_energy_layout.addWidget(self.lb_nowday_dchg_energy)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.nowday_dchg_energy, 4, 2, 1, 1)
|
|
|
|
|
|
self.circle_num = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.circle_num.setTitle("循环次数")
|
|
@@ -509,7 +514,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_circle_num = QtWidgets.QLabel(self.circle_num)
|
|
|
self.lb_circle_num.setText("")
|
|
|
self.circle_num_layout.addWidget(self.lb_circle_num)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.circle_num, 4, 3, 1, 1)
|
|
|
|
|
|
self.gdcy_vol = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.gdcy_vol.setTitle("供电采样电压")
|
|
@@ -520,7 +524,6 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_gdcy_vol = QtWidgets.QLabel(self.gdcy_vol)
|
|
|
self.lb_gdcy_vol.setText("V")
|
|
|
self.gdcy_vol_layout.addWidget(self.lb_gdcy_vol)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.gdcy_vol, 4, 4, 1, 1)
|
|
|
|
|
|
self.jz_temp_high = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
self.jz_temp_high.setTitle("最高极柱温度")
|
|
@@ -643,7 +646,7 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.afe_temp_high_layout.addWidget(self.lb_afe_temp_high)
|
|
|
|
|
|
self.afe_temp_high_slave = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
- self.afe_temp_high_slave.setTitle("最高AFE温度所在从控ID")
|
|
|
+ self.afe_temp_high_slave.setTitle("最高AFE温度从控ID")
|
|
|
self.afe_temp_high_slave_layout = QtWidgets.QHBoxLayout(self.afe_temp_high_slave)
|
|
|
self.lb_afe_temp_high_slave_value = QtWidgets.QLabel(self.afe_temp_high_slave)
|
|
|
self.lb_afe_temp_high_slave_value.setText(" ")
|
|
@@ -653,7 +656,7 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.afe_temp_high_slave_layout.addWidget(self.lb_afe_temp_high_slave)
|
|
|
|
|
|
self.afe_temp_high_slave_in = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
- self.afe_temp_high_slave_in.setTitle("最高AFE温度所在从控内编号")
|
|
|
+ self.afe_temp_high_slave_in.setTitle("最高AFE温度从控内编号")
|
|
|
self.afe_temp_high_slave_in_layout = QtWidgets.QHBoxLayout(self.afe_temp_high_slave_in)
|
|
|
self.lb_afe_temp_high_slave_in_value = QtWidgets.QLabel(self.afe_temp_high_slave_in)
|
|
|
self.lb_afe_temp_high_slave_in_value.setText(" ")
|
|
@@ -673,7 +676,7 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.afe_temp_low_layout.addWidget(self.lb_afe_temp_low)
|
|
|
|
|
|
self.afe_temp_low_slave = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
- self.afe_temp_low_slave.setTitle("最低AFE温度所在从控ID")
|
|
|
+ self.afe_temp_low_slave.setTitle("最低AFE温度从控ID")
|
|
|
self.afe_temp_low_slave_layout = QtWidgets.QHBoxLayout(self.afe_temp_low_slave)
|
|
|
self.lb_afe_temp_low_slave_value = QtWidgets.QLabel(self.afe_temp_low_slave)
|
|
|
self.lb_afe_temp_low_slave_value.setText(" ")
|
|
@@ -683,7 +686,7 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.afe_temp_low_slave_layout.addWidget(self.lb_afe_temp_low_slave)
|
|
|
|
|
|
self.afe_temp_low_slave_in = QtWidgets.QGroupBox(self.top_qscrollarea)
|
|
|
- self.afe_temp_low_slave_in.setTitle("最低AFE温度所在从控内编号")
|
|
|
+ self.afe_temp_low_slave_in.setTitle("最低AFE温度从控内编号")
|
|
|
self.afe_temp_low_slave_in_layout = QtWidgets.QHBoxLayout(self.afe_temp_low_slave_in)
|
|
|
self.lb_afe_temp_low_slave_in_value = QtWidgets.QLabel(self.afe_temp_low_slave_in)
|
|
|
self.lb_afe_temp_low_slave_in_value.setText(" ")
|
|
@@ -692,11 +695,41 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.lb_afe_temp_low_slave_in.setText("")
|
|
|
self.afe_temp_low_slave_in_layout.addWidget(self.lb_afe_temp_low_slave_in)
|
|
|
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tv, 0, 0, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tcur, 0, 1, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tsoc, 0, 2, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tsoh, 0, 3, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tsoe, 0, 4, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tcellhv, 0, 5, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tcelllv, 0, 6, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.h_temp, 0, 7, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.l_temp, 0, 8, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.avg_temp, 0, 9, 1, 1)
|
|
|
+
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.diff_temp, 1, 0, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tcellhv_index, 1, 1, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tcellhv_slave_index, 1, 2, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tcellhv_in_index, 1, 3, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tcelllv_index, 1, 4, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tcelllv_slave_index, 1, 5, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.tcelllv_in_index, 1, 6, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.h_temp_index, 1, 7, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.h_temp_slave_index, 1, 8, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.h_temp_in_index, 1, 9, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.avg_vol, 2, 0, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.diff_vol, 2, 1, 1, 1)
|
|
|
+
|
|
|
+
|
|
|
if SD.CCU_TYPE == 1:
|
|
|
self.top_qscrollarea_layout.addWidget(self.tv_2, 3, 6, 1, 1)
|
|
|
self.top_qscrollarea_layout.addWidget(self.tv_3, 3, 7, 1, 1)
|
|
|
self.top_qscrollarea_layout.addWidget(self.nom_energy, 3, 8, 1, 1)
|
|
|
self.top_qscrollarea_layout.addWidget(self.all_energy, 3, 9, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.left_energy, 4, 0, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.nowday_chg_energy, 4, 1, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.nowday_dchg_energy, 4, 2, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.circle_num, 4, 3, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.gdcy_vol, 4, 4, 1, 1)
|
|
|
self.top_qscrollarea_layout.addWidget(self.jz_temp_high, 4, 5, 1, 1)
|
|
|
self.top_qscrollarea_layout.addWidget(self.jz_temp_high_index, 4, 6, 1, 1)
|
|
|
self.top_qscrollarea_layout.addWidget(self.bcu_temp_high, 4, 7, 1, 1)
|
|
@@ -706,13 +739,16 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.top_qscrollarea_layout.addWidget(self.soc_high, 5, 1, 1, 1)
|
|
|
self.top_qscrollarea_layout.addWidget(self.soc_low, 5, 2, 1, 1)
|
|
|
self.top_qscrollarea_layout.addWidget(self.soc_avg, 5, 3, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.max_dchg_vol, 5, 4, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.afe_temp_high, 5, 5, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.afe_temp_high, 5, 4, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.afe_temp_low, 5, 5, 1, 1)
|
|
|
self.top_qscrollarea_layout.addWidget(self.afe_temp_high_slave, 5, 6, 1, 1)
|
|
|
self.top_qscrollarea_layout.addWidget(self.afe_temp_high_slave_in, 5, 7, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.afe_temp_low, 5, 8, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.afe_temp_low_slave, 5, 9, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.afe_temp_low_slave_in, 6, 0, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.afe_temp_low_slave, 5, 8, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.afe_temp_low_slave_in, 5, 9, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.max_dchg_vol, 6, 0, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.l_temp_in_index, 6, 1, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.l_temp_index, 6, 2, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.l_temp_slave_index, 6, 3, 1, 1)
|
|
|
else:
|
|
|
self.tv_2.setHidden(True)
|
|
|
self.tv_3.setHidden(True)
|
|
@@ -724,15 +760,23 @@ class TopPage(QtWidgets.QWidget):
|
|
|
self.top_qscrollarea_layout.addWidget(self.all_energy, 3, 7, 1, 1)
|
|
|
self.top_qscrollarea_layout.addWidget(self.mos_temp_1, 3, 8, 1, 1)
|
|
|
self.top_qscrollarea_layout.addWidget(self.mos_temp_2, 3, 9, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.soc_high, 4, 5, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.soc_low, 4, 6, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.soc_avg, 4, 7, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.max_dchg_vol, 4, 8, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.afe_temp_high, 4, 9, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.afe_temp_high_slave, 5, 0, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.afe_temp_high_slave_in, 5, 1, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.afe_temp_low, 5, 2, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.afe_temp_low_slave, 5, 3, 1, 1)
|
|
|
- self.top_qscrollarea_layout.addWidget(self.afe_temp_low_slave_in, 5, 4, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.max_dchg_vol, 4, 0, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.afe_temp_high, 4, 1, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.afe_temp_high_slave, 4, 2, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.afe_temp_high_slave_in, 4, 3, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.left_energy, 4, 4, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.afe_temp_low, 4, 5, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.afe_temp_low_slave, 4, 6, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.afe_temp_low_slave_in, 4, 7, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.nowday_chg_energy, 4, 8, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.nowday_dchg_energy, 4, 9, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.l_temp_index, 5, 0, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.l_temp_slave_index, 5, 1, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.l_temp_in_index, 5, 2, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.circle_num, 5, 3, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.gdcy_vol, 5, 4, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.soc_high, 5, 5, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.soc_low, 5, 6, 1, 1)
|
|
|
+ self.top_qscrollarea_layout.addWidget(self.soc_avg, 5, 7, 1, 1)
|
|
|
self.top_layout.addWidget(self.top_groupbox)
|
|
|
self.verticalLayout.addWidget(self.top_widget)
|