5 PHM Electrical Equipments Gui 8 from PyQt5
import QtCore, QtWidgets
9 from phm_hazard_rate_calculation.class_electrical_equipment
import ElectricalEquipment
13 Electrical Equipment Window Class 15 def __init__(self, ui_class, data_path, equipment_type):
20 self.
e_eq = ElectricalEquipment()
40 MainWindow.setObjectName(
"MainWindow")
41 MainWindow.resize(1100, 800)
42 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
43 sizePolicy.setHorizontalStretch(0)
44 sizePolicy.setVerticalStretch(0)
45 sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
46 MainWindow.setSizePolicy(sizePolicy)
47 MainWindow.setMinimumSize(QtCore.QSize(1100, 800))
48 MainWindow.setMaximumSize(QtCore.QSize(1100, 800))
50 self.centralwidget.setObjectName(
"centralwidget")
52 self.tabWidget_electrical_equipments.setGeometry(QtCore.QRect(0, 0, 1100, 800))
53 self.tabWidget_electrical_equipments.setObjectName(
"tabWidget_electrical_equipments")
55 self.tab_capacitor.setObjectName(
"tab_capacitor")
57 self.groupBox_cc_lambda_p.setGeometry(QtCore.QRect(450, 640, 200, 70))
58 self.groupBox_cc_lambda_p.setObjectName(
"groupBox_cc_lambda_p")
60 self.lineEdit_cc_lamda_p.setGeometry(QtCore.QRect(0, 30, 200, 27))
61 self.lineEdit_cc_lamda_p.setReadOnly(
True)
62 self.lineEdit_cc_lamda_p.setObjectName(
"lineEdit_cc_lamda_p")
64 self.groupBox.setGeometry(QtCore.QRect(90, 10, 350, 311))
65 self.groupBox.setTitle(
"")
66 self.groupBox.setObjectName(
"groupBox")
68 self.label_cc_quality.setGeometry(QtCore.QRect(60, 180, 71, 21))
69 self.label_cc_quality.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
70 self.label_cc_quality.setWordWrap(
False)
71 self.label_cc_quality.setObjectName(
"label_cc_quality")
73 self.comboBox_cc_capacitance.setGeometry(QtCore.QRect(140, 90, 191, 27))
74 self.comboBox_cc_capacitance.setCurrentText(
"")
75 self.comboBox_cc_capacitance.setObjectName(
"comboBox_cc_capacitance")
77 self.label_cc_capacitance_value.setGeometry(QtCore.QRect(0, 90, 131, 21))
78 self.label_cc_capacitance_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
79 self.label_cc_capacitance_value.setObjectName(
"label_cc_capacitance_value")
81 self.comboBox_cc_quality.setGeometry(QtCore.QRect(140, 180, 191, 27))
82 self.comboBox_cc_quality.setCurrentText(
"")
83 self.comboBox_cc_quality.setObjectName(
"comboBox_cc_quality")
85 self.label_cc_t.setGeometry(QtCore.QRect(0, 50, 131, 41))
86 self.label_cc_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
87 self.label_cc_t.setWordWrap(
True)
88 self.label_cc_t.setObjectName(
"label_cc_t")
90 self.label_cc_circuit_resistance.setGeometry(QtCore.QRect(-10, 150, 141, 21))
91 self.label_cc_circuit_resistance.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
92 self.label_cc_circuit_resistance.setObjectName(
"label_cc_circuit_resistance")
94 self.comboBox_cc_environment.setGeometry(QtCore.QRect(140, 210, 191, 27))
95 self.comboBox_cc_environment.setCurrentText(
"")
96 self.comboBox_cc_environment.setObjectName(
"comboBox_cc_environment")
98 self.comboBox_cc_circuit_resistance.setGeometry(QtCore.QRect(140, 150, 191, 27))
99 self.comboBox_cc_circuit_resistance.setCurrentText(
"")
100 self.comboBox_cc_circuit_resistance.setObjectName(
"comboBox_cc_circuit_resistance")
102 self.comboBox_cc_style.setGeometry(QtCore.QRect(140, 30, 191, 27))
103 self.comboBox_cc_style.setCurrentText(
"")
104 self.comboBox_cc_style.setObjectName(
"comboBox_cc_style")
106 self.label_cc_environment.setGeometry(QtCore.QRect(20, 210, 111, 21))
107 self.label_cc_environment.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
108 self.label_cc_environment.setWordWrap(
True)
109 self.label_cc_environment.setObjectName(
"label_cc_environment")
111 self.comboBox_cc_voltage_stress.setGeometry(QtCore.QRect(140, 120, 191, 27))
112 self.comboBox_cc_voltage_stress.setCurrentText(
"")
113 self.comboBox_cc_voltage_stress.setObjectName(
"comboBox_cc_voltage_stress")
115 self.label_cc_voltage_stress.setGeometry(QtCore.QRect(30, 120, 101, 21))
116 self.label_cc_voltage_stress.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
117 self.label_cc_voltage_stress.setObjectName(
"label_cc_voltage_stress")
119 self.label_cc_capacitor_style.setGeometry(QtCore.QRect(10, 30, 121, 21))
120 self.label_cc_capacitor_style.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
121 self.label_cc_capacitor_style.setObjectName(
"label_cc_capacitor_style")
123 self.comboBox_cc_capacitor_temperature.setGeometry(QtCore.QRect(140, 60, 191, 27))
124 self.comboBox_cc_capacitor_temperature.setCurrentText(
"")
125 self.comboBox_cc_capacitor_temperature.setObjectName(
"comboBox_cc_capacitor_temperature")
127 self.groupBox_2.setGeometry(QtCore.QRect(490, 10, 350, 301))
128 self.groupBox_2.setTitle(
"")
129 self.groupBox_2.setObjectName(
"groupBox_2")
131 self.lineEdit_cc_pi_t.setGeometry(QtCore.QRect(230, 60, 113, 27))
132 self.lineEdit_cc_pi_t.setText(
"")
133 self.lineEdit_cc_pi_t.setReadOnly(
True)
134 self.lineEdit_cc_pi_t.setObjectName(
"lineEdit_cc_pi_t")
136 self.label_cc_pi_sr.setGeometry(QtCore.QRect(10, 150, 211, 31))
137 self.label_cc_pi_sr.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
138 self.label_cc_pi_sr.setObjectName(
"label_cc_pi_sr")
140 self.lineEdit_cc_pi_v.setGeometry(QtCore.QRect(230, 120, 113, 27))
141 self.lineEdit_cc_pi_v.setText(
"")
142 self.lineEdit_cc_pi_v.setReadOnly(
True)
143 self.lineEdit_cc_pi_v.setObjectName(
"lineEdit_cc_pi_v")
145 self.lineEdit_cc_pi_sr.setGeometry(QtCore.QRect(230, 150, 113, 27))
146 self.lineEdit_cc_pi_sr.setText(
"")
147 self.lineEdit_cc_pi_sr.setReadOnly(
True)
148 self.lineEdit_cc_pi_sr.setObjectName(
"lineEdit_cc_pi_sr")
150 self.label_cc_pi_c.setGeometry(QtCore.QRect(50, 90, 171, 31))
151 self.label_cc_pi_c.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
152 self.label_cc_pi_c.setObjectName(
"label_cc_pi_c")
154 self.label_cc_pi_e.setGeometry(QtCore.QRect(0, 210, 221, 31))
155 self.label_cc_pi_e.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
156 self.label_cc_pi_e.setObjectName(
"label_cc_pi_e")
158 self.label_cc_pi_t.setGeometry(QtCore.QRect(50, 60, 171, 31))
159 self.label_cc_pi_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
160 self.label_cc_pi_t.setObjectName(
"label_cc_pi_t")
162 self.lineEdit_cc_pi_e.setGeometry(QtCore.QRect(230, 210, 113, 27))
163 self.lineEdit_cc_pi_e.setText(
"")
164 self.lineEdit_cc_pi_e.setReadOnly(
True)
165 self.lineEdit_cc_pi_e.setObjectName(
"lineEdit_cc_pi_e")
167 self.lineEdit_cc_pi_c.setGeometry(QtCore.QRect(230, 90, 113, 27))
168 self.lineEdit_cc_pi_c.setText(
"")
169 self.lineEdit_cc_pi_c.setReadOnly(
True)
170 self.lineEdit_cc_pi_c.setObjectName(
"lineEdit_cc_pi_c")
172 self.label_cc_lambda_b.setGeometry(QtCore.QRect(70, 30, 151, 31))
173 self.label_cc_lambda_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
174 self.label_cc_lambda_b.setObjectName(
"label_cc_lambda_b")
176 self.lineEdit_cc_pi_q.setGeometry(QtCore.QRect(230, 180, 113, 27))
177 self.lineEdit_cc_pi_q.setText(
"")
178 self.lineEdit_cc_pi_q.setReadOnly(
True)
179 self.lineEdit_cc_pi_q.setObjectName(
"lineEdit_cc_pi_q")
181 self.lineEdit_cc_lambda_b.setGeometry(QtCore.QRect(230, 30, 113, 27))
182 self.lineEdit_cc_lambda_b.setReadOnly(
True)
183 self.lineEdit_cc_lambda_b.setObjectName(
"lineEdit_cc_lambda_b")
185 self.label_cc_pi_q.setGeometry(QtCore.QRect(0, 180, 221, 31))
186 self.label_cc_pi_q.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
187 self.label_cc_pi_q.setObjectName(
"label_cc_pi_q")
189 self.label_cc_pi_v.setGeometry(QtCore.QRect(40, 120, 181, 31))
190 self.label_cc_pi_v.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
191 self.label_cc_pi_v.setObjectName(
"label_cc_pi_v")
193 self.addButton_c_ee_capacitor.setGeometry(QtCore.QRect(925, 650, 125, 50))
194 self.addButton_c_ee_capacitor.setObjectName(
"addButton_c_ee_capacitor")
196 self.lineEdit_c_cc_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
197 self.lineEdit_c_cc_warning_box.setReadOnly(
True)
198 self.lineEdit_c_cc_warning_box.setObjectName(
"lineEdit_c_cc_warning_box")
199 self.tabWidget_electrical_equipments.addTab(self.
tab_capacitor,
"")
201 self.tab_diode.setObjectName(
"tab_diode")
203 self.groupBox_dd_lambda_p.setGeometry(QtCore.QRect(450, 640, 200, 70))
204 self.groupBox_dd_lambda_p.setObjectName(
"groupBox_dd_lambda_p")
206 self.lineEdit_dd_lamda_p.setGeometry(QtCore.QRect(0, 30, 200, 27))
207 self.lineEdit_dd_lamda_p.setReadOnly(
True)
208 self.lineEdit_dd_lamda_p.setObjectName(
"lineEdit_dd_lamda_p")
210 self.groupBox_3.setGeometry(QtCore.QRect(40, 10, 391, 211))
211 self.groupBox_3.setTitle(
"")
212 self.groupBox_3.setObjectName(
"groupBox_3")
214 self.comboBox_dd_quality.setGeometry(QtCore.QRect(190, 150, 191, 27))
215 self.comboBox_dd_quality.setCurrentText(
"")
216 self.comboBox_dd_quality.setObjectName(
"comboBox_dd_quality")
218 self.comboBox_dd_contact_construction.setGeometry(QtCore.QRect(190, 120, 191, 27))
219 self.comboBox_dd_contact_construction.setCurrentText(
"")
220 self.comboBox_dd_contact_construction.setObjectName(
"comboBox_dd_contact_construction")
222 self.label_dd_voltage_stress.setGeometry(QtCore.QRect(10, 90, 171, 21))
223 self.label_dd_voltage_stress.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
224 self.label_dd_voltage_stress.setObjectName(
"label_dd_voltage_stress")
226 self.comboBox_dd_environment.setGeometry(QtCore.QRect(190, 180, 191, 27))
227 self.comboBox_dd_environment.setCurrentText(
"")
228 self.comboBox_dd_environment.setObjectName(
"comboBox_dd_environment")
230 self.label_dd_diode_type.setGeometry(QtCore.QRect(10, 30, 171, 21))
231 self.label_dd_diode_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
232 self.label_dd_diode_type.setObjectName(
"label_dd_diode_type")
234 self.comboBox_dd_type.setGeometry(QtCore.QRect(190, 30, 191, 27))
235 self.comboBox_dd_type.setCurrentText(
"")
236 self.comboBox_dd_type.setObjectName(
"comboBox_dd_type")
238 self.label_dd_contact_construction.setGeometry(QtCore.QRect(10, 120, 171, 21))
239 self.label_dd_contact_construction.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
240 self.label_dd_contact_construction.setObjectName(
"label_dd_contact_construction")
242 self.label_dd_quality.setGeometry(QtCore.QRect(10, 150, 171, 21))
243 self.label_dd_quality.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
244 self.label_dd_quality.setObjectName(
"label_dd_quality")
246 self.comboBox_dd_junction_temperature.setGeometry(QtCore.QRect(190, 60, 191, 27))
247 self.comboBox_dd_junction_temperature.setCurrentText(
"")
248 self.comboBox_dd_junction_temperature.setObjectName(
"comboBox_dd_junction_temperature")
250 self.label_dd_junction_temperature.setGeometry(QtCore.QRect(10, 60, 171, 21))
251 self.label_dd_junction_temperature.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
252 self.label_dd_junction_temperature.setObjectName(
"label_dd_junction_temperature")
254 self.comboBox_dd_voltage_stress.setGeometry(QtCore.QRect(190, 90, 191, 27))
255 self.comboBox_dd_voltage_stress.setCurrentText(
"")
256 self.comboBox_dd_voltage_stress.setObjectName(
"comboBox_dd_voltage_stress")
258 self.label_dd_environment.setGeometry(QtCore.QRect(10, 180, 171, 21))
259 self.label_dd_environment.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
260 self.label_dd_environment.setObjectName(
"label_dd_environment")
262 self.groupBox_4.setGeometry(QtCore.QRect(470, 30, 371, 201))
263 self.groupBox_4.setTitle(
"")
264 self.groupBox_4.setObjectName(
"groupBox_4")
266 self.lineEdit_dd_pi_t.setGeometry(QtCore.QRect(250, 40, 113, 27))
267 self.lineEdit_dd_pi_t.setText(
"")
268 self.lineEdit_dd_pi_t.setReadOnly(
True)
269 self.lineEdit_dd_pi_t.setObjectName(
"lineEdit_dd_pi_t")
271 self.label_dd_pi_s.setGeometry(QtCore.QRect(50, 70, 191, 31))
272 self.label_dd_pi_s.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
273 self.label_dd_pi_s.setObjectName(
"label_dd_pi_s")
275 self.label_dd_pi_q.setGeometry(QtCore.QRect(0, 130, 241, 31))
276 self.label_dd_pi_q.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
277 self.label_dd_pi_q.setObjectName(
"label_dd_pi_q")
279 self.lineEdit_dd_pi_c.setGeometry(QtCore.QRect(250, 100, 113, 27))
280 self.lineEdit_dd_pi_c.setText(
"")
281 self.lineEdit_dd_pi_c.setReadOnly(
True)
282 self.lineEdit_dd_pi_c.setObjectName(
"lineEdit_dd_pi_c")
284 self.label_dd_pi_e.setGeometry(QtCore.QRect(0, 160, 241, 31))
285 self.label_dd_pi_e.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
286 self.label_dd_pi_e.setObjectName(
"label_dd_pi_e")
288 self.lineEdit_dd_lambda_b.setGeometry(QtCore.QRect(250, 10, 113, 27))
289 self.lineEdit_dd_lambda_b.setReadOnly(
True)
290 self.lineEdit_dd_lambda_b.setObjectName(
"lineEdit_dd_lambda_b")
292 self.lineEdit_dd_pi_s.setGeometry(QtCore.QRect(250, 70, 113, 27))
293 self.lineEdit_dd_pi_s.setText(
"")
294 self.lineEdit_dd_pi_s.setReadOnly(
True)
295 self.lineEdit_dd_pi_s.setObjectName(
"lineEdit_dd_pi_s")
297 self.label_dd_pi_c.setGeometry(QtCore.QRect(0, 100, 241, 31))
298 self.label_dd_pi_c.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
299 self.label_dd_pi_c.setObjectName(
"label_dd_pi_c")
301 self.label_dd_lambda_b.setGeometry(QtCore.QRect(90, 10, 151, 31))
302 self.label_dd_lambda_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
303 self.label_dd_lambda_b.setObjectName(
"label_dd_lambda_b")
305 self.lineEdit_dd_pi_e.setGeometry(QtCore.QRect(250, 160, 113, 27))
306 self.lineEdit_dd_pi_e.setText(
"")
307 self.lineEdit_dd_pi_e.setReadOnly(
True)
308 self.lineEdit_dd_pi_e.setObjectName(
"lineEdit_dd_pi_e")
310 self.lineEdit_dd_pi_q.setGeometry(QtCore.QRect(250, 130, 113, 27))
311 self.lineEdit_dd_pi_q.setText(
"")
312 self.lineEdit_dd_pi_q.setReadOnly(
True)
313 self.lineEdit_dd_pi_q.setObjectName(
"lineEdit_dd_pi_q")
315 self.label_dd_pi_t.setGeometry(QtCore.QRect(70, 40, 171, 31))
316 self.label_dd_pi_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
317 self.label_dd_pi_t.setObjectName(
"label_dd_pi_t")
319 self.addButton_c_ee_diode.setGeometry(QtCore.QRect(925, 650, 125, 50))
320 self.addButton_c_ee_diode.setObjectName(
"addButton_c_ee_diode")
322 self.lineEdit_c_dd_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
323 self.lineEdit_c_dd_warning_box.setReadOnly(
True)
324 self.lineEdit_c_dd_warning_box.setObjectName(
"lineEdit_c_dd_warning_box")
325 self.tabWidget_electrical_equipments.addTab(self.
tab_diode,
"")
327 self.tab_inductor.setObjectName(
"tab_inductor")
329 self.groupBox_id_lambda_p.setGeometry(QtCore.QRect(450, 640, 200, 70))
330 self.groupBox_id_lambda_p.setObjectName(
"groupBox_id_lambda_p")
332 self.lineEdit_id_lamda_p.setGeometry(QtCore.QRect(0, 30, 200, 27))
333 self.lineEdit_id_lamda_p.setReadOnly(
True)
334 self.lineEdit_id_lamda_p.setObjectName(
"lineEdit_id_lamda_p")
336 self.groupBox_5.setGeometry(QtCore.QRect(50, 40, 381, 131))
337 self.groupBox_5.setTitle(
"")
338 self.groupBox_5.setObjectName(
"groupBox_5")
340 self.comboBox_id_type.setGeometry(QtCore.QRect(180, 0, 191, 27))
341 self.comboBox_id_type.setCurrentText(
"")
342 self.comboBox_id_type.setObjectName(
"comboBox_id_type")
344 self.comboBox_id_environment.setGeometry(QtCore.QRect(180, 90, 191, 27))
345 self.comboBox_id_environment.setCurrentText(
"")
346 self.comboBox_id_environment.setObjectName(
"comboBox_id_environment")
348 self.label_id_environment.setGeometry(QtCore.QRect(0, 90, 171, 21))
349 self.label_id_environment.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
350 self.label_id_environment.setObjectName(
"label_id_environment")
352 self.comboBox_id_quality.setGeometry(QtCore.QRect(180, 60, 191, 27))
353 self.comboBox_id_quality.setCurrentText(
"")
354 self.comboBox_id_quality.setObjectName(
"comboBox_id_quality")
356 self.label_id_inductor_type.setGeometry(QtCore.QRect(0, 0, 171, 21))
357 self.label_id_inductor_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
358 self.label_id_inductor_type.setObjectName(
"label_id_inductor_type")
360 self.label_id_quality.setGeometry(QtCore.QRect(110, 60, 61, 21))
361 self.label_id_quality.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
362 self.label_id_quality.setObjectName(
"label_id_quality")
364 self.label_id_hot_spot_temperature.setGeometry(QtCore.QRect(0, 30, 171, 21))
365 self.label_id_hot_spot_temperature.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
366 self.label_id_hot_spot_temperature.setObjectName(
"label_id_hot_spot_temperature")
368 self.comboBox_id_hot_spot_temperature.setGeometry(QtCore.QRect(180, 30, 191, 27))
369 self.comboBox_id_hot_spot_temperature.setCurrentText(
"")
370 self.comboBox_id_hot_spot_temperature.setObjectName(
"comboBox_id_hot_spot_temperature")
372 self.groupBox_11.setGeometry(QtCore.QRect(540, 40, 301, 131))
373 self.groupBox_11.setTitle(
"")
374 self.groupBox_11.setObjectName(
"groupBox_11")
376 self.lineEdit_id_lambda_b.setGeometry(QtCore.QRect(180, 0, 113, 27))
377 self.lineEdit_id_lambda_b.setReadOnly(
True)
378 self.lineEdit_id_lambda_b.setObjectName(
"lineEdit_id_lambda_b")
380 self.label_id_pi_q.setGeometry(QtCore.QRect(30, 60, 141, 31))
381 self.label_id_pi_q.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
382 self.label_id_pi_q.setObjectName(
"label_id_pi_q")
384 self.lineEdit_id_pi_e.setGeometry(QtCore.QRect(180, 90, 113, 27))
385 self.lineEdit_id_pi_e.setText(
"")
386 self.lineEdit_id_pi_e.setReadOnly(
True)
387 self.lineEdit_id_pi_e.setObjectName(
"lineEdit_id_pi_e")
389 self.lineEdit_id_pi_t.setGeometry(QtCore.QRect(180, 30, 113, 27))
390 self.lineEdit_id_pi_t.setText(
"")
391 self.lineEdit_id_pi_t.setReadOnly(
True)
392 self.lineEdit_id_pi_t.setObjectName(
"lineEdit_id_pi_t")
394 self.label_id_lambda_b.setGeometry(QtCore.QRect(20, 0, 151, 31))
395 self.label_id_lambda_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
396 self.label_id_lambda_b.setObjectName(
"label_id_lambda_b")
398 self.label_id_pi_t.setGeometry(QtCore.QRect(0, 30, 171, 31))
399 self.label_id_pi_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
400 self.label_id_pi_t.setObjectName(
"label_id_pi_t")
402 self.lineEdit_id_pi_q.setGeometry(QtCore.QRect(180, 60, 113, 27))
403 self.lineEdit_id_pi_q.setText(
"")
404 self.lineEdit_id_pi_q.setReadOnly(
True)
405 self.lineEdit_id_pi_q.setObjectName(
"lineEdit_id_pi_q")
407 self.label_id_pi_e.setGeometry(QtCore.QRect(0, 90, 171, 31))
408 self.label_id_pi_e.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
409 self.label_id_pi_e.setObjectName(
"label_id_pi_e")
411 self.addButton_c_ee_inductor.setGeometry(QtCore.QRect(925, 650, 125, 50))
412 self.addButton_c_ee_inductor.setObjectName(
"addButton_c_ee_inductor")
414 self.lineEdit_c_id_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
415 self.lineEdit_c_id_warning_box.setReadOnly(
True)
416 self.lineEdit_c_id_warning_box.setObjectName(
"lineEdit_c_id_warning_box")
417 self.tabWidget_electrical_equipments.addTab(self.
tab_inductor,
"")
419 self.tab_transistor.setObjectName(
"tab_transistor")
421 self.groupBox_ts_lambda_p.setGeometry(QtCore.QRect(450, 640, 200, 70))
422 self.groupBox_ts_lambda_p.setObjectName(
"groupBox_ts_lambda_p")
424 self.lineEdit_ts_lamda_p.setGeometry(QtCore.QRect(0, 30, 200, 27))
425 self.lineEdit_ts_lamda_p.setReadOnly(
True)
426 self.lineEdit_ts_lamda_p.setObjectName(
"lineEdit_ts_lamda_p")
428 self.groupBox_12.setGeometry(QtCore.QRect(70, 40, 361, 131))
429 self.groupBox_12.setTitle(
"")
430 self.groupBox_12.setObjectName(
"groupBox_12")
432 self.label_ts_transistor_type.setGeometry(QtCore.QRect(40, 0, 111, 21))
433 self.label_ts_transistor_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
434 self.label_ts_transistor_type.setObjectName(
"label_ts_transistor_type")
436 self.comboBox_ts_environment.setGeometry(QtCore.QRect(160, 90, 191, 27))
437 self.comboBox_ts_environment.setCurrentText(
"")
438 self.comboBox_ts_environment.setObjectName(
"comboBox_ts_environment")
440 self.label_ts_quality.setGeometry(QtCore.QRect(90, 30, 61, 21))
441 self.label_ts_quality.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
442 self.label_ts_quality.setObjectName(
"label_ts_quality")
444 self.comboBox_ts_junction_temperature.setGeometry(QtCore.QRect(160, 60, 191, 27))
445 self.comboBox_ts_junction_temperature.setCurrentText(
"")
446 self.comboBox_ts_junction_temperature.setObjectName(
"comboBox_ts_junction_temperature")
448 self.label_ts_environment.setGeometry(QtCore.QRect(60, 90, 91, 21))
449 self.label_ts_environment.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
450 self.label_ts_environment.setObjectName(
"label_ts_environment")
452 self.comboBox_ts_quality.setGeometry(QtCore.QRect(160, 30, 191, 27))
453 self.comboBox_ts_quality.setCurrentText(
"")
454 self.comboBox_ts_quality.setObjectName(
"comboBox_ts_quality")
456 self.comboBox_ts_type.setGeometry(QtCore.QRect(160, 0, 191, 27))
457 self.comboBox_ts_type.setCurrentText(
"")
458 self.comboBox_ts_type.setObjectName(
"comboBox_ts_type")
460 self.label_ts_junction_temperature.setGeometry(QtCore.QRect(0, 60, 151, 21))
461 self.label_ts_junction_temperature.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
462 self.label_ts_junction_temperature.setObjectName(
"label_ts_junction_temperature")
464 self.groupBox_13.setGeometry(QtCore.QRect(540, 40, 301, 121))
465 self.groupBox_13.setTitle(
"")
466 self.groupBox_13.setObjectName(
"groupBox_13")
468 self.label_ts_pi_q.setGeometry(QtCore.QRect(30, 30, 141, 31))
469 self.label_ts_pi_q.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
470 self.label_ts_pi_q.setObjectName(
"label_ts_pi_q")
472 self.lineEdit_ts_pi_t.setGeometry(QtCore.QRect(180, 60, 113, 27))
473 self.lineEdit_ts_pi_t.setText(
"")
474 self.lineEdit_ts_pi_t.setReadOnly(
True)
475 self.lineEdit_ts_pi_t.setObjectName(
"lineEdit_ts_pi_t")
477 self.lineEdit_ts_lambda_b.setGeometry(QtCore.QRect(180, 0, 113, 27))
478 self.lineEdit_ts_lambda_b.setReadOnly(
True)
479 self.lineEdit_ts_lambda_b.setObjectName(
"lineEdit_ts_lambda_b")
481 self.label_ts_pi_t.setGeometry(QtCore.QRect(0, 60, 171, 31))
482 self.label_ts_pi_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
483 self.label_ts_pi_t.setObjectName(
"label_ts_pi_t")
485 self.lineEdit_ts_pi_q.setGeometry(QtCore.QRect(180, 30, 113, 27))
486 self.lineEdit_ts_pi_q.setText(
"")
487 self.lineEdit_ts_pi_q.setReadOnly(
True)
488 self.lineEdit_ts_pi_q.setObjectName(
"lineEdit_ts_pi_q")
490 self.label_ts_lambda_b.setGeometry(QtCore.QRect(20, 0, 151, 31))
491 self.label_ts_lambda_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
492 self.label_ts_lambda_b.setObjectName(
"label_ts_lambda_b")
494 self.lineEdit_ts_pi_e.setGeometry(QtCore.QRect(180, 90, 113, 27))
495 self.lineEdit_ts_pi_e.setText(
"")
496 self.lineEdit_ts_pi_e.setReadOnly(
True)
497 self.lineEdit_ts_pi_e.setObjectName(
"lineEdit_ts_pi_e")
499 self.label_ts_pi_e.setGeometry(QtCore.QRect(0, 90, 171, 31))
500 self.label_ts_pi_e.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
501 self.label_ts_pi_e.setObjectName(
"label_ts_pi_e")
503 self.addButton_c_ee_transistor.setGeometry(QtCore.QRect(925, 650, 125, 50))
504 self.addButton_c_ee_transistor.setObjectName(
"addButton_c_ee_transistor")
506 self.lineEdit_c_ts_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
507 self.lineEdit_c_ts_warning_box.setReadOnly(
True)
508 self.lineEdit_c_ts_warning_box.setObjectName(
"lineEdit_c_ts_warning_box")
509 self.tabWidget_electrical_equipments.addTab(self.
tab_transistor,
"")
511 self.tab_fuse.setObjectName(
"tab_fuse")
513 self.groupBox_fs_lambda_p.setGeometry(QtCore.QRect(450, 640, 200, 70))
514 self.groupBox_fs_lambda_p.setObjectName(
"groupBox_fs_lambda_p")
516 self.lineEdit_fs_lamda_p.setGeometry(QtCore.QRect(0, 30, 200, 27))
517 self.lineEdit_fs_lamda_p.setReadOnly(
True)
518 self.lineEdit_fs_lamda_p.setObjectName(
"lineEdit_fs_lamda_p")
520 self.groupBox_14.setGeometry(QtCore.QRect(130, 40, 301, 61))
521 self.groupBox_14.setTitle(
"")
522 self.groupBox_14.setObjectName(
"groupBox_14")
524 self.comboBox_fs_type.setGeometry(QtCore.QRect(100, 0, 191, 27))
525 self.comboBox_fs_type.setCurrentText(
"")
526 self.comboBox_fs_type.setObjectName(
"comboBox_fs_type")
528 self.label_fs_environment.setGeometry(QtCore.QRect(0, 30, 91, 21))
529 self.label_fs_environment.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
530 self.label_fs_environment.setObjectName(
"label_fs_environment")
532 self.comboBox_fs_environment.setGeometry(QtCore.QRect(100, 30, 191, 27))
533 self.comboBox_fs_environment.setCurrentText(
"")
534 self.comboBox_fs_environment.setObjectName(
"comboBox_fs_environment")
536 self.label_fs_fuse_type.setGeometry(QtCore.QRect(20, 0, 71, 21))
537 self.label_fs_fuse_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
538 self.label_fs_fuse_type.setObjectName(
"label_fs_fuse_type")
540 self.groupBox_15.setGeometry(QtCore.QRect(540, 40, 301, 61))
541 self.groupBox_15.setTitle(
"")
542 self.groupBox_15.setObjectName(
"groupBox_15")
544 self.label_fs_pi_e.setGeometry(QtCore.QRect(0, 30, 171, 31))
545 self.label_fs_pi_e.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
546 self.label_fs_pi_e.setObjectName(
"label_fs_pi_e")
548 self.lineEdit_fs_pi_e.setGeometry(QtCore.QRect(180, 30, 113, 27))
549 self.lineEdit_fs_pi_e.setText(
"")
550 self.lineEdit_fs_pi_e.setReadOnly(
True)
551 self.lineEdit_fs_pi_e.setObjectName(
"lineEdit_fs_pi_e")
553 self.lineEdit_fs_lambda_b.setGeometry(QtCore.QRect(180, 0, 113, 27))
554 self.lineEdit_fs_lambda_b.setReadOnly(
True)
555 self.lineEdit_fs_lambda_b.setObjectName(
"lineEdit_fs_lambda_b")
557 self.label_fs_lambda_b.setGeometry(QtCore.QRect(20, 0, 151, 31))
558 self.label_fs_lambda_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
559 self.label_fs_lambda_b.setObjectName(
"label_fs_lambda_b")
561 self.addButton_c_ee_fuse.setGeometry(QtCore.QRect(925, 650, 125, 50))
562 self.addButton_c_ee_fuse.setObjectName(
"addButton_c_ee_fuse")
564 self.lineEdit_c_fs_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
565 self.lineEdit_c_fs_warning_box.setReadOnly(
True)
566 self.lineEdit_c_fs_warning_box.setObjectName(
"lineEdit_c_fs_warning_box")
567 self.tabWidget_electrical_equipments.addTab(self.
tab_fuse,
"")
569 self.tab_resistor.setObjectName(
"tab_resistor")
571 self.groupBox_16.setGeometry(QtCore.QRect(90, 40, 431, 221))
572 self.groupBox_16.setTitle(
"")
573 self.groupBox_16.setObjectName(
"groupBox_16")
575 self.comboBox_res_style.setGeometry(QtCore.QRect(220, 10, 191, 27))
576 self.comboBox_res_style.setCurrentText(
"")
577 self.comboBox_res_style.setObjectName(
"comboBox_res_style")
579 self.label_res_style.setGeometry(QtCore.QRect(90, 10, 121, 21))
580 self.label_res_style.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
581 self.label_res_style.setObjectName(
"label_res_style")
583 self.label_res_t.setGeometry(QtCore.QRect(-10, 30, 221, 41))
584 self.label_res_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
585 self.label_res_t.setWordWrap(
True)
586 self.label_res_t.setObjectName(
"label_res_t")
588 self.comboBox_res_w.setGeometry(QtCore.QRect(220, 70, 70, 27))
589 self.comboBox_res_w.setCurrentText(
"")
590 self.comboBox_res_w.setObjectName(
"comboBox_res_w")
592 self.label_res_w.setGeometry(QtCore.QRect(20, 70, 191, 21))
593 self.label_res_w.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
594 self.label_res_w.setWordWrap(
True)
595 self.label_res_w.setObjectName(
"label_res_w")
597 self.comboBox_res_environment.setGeometry(QtCore.QRect(220, 130, 191, 27))
598 self.comboBox_res_environment.setCurrentText(
"")
599 self.comboBox_res_environment.setObjectName(
"comboBox_res_environment")
601 self.label_res_environment.setGeometry(QtCore.QRect(80, 120, 131, 41))
602 self.label_res_environment.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
603 self.label_res_environment.setWordWrap(
True)
604 self.label_res_environment.setObjectName(
"label_res_environment")
606 self.label_res_quality.setGeometry(QtCore.QRect(80, 150, 131, 41))
607 self.label_res_quality.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
608 self.label_res_quality.setWordWrap(
True)
609 self.label_res_quality.setObjectName(
"label_res_quality")
611 self.comboBox_res_quality.setGeometry(QtCore.QRect(220, 160, 191, 27))
612 self.comboBox_res_quality.setCurrentText(
"")
613 self.comboBox_res_quality.setObjectName(
"comboBox_res_quality")
615 self.comboBox_res_case_temp.setGeometry(QtCore.QRect(220, 40, 70, 27))
616 self.comboBox_res_case_temp.setCurrentText(
"")
617 self.comboBox_res_case_temp.setObjectName(
"comboBox_res_case_temp")
619 self.lineEdit_res_case_temp.setEnabled(
False)
620 self.lineEdit_res_case_temp.setGeometry(QtCore.QRect(330, 40, 70, 27))
621 self.lineEdit_res_case_temp.setDragEnabled(
False)
622 self.lineEdit_res_case_temp.setObjectName(
"lineEdit_res_case_temp")
624 self.label_30.setEnabled(
False)
625 self.label_30.setGeometry(QtCore.QRect(300, 40, 21, 31))
626 self.label_30.setObjectName(
"label_30")
628 self.lineEdit_res_w.setEnabled(
False)
629 self.lineEdit_res_w.setGeometry(QtCore.QRect(330, 70, 70, 27))
630 self.lineEdit_res_w.setDragEnabled(
False)
631 self.lineEdit_res_w.setObjectName(
"lineEdit_res_w")
633 self.label_40.setEnabled(
False)
634 self.label_40.setGeometry(QtCore.QRect(300, 70, 21, 31))
635 self.label_40.setObjectName(
"label_40")
637 self.comboBox_res_stress.setGeometry(QtCore.QRect(220, 100, 70, 27))
638 self.comboBox_res_stress.setCurrentText(
"")
639 self.comboBox_res_stress.setObjectName(
"comboBox_res_stress")
641 self.label_res_stress.setGeometry(QtCore.QRect(20, 100, 191, 21))
642 self.label_res_stress.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
643 self.label_res_stress.setWordWrap(
True)
644 self.label_res_stress.setObjectName(
"label_res_stress")
646 self.lineEdit_res_stress.setEnabled(
False)
647 self.lineEdit_res_stress.setGeometry(QtCore.QRect(330, 100, 70, 27))
648 self.lineEdit_res_stress.setDragEnabled(
False)
649 self.lineEdit_res_stress.setObjectName(
"lineEdit_res_stress")
651 self.label_41.setEnabled(
False)
652 self.label_41.setGeometry(QtCore.QRect(300, 100, 21, 31))
653 self.label_41.setObjectName(
"label_41")
655 self.groupBox_17.setGeometry(QtCore.QRect(580, 50, 301, 291))
656 self.groupBox_17.setTitle(
"")
657 self.groupBox_17.setObjectName(
"groupBox_17")
659 self.lineEdit_res_lambda_b.setGeometry(QtCore.QRect(180, 0, 113, 27))
660 self.lineEdit_res_lambda_b.setReadOnly(
True)
661 self.lineEdit_res_lambda_b.setObjectName(
"lineEdit_res_lambda_b")
663 self.label_res_lambda_b.setGeometry(QtCore.QRect(20, 0, 151, 31))
664 self.label_res_lambda_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
665 self.label_res_lambda_b.setObjectName(
"label_res_lambda_b")
667 self.lineEdit_res_pi_t.setGeometry(QtCore.QRect(180, 30, 113, 27))
668 self.lineEdit_res_pi_t.setText(
"")
669 self.lineEdit_res_pi_t.setReadOnly(
True)
670 self.lineEdit_res_pi_t.setObjectName(
"lineEdit_res_pi_t")
672 self.label_res_pi_t.setGeometry(QtCore.QRect(0, 30, 171, 31))
673 self.label_res_pi_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
674 self.label_res_pi_t.setObjectName(
"label_res_pi_t")
676 self.label_res_pi_p.setGeometry(QtCore.QRect(0, 60, 171, 31))
677 self.label_res_pi_p.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
678 self.label_res_pi_p.setObjectName(
"label_res_pi_p")
680 self.lineEdit_res_pi_p.setGeometry(QtCore.QRect(180, 60, 113, 27))
681 self.lineEdit_res_pi_p.setText(
"")
682 self.lineEdit_res_pi_p.setReadOnly(
True)
683 self.lineEdit_res_pi_p.setObjectName(
"lineEdit_res_pi_p")
685 self.label_res_pi_e.setGeometry(QtCore.QRect(0, 120, 171, 31))
686 self.label_res_pi_e.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
687 self.label_res_pi_e.setObjectName(
"label_res_pi_e")
689 self.lineEdit_res_pi_e.setGeometry(QtCore.QRect(180, 120, 113, 27))
690 self.lineEdit_res_pi_e.setText(
"")
691 self.lineEdit_res_pi_e.setReadOnly(
True)
692 self.lineEdit_res_pi_e.setObjectName(
"lineEdit_res_pi_e")
694 self.label_res_pi_q.setGeometry(QtCore.QRect(0, 150, 171, 31))
695 self.label_res_pi_q.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
696 self.label_res_pi_q.setObjectName(
"label_res_pi_q")
698 self.lineEdit_res_pi_q.setGeometry(QtCore.QRect(180, 150, 113, 27))
699 self.lineEdit_res_pi_q.setText(
"")
700 self.lineEdit_res_pi_q.setReadOnly(
True)
701 self.lineEdit_res_pi_q.setObjectName(
"lineEdit_res_pi_q")
703 self.label_res_pi_s.setGeometry(QtCore.QRect(0, 90, 171, 31))
704 self.label_res_pi_s.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
705 self.label_res_pi_s.setObjectName(
"label_res_pi_s")
707 self.lineEdit_res_pi_s.setGeometry(QtCore.QRect(180, 90, 113, 27))
708 self.lineEdit_res_pi_s.setText(
"")
709 self.lineEdit_res_pi_s.setReadOnly(
True)
710 self.lineEdit_res_pi_s.setObjectName(
"lineEdit_res_pi_s")
712 self.lineEdit_c_res_warning_box.setGeometry(QtCore.QRect(15, 640, 330, 70))
713 self.lineEdit_c_res_warning_box.setReadOnly(
True)
714 self.lineEdit_c_res_warning_box.setObjectName(
"lineEdit_c_res_warning_box")
716 self.groupBox_res_lambda_p.setGeometry(QtCore.QRect(455, 640, 200, 70))
717 self.groupBox_res_lambda_p.setObjectName(
"groupBox_res_lambda_p")
719 self.lineEdit_res_lamda_p.setGeometry(QtCore.QRect(0, 30, 200, 27))
720 self.lineEdit_res_lamda_p.setReadOnly(
True)
721 self.lineEdit_res_lamda_p.setObjectName(
"lineEdit_res_lamda_p")
723 self.addButton_c_ee_res.setGeometry(QtCore.QRect(930, 650, 125, 50))
724 self.addButton_c_ee_res.setObjectName(
"addButton_c_ee_res")
725 self.tabWidget_electrical_equipments.addTab(self.
tab_resistor,
"")
727 self.tab_rd.setObjectName(
"tab_rd")
729 self.groupBox_bearings.setGeometry(QtCore.QRect(50, 30, 470, 460))
730 self.groupBox_bearings.setObjectName(
"groupBox_bearings")
732 self.label_rd_bearing_ambient_temperature.setGeometry(QtCore.QRect(0, 40, 191, 21))
733 self.label_rd_bearing_ambient_temperature.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
734 self.label_rd_bearing_ambient_temperature.setWordWrap(
True)
735 self.label_rd_bearing_ambient_temperature.setObjectName(
"label_rd_bearing_ambient_temperature")
737 self.comboBox_rd_bearing_ambient_temperature.setGeometry(QtCore.QRect(200, 40, 70, 27))
738 self.comboBox_rd_bearing_ambient_temperature.setCurrentText(
"")
739 self.comboBox_rd_bearing_ambient_temperature.setObjectName(
"comboBox_rd_bearing_ambient_temperature")
741 self.label_rd_bearing_characteristic_life.setGeometry(QtCore.QRect(40, 70, 151, 31))
742 self.label_rd_bearing_characteristic_life.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
743 self.label_rd_bearing_characteristic_life.setWordWrap(
True)
744 self.label_rd_bearing_characteristic_life.setObjectName(
"label_rd_bearing_characteristic_life")
746 self.lineEdit_rd_bearing_characteristic_life.setGeometry(QtCore.QRect(200, 80, 113, 27))
747 self.lineEdit_rd_bearing_characteristic_life.setReadOnly(
True)
748 self.lineEdit_rd_bearing_characteristic_life.setObjectName(
"lineEdit_rd_bearing_characteristic_life")
750 self.label_rd_bearing_motor_type.setGeometry(QtCore.QRect(60, 140, 131, 21))
751 self.label_rd_bearing_motor_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
752 self.label_rd_bearing_motor_type.setWordWrap(
True)
753 self.label_rd_bearing_motor_type.setObjectName(
"label_rd_bearing_motor_type")
755 self.comboBox_rd_bearing_motor_type.setGeometry(QtCore.QRect(200, 140, 181, 27))
756 self.comboBox_rd_bearing_motor_type.setCurrentText(
"")
757 self.comboBox_rd_bearing_motor_type.setObjectName(
"comboBox_rd_bearing_motor_type")
759 self.lineEdit_rd_bearing_a_determination.setGeometry(QtCore.QRect(200, 170, 113, 27))
760 self.lineEdit_rd_bearing_a_determination.setReadOnly(
True)
761 self.lineEdit_rd_bearing_a_determination.setObjectName(
"lineEdit_rd_bearing_a_determination")
763 self.label_rd_bearing_a_determination.setGeometry(QtCore.QRect(60, 170, 131, 21))
764 self.label_rd_bearing_a_determination.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
765 self.label_rd_bearing_a_determination.setWordWrap(
True)
766 self.label_rd_bearing_a_determination.setObjectName(
"label_rd_bearing_a_determination")
768 self.label_rd_bearing_lambda1_determination.setGeometry(QtCore.QRect(60, 270, 131, 21))
769 self.label_rd_bearing_lambda1_determination.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
770 self.label_rd_bearing_lambda1_determination.setWordWrap(
True)
771 self.label_rd_bearing_lambda1_determination.setObjectName(
"label_rd_bearing_lambda1_determination")
773 self.lineEdit_rd_bearing_lambda1_determination.setGeometry(QtCore.QRect(200, 270, 113, 27))
774 self.lineEdit_rd_bearing_lambda1_determination.setReadOnly(
True)
775 self.lineEdit_rd_bearing_lambda1_determination.setObjectName(
"lineEdit_rd_bearing_lambda1_determination")
777 self.comboBox_rd_bearing_LC.setGeometry(QtCore.QRect(200, 240, 181, 27))
778 self.comboBox_rd_bearing_LC.setCurrentText(
"")
779 self.comboBox_rd_bearing_LC.setObjectName(
"comboBox_rd_bearing_LC")
781 self.label_rd_bearing_LC.setGeometry(QtCore.QRect(60, 240, 131, 21))
782 self.label_rd_bearing_LC.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
783 self.label_rd_bearing_LC.setWordWrap(
True)
784 self.label_rd_bearing_LC.setObjectName(
"label_rd_bearing_LC")
786 self.groupBox_rd_bearing_fr.setGeometry(QtCore.QRect(120, 380, 200, 70))
787 self.groupBox_rd_bearing_fr.setObjectName(
"groupBox_rd_bearing_fr")
789 self.lineEdit_rd_bearing_fr.setGeometry(QtCore.QRect(0, 30, 200, 27))
790 self.lineEdit_rd_bearing_fr.setReadOnly(
True)
791 self.lineEdit_rd_bearing_fr.setObjectName(
"lineEdit_rd_bearing_fr")
793 self.label_9.setEnabled(
False)
794 self.label_9.setGeometry(QtCore.QRect(280, 40, 21, 31))
795 self.label_9.setObjectName(
"label_9")
797 self.lineEdit_rd_bearing_ambient_temperature.setEnabled(
False)
798 self.lineEdit_rd_bearing_ambient_temperature.setGeometry(QtCore.QRect(310, 40, 70, 27))
799 self.lineEdit_rd_bearing_ambient_temperature.setDragEnabled(
False)
800 self.lineEdit_rd_bearing_ambient_temperature.setObjectName(
"lineEdit_rd_bearing_ambient_temperature")
802 self.line_12.setGeometry(QtCore.QRect(10, 120, 441, 16))
803 self.line_12.setFrameShape(QtWidgets.QFrame.HLine)
804 self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken)
805 self.line_12.setObjectName(
"line_12")
807 self.line_33.setGeometry(QtCore.QRect(10, 210, 441, 16))
808 self.line_33.setFrameShape(QtWidgets.QFrame.HLine)
809 self.line_33.setFrameShadow(QtWidgets.QFrame.Sunken)
810 self.line_33.setObjectName(
"line_33")
812 self.groupBox_winding.setGeometry(QtCore.QRect(540, 30, 470, 460))
813 self.groupBox_winding.setObjectName(
"groupBox_winding")
815 self.label_rd_winding_ambient_temperature.setGeometry(QtCore.QRect(0, 40, 191, 21))
816 self.label_rd_winding_ambient_temperature.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
817 self.label_rd_winding_ambient_temperature.setWordWrap(
True)
818 self.label_rd_winding_ambient_temperature.setObjectName(
"label_rd_winding_ambient_temperature")
820 self.comboBox_rd_winding_ambient_temperature.setGeometry(QtCore.QRect(200, 40, 70, 27))
821 self.comboBox_rd_winding_ambient_temperature.setCurrentText(
"")
822 self.comboBox_rd_winding_ambient_temperature.setObjectName(
"comboBox_rd_winding_ambient_temperature")
824 self.label_rd_winding_characteristic_life.setGeometry(QtCore.QRect(40, 70, 151, 31))
825 self.label_rd_winding_characteristic_life.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
826 self.label_rd_winding_characteristic_life.setWordWrap(
True)
827 self.label_rd_winding_characteristic_life.setObjectName(
"label_rd_winding_characteristic_life")
829 self.lineEdit_rd_winding_characteristic_life.setGeometry(QtCore.QRect(200, 80, 113, 27))
830 self.lineEdit_rd_winding_characteristic_life.setReadOnly(
True)
831 self.lineEdit_rd_winding_characteristic_life.setObjectName(
"lineEdit_rd_winding_characteristic_life")
833 self.label_rd_winding_motor_type.setGeometry(QtCore.QRect(60, 140, 131, 21))
834 self.label_rd_winding_motor_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
835 self.label_rd_winding_motor_type.setWordWrap(
True)
836 self.label_rd_winding_motor_type.setObjectName(
"label_rd_winding_motor_type")
838 self.comboBox_rd_winding_motor_type.setGeometry(QtCore.QRect(200, 140, 181, 27))
839 self.comboBox_rd_winding_motor_type.setCurrentText(
"")
840 self.comboBox_rd_winding_motor_type.setObjectName(
"comboBox_rd_winding_motor_type")
842 self.lineEdit_rd_winding_b_determination.setGeometry(QtCore.QRect(200, 170, 113, 27))
843 self.lineEdit_rd_winding_b_determination.setReadOnly(
True)
844 self.lineEdit_rd_winding_b_determination.setObjectName(
"lineEdit_rd_winding_b_determination")
846 self.label_rd_winding_b_determination.setGeometry(QtCore.QRect(60, 170, 131, 21))
847 self.label_rd_winding_b_determination.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
848 self.label_rd_winding_b_determination.setWordWrap(
True)
849 self.label_rd_winding_b_determination.setObjectName(
"label_rd_winding_b_determination")
851 self.label_rd_winding_lambda2_determination.setGeometry(QtCore.QRect(60, 270, 131, 21))
852 self.label_rd_winding_lambda2_determination.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
853 self.label_rd_winding_lambda2_determination.setWordWrap(
True)
854 self.label_rd_winding_lambda2_determination.setObjectName(
"label_rd_winding_lambda2_determination")
856 self.lineEdit_rd_winding_lambda2_determination.setGeometry(QtCore.QRect(200, 270, 113, 27))
857 self.lineEdit_rd_winding_lambda2_determination.setReadOnly(
True)
858 self.lineEdit_rd_winding_lambda2_determination.setObjectName(
"lineEdit_rd_winding_lambda2_determination")
860 self.comboBox_rd_winding_LC.setGeometry(QtCore.QRect(200, 240, 181, 27))
861 self.comboBox_rd_winding_LC.setCurrentText(
"")
862 self.comboBox_rd_winding_LC.setObjectName(
"comboBox_rd_winding_LC")
864 self.label_rd_winding_LC.setGeometry(QtCore.QRect(60, 240, 131, 21))
865 self.label_rd_winding_LC.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
866 self.label_rd_winding_LC.setWordWrap(
True)
867 self.label_rd_winding_LC.setObjectName(
"label_rd_winding_LC")
869 self.groupBox_rd_winding_fr.setGeometry(QtCore.QRect(120, 380, 200, 70))
870 self.groupBox_rd_winding_fr.setObjectName(
"groupBox_rd_winding_fr")
872 self.lineEdit_rd_winding_fr.setGeometry(QtCore.QRect(0, 30, 200, 27))
873 self.lineEdit_rd_winding_fr.setReadOnly(
True)
874 self.lineEdit_rd_winding_fr.setObjectName(
"lineEdit_rd_winding_fr")
876 self.label_14.setEnabled(
False)
877 self.label_14.setGeometry(QtCore.QRect(280, 40, 21, 31))
878 self.label_14.setObjectName(
"label_14")
880 self.lineEdit_rd_winding_ambient_temperature.setEnabled(
False)
881 self.lineEdit_rd_winding_ambient_temperature.setGeometry(QtCore.QRect(310, 40, 70, 27))
882 self.lineEdit_rd_winding_ambient_temperature.setObjectName(
"lineEdit_rd_winding_ambient_temperature")
884 self.line_34.setGeometry(QtCore.QRect(0, 120, 441, 16))
885 self.line_34.setFrameShape(QtWidgets.QFrame.HLine)
886 self.line_34.setFrameShadow(QtWidgets.QFrame.Sunken)
887 self.line_34.setObjectName(
"line_34")
889 self.line_35.setGeometry(QtCore.QRect(0, 210, 441, 16))
890 self.line_35.setFrameShape(QtWidgets.QFrame.HLine)
891 self.line_35.setFrameShadow(QtWidgets.QFrame.Sunken)
892 self.line_35.setObjectName(
"line_35")
894 self.addButton_c_ee_rd.setGeometry(QtCore.QRect(930, 650, 125, 50))
895 self.addButton_c_ee_rd.setObjectName(
"addButton_c_ee_rd")
897 self.lineEdit_c_rd_warning_box.setGeometry(QtCore.QRect(15, 640, 330, 70))
898 self.lineEdit_c_rd_warning_box.setReadOnly(
True)
899 self.lineEdit_c_rd_warning_box.setObjectName(
"lineEdit_c_rd_warning_box")
901 self.groupBox_rd_lambda_p.setGeometry(QtCore.QRect(455, 640, 231, 70))
902 self.groupBox_rd_lambda_p.setObjectName(
"groupBox_rd_lambda_p")
904 self.lineEdit_rd_lamda_p.setGeometry(QtCore.QRect(0, 30, 200, 27))
905 self.lineEdit_rd_lamda_p.setReadOnly(
True)
906 self.lineEdit_rd_lamda_p.setObjectName(
"lineEdit_rd_lamda_p")
908 self.line_13.setGeometry(QtCore.QRect(510, 30, 20, 441))
909 self.line_13.setFrameShape(QtWidgets.QFrame.VLine)
910 self.line_13.setFrameShadow(QtWidgets.QFrame.Sunken)
911 self.line_13.setObjectName(
"line_13")
912 self.tabWidget_electrical_equipments.addTab(self.
tab_rd,
"")
914 self.tab_rel.setObjectName(
"tab_rel")
916 self.groupBox_18.setGeometry(QtCore.QRect(90, 40, 431, 511))
917 self.groupBox_18.setTitle(
"")
918 self.groupBox_18.setObjectName(
"groupBox_18")
920 self.comboBox_rel_ambient_temperature.setGeometry(QtCore.QRect(230, 0, 70, 27))
921 self.comboBox_rel_ambient_temperature.setCurrentText(
"")
922 self.comboBox_rel_ambient_temperature.setObjectName(
"comboBox_rel_ambient_temperature")
924 self.label_rel_ambient_temperature.setGeometry(QtCore.QRect(30, 0, 191, 21))
925 self.label_rel_ambient_temperature.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
926 self.label_rel_ambient_temperature.setWordWrap(
True)
927 self.label_rel_ambient_temperature.setObjectName(
"label_rel_ambient_temperature")
929 self.comboBox_rel_stress.setGeometry(QtCore.QRect(230, 80, 70, 27))
930 self.comboBox_rel_stress.setCurrentText(
"")
931 self.comboBox_rel_stress.setObjectName(
"comboBox_rel_stress")
933 self.label_rel_stress.setGeometry(QtCore.QRect(90, 70, 131, 41))
934 self.label_rel_stress.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
935 self.label_rel_stress.setWordWrap(
True)
936 self.label_rel_stress.setObjectName(
"label_rel_stress")
938 self.comboBox_rel_environment.setGeometry(QtCore.QRect(230, 320, 191, 27))
939 self.comboBox_rel_environment.setCurrentText(
"")
940 self.comboBox_rel_environment.setObjectName(
"comboBox_rel_environment")
942 self.label_rel_environment.setGeometry(QtCore.QRect(90, 310, 131, 41))
943 self.label_rel_environment.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
944 self.label_rel_environment.setWordWrap(
True)
945 self.label_rel_environment.setObjectName(
"label_rel_environment")
947 self.label_rel_quality.setGeometry(QtCore.QRect(90, 280, 131, 41))
948 self.label_rel_quality.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
949 self.label_rel_quality.setWordWrap(
True)
950 self.label_rel_quality.setObjectName(
"label_rel_quality")
952 self.comboBox_rel_quality.setGeometry(QtCore.QRect(230, 290, 191, 27))
953 self.comboBox_rel_quality.setCurrentText(
"")
954 self.comboBox_rel_quality.setObjectName(
"comboBox_rel_quality")
956 self.comboBox_rel_rated_temperature.setGeometry(QtCore.QRect(230, 30, 191, 27))
957 self.comboBox_rel_rated_temperature.setCurrentText(
"")
958 self.comboBox_rel_rated_temperature.setObjectName(
"comboBox_rel_rated_temperature")
960 self.label_rel_rated_temperature.setGeometry(QtCore.QRect(60, 30, 161, 21))
961 self.label_rel_rated_temperature.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
962 self.label_rel_rated_temperature.setWordWrap(
True)
963 self.label_rel_rated_temperature.setObjectName(
"label_rel_rated_temperature")
965 self.label_rel_load_type.setGeometry(QtCore.QRect(90, 100, 131, 41))
966 self.label_rel_load_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
967 self.label_rel_load_type.setWordWrap(
True)
968 self.label_rel_load_type.setObjectName(
"label_rel_load_type")
970 self.comboBox_rel_load_type.setGeometry(QtCore.QRect(230, 110, 191, 27))
971 self.comboBox_rel_load_type.setCurrentText(
"")
972 self.comboBox_rel_load_type.setObjectName(
"comboBox_rel_load_type")
974 self.comboBox_rel_contact_form.setGeometry(QtCore.QRect(230, 160, 191, 27))
975 self.comboBox_rel_contact_form.setCurrentText(
"")
976 self.comboBox_rel_contact_form.setObjectName(
"comboBox_rel_contact_form")
978 self.label_rel_contact_form.setGeometry(QtCore.QRect(90, 150, 131, 41))
979 self.label_rel_contact_form.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
980 self.label_rel_contact_form.setWordWrap(
True)
981 self.label_rel_contact_form.setObjectName(
"label_rel_contact_form")
983 self.label_rel_cycle_rate.setGeometry(QtCore.QRect(90, 200, 131, 41))
984 self.label_rel_cycle_rate.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
985 self.label_rel_cycle_rate.setWordWrap(
True)
986 self.label_rel_cycle_rate.setObjectName(
"label_rel_cycle_rate")
988 self.comboBox_rel_cycle_rate.setGeometry(QtCore.QRect(230, 210, 191, 27))
989 self.comboBox_rel_cycle_rate.setCurrentText(
"")
990 self.comboBox_rel_cycle_rate.setObjectName(
"comboBox_rel_cycle_rate")
992 self.comboBox_rel_contact_rating.setGeometry(QtCore.QRect(230, 370, 191, 27))
993 self.comboBox_rel_contact_rating.setCurrentText(
"")
994 self.comboBox_rel_contact_rating.setObjectName(
"comboBox_rel_contact_rating")
996 self.label_rel_contact_rating.setGeometry(QtCore.QRect(90, 360, 131, 41))
997 self.label_rel_contact_rating.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
998 self.label_rel_contact_rating.setWordWrap(
True)
999 self.label_rel_contact_rating.setObjectName(
"label_rel_contact_rating")
1001 self.comboBox_rel_application_type.setGeometry(QtCore.QRect(230, 400, 191, 27))
1002 self.comboBox_rel_application_type.setCurrentText(
"")
1003 self.comboBox_rel_application_type.setObjectName(
"comboBox_rel_application_type")
1005 self.label_rel_application_type.setGeometry(QtCore.QRect(90, 390, 131, 41))
1006 self.label_rel_application_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1007 self.label_rel_application_type.setWordWrap(
True)
1008 self.label_rel_application_type.setObjectName(
"label_rel_application_type")
1010 self.comboBox_rel_construction_type.setGeometry(QtCore.QRect(230, 430, 191, 27))
1011 self.comboBox_rel_construction_type.setCurrentText(
"")
1012 self.comboBox_rel_construction_type.setObjectName(
"comboBox_rel_construction_type")
1014 self.label_rel_construction_type.setGeometry(QtCore.QRect(90, 420, 131, 41))
1015 self.label_rel_construction_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1016 self.label_rel_construction_type.setWordWrap(
True)
1017 self.label_rel_construction_type.setObjectName(
"label_rel_construction_type")
1019 self.label_28.setEnabled(
False)
1020 self.label_28.setGeometry(QtCore.QRect(310, 0, 21, 31))
1021 self.label_28.setObjectName(
"label_28")
1023 self.lineEdit_rel_ambient_temperature.setEnabled(
False)
1024 self.lineEdit_rel_ambient_temperature.setGeometry(QtCore.QRect(340, 0, 70, 27))
1025 self.lineEdit_rel_ambient_temperature.setDragEnabled(
False)
1026 self.lineEdit_rel_ambient_temperature.setObjectName(
"lineEdit_rel_ambient_temperature")
1028 self.label_29.setEnabled(
False)
1029 self.label_29.setGeometry(QtCore.QRect(310, 80, 21, 31))
1030 self.label_29.setObjectName(
"label_29")
1032 self.lineEdit_rel_stress.setEnabled(
False)
1033 self.lineEdit_rel_stress.setGeometry(QtCore.QRect(340, 80, 70, 27))
1034 self.lineEdit_rel_stress.setDragEnabled(
False)
1035 self.lineEdit_rel_stress.setObjectName(
"lineEdit_rel_stress")
1037 self.lineEdit_rel_cycle_rate.setEnabled(
False)
1038 self.lineEdit_rel_cycle_rate.setGeometry(QtCore.QRect(230, 240, 70, 27))
1039 self.lineEdit_rel_cycle_rate.setDragEnabled(
False)
1040 self.lineEdit_rel_cycle_rate.setObjectName(
"lineEdit_rel_cycle_rate")
1042 self.label_rel_cycle_rate_2.setEnabled(
False)
1043 self.label_rel_cycle_rate_2.setGeometry(QtCore.QRect(90, 230, 131, 41))
1044 self.label_rel_cycle_rate_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1045 self.label_rel_cycle_rate_2.setWordWrap(
True)
1046 self.label_rel_cycle_rate_2.setObjectName(
"label_rel_cycle_rate_2")
1048 self.groupBox_19.setGeometry(QtCore.QRect(570, 50, 301, 471))
1049 self.groupBox_19.setTitle(
"")
1050 self.groupBox_19.setObjectName(
"groupBox_19")
1052 self.lineEdit_rel_lambda_b.setGeometry(QtCore.QRect(180, 20, 113, 27))
1053 self.lineEdit_rel_lambda_b.setReadOnly(
True)
1054 self.lineEdit_rel_lambda_b.setObjectName(
"lineEdit_rel_lambda_b")
1056 self.label_rel_lambda_b.setGeometry(QtCore.QRect(20, 20, 151, 31))
1057 self.label_rel_lambda_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1058 self.label_rel_lambda_b.setObjectName(
"label_rel_lambda_b")
1060 self.label_rel_pi_e.setGeometry(QtCore.QRect(0, 310, 171, 31))
1061 self.label_rel_pi_e.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1062 self.label_rel_pi_e.setObjectName(
"label_rel_pi_e")
1064 self.lineEdit_rel_pi_e.setGeometry(QtCore.QRect(180, 310, 113, 27))
1065 self.lineEdit_rel_pi_e.setText(
"")
1066 self.lineEdit_rel_pi_e.setReadOnly(
True)
1067 self.lineEdit_rel_pi_e.setObjectName(
"lineEdit_rel_pi_e")
1069 self.label_rel_pi_q.setGeometry(QtCore.QRect(0, 280, 171, 31))
1070 self.label_rel_pi_q.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1071 self.label_rel_pi_q.setObjectName(
"label_rel_pi_q")
1073 self.lineEdit_rel_pi_q.setGeometry(QtCore.QRect(180, 280, 113, 27))
1074 self.lineEdit_rel_pi_q.setText(
"")
1075 self.lineEdit_rel_pi_q.setReadOnly(
True)
1076 self.lineEdit_rel_pi_q.setObjectName(
"lineEdit_rel_pi_q")
1078 self.lineEdit_rel_pi_l.setGeometry(QtCore.QRect(180, 100, 113, 27))
1079 self.lineEdit_rel_pi_l.setReadOnly(
True)
1080 self.lineEdit_rel_pi_l.setObjectName(
"lineEdit_rel_pi_l")
1082 self.label_rel_pi_l.setGeometry(QtCore.QRect(10, 100, 161, 31))
1083 self.label_rel_pi_l.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1084 self.label_rel_pi_l.setObjectName(
"label_rel_pi_l")
1086 self.lineEdit_rel_pi_c.setGeometry(QtCore.QRect(180, 150, 113, 27))
1087 self.lineEdit_rel_pi_c.setReadOnly(
True)
1088 self.lineEdit_rel_pi_c.setObjectName(
"lineEdit_rel_pi_c")
1090 self.label_rel_pi_c.setGeometry(QtCore.QRect(0, 150, 171, 31))
1091 self.label_rel_pi_c.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1092 self.label_rel_pi_c.setObjectName(
"label_rel_pi_c")
1094 self.label_rel_pi_cyc.setGeometry(QtCore.QRect(0, 200, 171, 31))
1095 self.label_rel_pi_cyc.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1096 self.label_rel_pi_cyc.setObjectName(
"label_rel_pi_cyc")
1098 self.lineEdit_rel_pi_cyc.setGeometry(QtCore.QRect(180, 200, 113, 27))
1099 self.lineEdit_rel_pi_cyc.setReadOnly(
True)
1100 self.lineEdit_rel_pi_cyc.setObjectName(
"lineEdit_rel_pi_cyc")
1102 self.label_rel_pi_f.setGeometry(QtCore.QRect(0, 420, 171, 31))
1103 self.label_rel_pi_f.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1104 self.label_rel_pi_f.setObjectName(
"label_rel_pi_f")
1106 self.lineEdit_rel_pi_f.setGeometry(QtCore.QRect(180, 420, 113, 27))
1107 self.lineEdit_rel_pi_f.setText(
"")
1108 self.lineEdit_rel_pi_f.setReadOnly(
True)
1109 self.lineEdit_rel_pi_f.setObjectName(
"lineEdit_rel_pi_f")
1111 self.lineEdit_c_rel_warning_box.setGeometry(QtCore.QRect(15, 640, 330, 70))
1112 self.lineEdit_c_rel_warning_box.setReadOnly(
True)
1113 self.lineEdit_c_rel_warning_box.setObjectName(
"lineEdit_c_rel_warning_box")
1115 self.groupBox_rel_lambda_p.setGeometry(QtCore.QRect(455, 640, 231, 70))
1116 self.groupBox_rel_lambda_p.setObjectName(
"groupBox_rel_lambda_p")
1118 self.lineEdit_rel_lamda_p.setGeometry(QtCore.QRect(0, 30, 200, 27))
1119 self.lineEdit_rel_lamda_p.setReadOnly(
True)
1120 self.lineEdit_rel_lamda_p.setObjectName(
"lineEdit_rel_lamda_p")
1122 self.addButton_c_ee_rel.setGeometry(QtCore.QRect(930, 650, 125, 50))
1123 self.addButton_c_ee_rel.setObjectName(
"addButton_c_ee_rel")
1124 self.tabWidget_electrical_equipments.addTab(self.
tab_rel,
"")
1126 self.tab_con_gen.setObjectName(
"tab_con_gen")
1128 self.groupBox_20.setGeometry(QtCore.QRect(90, 50, 421, 231))
1129 self.groupBox_20.setTitle(
"")
1130 self.groupBox_20.setObjectName(
"groupBox_20")
1132 self.comboBox_con_gen_description.setGeometry(QtCore.QRect(220, 0, 191, 27))
1133 self.comboBox_con_gen_description.setCurrentText(
"")
1134 self.comboBox_con_gen_description.setObjectName(
"comboBox_con_gen_description")
1136 self.label_con_gen_description.setGeometry(QtCore.QRect(80, 0, 131, 31))
1137 self.label_con_gen_description.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1138 self.label_con_gen_description.setWordWrap(
True)
1139 self.label_con_gen_description.setObjectName(
"label_con_gen_description")
1141 self.comboBox_con_gen_environment.setGeometry(QtCore.QRect(220, 120, 191, 27))
1142 self.comboBox_con_gen_environment.setCurrentText(
"")
1143 self.comboBox_con_gen_environment.setObjectName(
"comboBox_con_gen_environment")
1145 self.label_c.setGeometry(QtCore.QRect(80, 120, 131, 31))
1146 self.label_c.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1147 self.label_c.setWordWrap(
True)
1148 self.label_c.setObjectName(
"label_c")
1150 self.label_con_gen_quality.setGeometry(QtCore.QRect(80, 90, 131, 21))
1151 self.label_con_gen_quality.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1152 self.label_con_gen_quality.setWordWrap(
True)
1153 self.label_con_gen_quality.setObjectName(
"label_con_gen_quality")
1155 self.comboBox_con_gen_quality.setGeometry(QtCore.QRect(220, 90, 191, 27))
1156 self.comboBox_con_gen_quality.setCurrentText(
"")
1157 self.comboBox_con_gen_quality.setObjectName(
"comboBox_con_gen_quality")
1159 self.comboBox_con_gen_t0.setGeometry(QtCore.QRect(220, 30, 70, 27))
1160 self.comboBox_con_gen_t0.setCurrentText(
"")
1161 self.comboBox_con_gen_t0.setObjectName(
"comboBox_con_gen_t0")
1163 self.label_con_gen_t0.setGeometry(QtCore.QRect(80, 30, 131, 31))
1164 self.label_con_gen_t0.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1165 self.label_con_gen_t0.setWordWrap(
True)
1166 self.label_con_gen_t0.setObjectName(
"label_con_gen_t0")
1168 self.label_con_gen_cycles.setGeometry(QtCore.QRect(30, 50, 181, 41))
1169 self.label_con_gen_cycles.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1170 self.label_con_gen_cycles.setWordWrap(
True)
1171 self.label_con_gen_cycles.setObjectName(
"label_con_gen_cycles")
1173 self.comboBox_con_gen_cycles.setGeometry(QtCore.QRect(220, 60, 191, 27))
1174 self.comboBox_con_gen_cycles.setCurrentText(
"")
1175 self.comboBox_con_gen_cycles.setObjectName(
"comboBox_con_gen_cycles")
1177 self.lineEdit_con_gen_t0.setEnabled(
False)
1178 self.lineEdit_con_gen_t0.setGeometry(QtCore.QRect(330, 30, 70, 27))
1179 self.lineEdit_con_gen_t0.setDragEnabled(
False)
1180 self.lineEdit_con_gen_t0.setObjectName(
"lineEdit_con_gen_t0")
1182 self.label_17.setEnabled(
False)
1183 self.label_17.setGeometry(QtCore.QRect(300, 30, 21, 31))
1184 self.label_17.setObjectName(
"label_17")
1186 self.groupBox_21.setGeometry(QtCore.QRect(540, 50, 361, 161))
1187 self.groupBox_21.setTitle(
"")
1188 self.groupBox_21.setObjectName(
"groupBox_21")
1190 self.lineEdit_con_gen_lambda_b.setGeometry(QtCore.QRect(220, 0, 113, 27))
1191 self.lineEdit_con_gen_lambda_b.setReadOnly(
True)
1192 self.lineEdit_con_gen_lambda_b.setObjectName(
"lineEdit_con_gen_lambda_b")
1194 self.label_con_gen_lambda_b.setGeometry(QtCore.QRect(60, 0, 151, 31))
1195 self.label_con_gen_lambda_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1196 self.label_con_gen_lambda_b.setObjectName(
"label_con_gen_lambda_b")
1198 self.label_con_gen_pi_e.setGeometry(QtCore.QRect(40, 120, 171, 21))
1199 self.label_con_gen_pi_e.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1200 self.label_con_gen_pi_e.setObjectName(
"label_con_gen_pi_e")
1202 self.lineEdit_con_gen_pi_e.setGeometry(QtCore.QRect(220, 120, 113, 27))
1203 self.lineEdit_con_gen_pi_e.setText(
"")
1204 self.lineEdit_con_gen_pi_e.setReadOnly(
True)
1205 self.lineEdit_con_gen_pi_e.setObjectName(
"lineEdit_con_gen_pi_e")
1207 self.label_con_gen_pi_q.setGeometry(QtCore.QRect(40, 90, 171, 21))
1208 self.label_con_gen_pi_q.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1209 self.label_con_gen_pi_q.setObjectName(
"label_con_gen_pi_q")
1211 self.lineEdit_con_gen_pi_q.setGeometry(QtCore.QRect(220, 90, 113, 27))
1212 self.lineEdit_con_gen_pi_q.setText(
"")
1213 self.lineEdit_con_gen_pi_q.setReadOnly(
True)
1214 self.lineEdit_con_gen_pi_q.setObjectName(
"lineEdit_con_gen_pi_q")
1216 self.lineEdit_con_gen_pi_t.setGeometry(QtCore.QRect(220, 30, 113, 27))
1217 self.lineEdit_con_gen_pi_t.setReadOnly(
True)
1218 self.lineEdit_con_gen_pi_t.setObjectName(
"lineEdit_con_gen_pi_t")
1220 self.label_con_gen_pi_t.setGeometry(QtCore.QRect(30, 30, 181, 31))
1221 self.label_con_gen_pi_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1222 self.label_con_gen_pi_t.setObjectName(
"label_con_gen_pi_t")
1224 self.label_con_gen_pi_k.setGeometry(QtCore.QRect(-10, 60, 221, 31))
1225 self.label_con_gen_pi_k.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1226 self.label_con_gen_pi_k.setWordWrap(
True)
1227 self.label_con_gen_pi_k.setObjectName(
"label_con_gen_pi_k")
1229 self.lineEdit_con_gen_pi_k.setGeometry(QtCore.QRect(220, 60, 113, 27))
1230 self.lineEdit_con_gen_pi_k.setReadOnly(
True)
1231 self.lineEdit_con_gen_pi_k.setObjectName(
"lineEdit_con_gen_pi_k")
1233 self.lineEdit_c_con_gen_warning_box.setGeometry(QtCore.QRect(15, 640, 330, 70))
1234 self.lineEdit_c_con_gen_warning_box.setReadOnly(
True)
1235 self.lineEdit_c_con_gen_warning_box.setObjectName(
"lineEdit_c_con_gen_warning_box")
1237 self.groupBox_con_gen_lambda_p.setGeometry(QtCore.QRect(455, 640, 271, 70))
1238 self.groupBox_con_gen_lambda_p.setObjectName(
"groupBox_con_gen_lambda_p")
1240 self.lineEdit_con_gen_lamda_p.setGeometry(QtCore.QRect(0, 30, 200, 27))
1241 self.lineEdit_con_gen_lamda_p.setReadOnly(
True)
1242 self.lineEdit_con_gen_lamda_p.setObjectName(
"lineEdit_con_gen_lamda_p")
1244 self.addButton_c_ee_con_gen.setGeometry(QtCore.QRect(930, 650, 125, 50))
1245 self.addButton_c_ee_con_gen.setObjectName(
"addButton_c_ee_con_gen")
1246 self.tabWidget_electrical_equipments.addTab(self.
tab_con_gen,
"")
1248 self.tab_con_sock.setObjectName(
"tab_con_sock")
1250 self.groupBox_22.setGeometry(QtCore.QRect(570, 50, 381, 131))
1251 self.groupBox_22.setTitle(
"")
1252 self.groupBox_22.setObjectName(
"groupBox_22")
1254 self.lineEdit_con_sock_lambda_b.setGeometry(QtCore.QRect(190, 0, 113, 27))
1255 self.lineEdit_con_sock_lambda_b.setReadOnly(
True)
1256 self.lineEdit_con_sock_lambda_b.setObjectName(
"lineEdit_con_sock_lambda_b")
1258 self.label_con_sock_lambda_b.setGeometry(QtCore.QRect(30, 0, 151, 31))
1259 self.label_con_sock_lambda_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1260 self.label_con_sock_lambda_b.setObjectName(
"label_con_sock_lambda_b")
1262 self.label_con_sock_pi_e.setGeometry(QtCore.QRect(10, 90, 171, 31))
1263 self.label_con_sock_pi_e.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1264 self.label_con_sock_pi_e.setObjectName(
"label_con_sock_pi_e")
1266 self.lineEdit_con_sock_pi_e.setGeometry(QtCore.QRect(190, 90, 113, 27))
1267 self.lineEdit_con_sock_pi_e.setText(
"")
1268 self.lineEdit_con_sock_pi_e.setReadOnly(
True)
1269 self.lineEdit_con_sock_pi_e.setObjectName(
"lineEdit_con_sock_pi_e")
1271 self.label_con_sock_pi_q.setGeometry(QtCore.QRect(10, 30, 171, 31))
1272 self.label_con_sock_pi_q.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1273 self.label_con_sock_pi_q.setObjectName(
"label_con_sock_pi_q")
1275 self.lineEdit_con_sock_pi_q.setGeometry(QtCore.QRect(190, 30, 113, 27))
1276 self.lineEdit_con_sock_pi_q.setText(
"")
1277 self.lineEdit_con_sock_pi_q.setReadOnly(
True)
1278 self.lineEdit_con_sock_pi_q.setObjectName(
"lineEdit_con_sock_pi_q")
1280 self.lineEdit_con_sock_pi_p.setGeometry(QtCore.QRect(190, 60, 113, 27))
1281 self.lineEdit_con_sock_pi_p.setReadOnly(
True)
1282 self.lineEdit_con_sock_pi_p.setObjectName(
"lineEdit_con_sock_pi_p")
1284 self.label_con_sock_pi_p.setGeometry(QtCore.QRect(0, 60, 181, 31))
1285 self.label_con_sock_pi_p.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1286 self.label_con_sock_pi_p.setObjectName(
"label_con_sock_pi_p")
1288 self.groupBox_23.setGeometry(QtCore.QRect(90, 50, 441, 131))
1289 self.groupBox_23.setTitle(
"")
1290 self.groupBox_23.setObjectName(
"groupBox_23")
1292 self.comboBox_con_sock_description.setGeometry(QtCore.QRect(220, 0, 191, 27))
1293 self.comboBox_con_sock_description.setCurrentText(
"")
1294 self.comboBox_con_sock_description.setObjectName(
"comboBox_con_sock_description")
1296 self.label_con_sock_description.setGeometry(QtCore.QRect(80, 0, 131, 31))
1297 self.label_con_sock_description.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1298 self.label_con_sock_description.setWordWrap(
True)
1299 self.label_con_sock_description.setObjectName(
"label_con_sock_description")
1301 self.comboBox_con_sock_environment.setGeometry(QtCore.QRect(220, 90, 191, 27))
1302 self.comboBox_con_sock_environment.setCurrentText(
"")
1303 self.comboBox_con_sock_environment.setObjectName(
"comboBox_con_sock_environment")
1305 self.label_con_sock_environment.setGeometry(QtCore.QRect(80, 80, 131, 41))
1306 self.label_con_sock_environment.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1307 self.label_con_sock_environment.setWordWrap(
True)
1308 self.label_con_sock_environment.setObjectName(
"label_con_sock_environment")
1310 self.label_con_sock_quality.setGeometry(QtCore.QRect(80, 30, 131, 31))
1311 self.label_con_sock_quality.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1312 self.label_con_sock_quality.setWordWrap(
True)
1313 self.label_con_sock_quality.setObjectName(
"label_con_sock_quality")
1315 self.comboBox_con_sock_quality.setGeometry(QtCore.QRect(220, 30, 191, 27))
1316 self.comboBox_con_sock_quality.setCurrentText(
"")
1317 self.comboBox_con_sock_quality.setObjectName(
"comboBox_con_sock_quality")
1319 self.comboBox_con_sock_numb_of_active_contacts.setGeometry(QtCore.QRect(220, 60, 70, 27))
1320 self.comboBox_con_sock_numb_of_active_contacts.setCurrentText(
"")
1321 self.comboBox_con_sock_numb_of_active_contacts.setObjectName(
"comboBox_con_sock_numb_of_active_contacts")
1323 self.label_con_sock_numb_of_active_coils.setGeometry(QtCore.QRect(50, 60, 161, 31))
1324 self.label_con_sock_numb_of_active_coils.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1325 self.label_con_sock_numb_of_active_coils.setWordWrap(
True)
1326 self.label_con_sock_numb_of_active_coils.setObjectName(
"label_con_sock_numb_of_active_coils")
1328 self.label_16.setEnabled(
False)
1329 self.label_16.setGeometry(QtCore.QRect(300, 60, 21, 31))
1330 self.label_16.setObjectName(
"label_16")
1332 self.lineEdit_con_sock_numb_of_active_contacts.setEnabled(
False)
1333 self.lineEdit_con_sock_numb_of_active_contacts.setGeometry(QtCore.QRect(330, 60, 70, 27))
1334 self.lineEdit_con_sock_numb_of_active_contacts.setDragEnabled(
False)
1335 self.lineEdit_con_sock_numb_of_active_contacts.setObjectName(
"lineEdit_con_sock_numb_of_active_contacts")
1337 self.lineEdit_c_con_sock_warning_box.setGeometry(QtCore.QRect(15, 640, 330, 70))
1338 self.lineEdit_c_con_sock_warning_box.setReadOnly(
True)
1339 self.lineEdit_c_con_sock_warning_box.setObjectName(
"lineEdit_c_con_sock_warning_box")
1341 self.groupBox_con_sock_lambda_p.setGeometry(QtCore.QRect(455, 640, 231, 70))
1342 self.groupBox_con_sock_lambda_p.setObjectName(
"groupBox_con_sock_lambda_p")
1344 self.lineEdit_con_sock_lamda_p.setGeometry(QtCore.QRect(0, 30, 200, 27))
1345 self.lineEdit_con_sock_lamda_p.setReadOnly(
True)
1346 self.lineEdit_con_sock_lamda_p.setObjectName(
"lineEdit_con_sock_lamda_p")
1348 self.addButton_c_ee_con_sock.setGeometry(QtCore.QRect(930, 650, 125, 50))
1349 self.addButton_c_ee_con_sock.setObjectName(
"addButton_c_ee_con_sock")
1350 self.tabWidget_electrical_equipments.addTab(self.
tab_con_sock,
"")
1352 self.tab_qrtz.setObjectName(
"tab_qrtz")
1354 self.groupBox_24.setGeometry(QtCore.QRect(90, 50, 441, 131))
1355 self.groupBox_24.setTitle(
"")
1356 self.groupBox_24.setObjectName(
"groupBox_24")
1358 self.comboBox_qrtz_frequency.setGeometry(QtCore.QRect(220, 0, 70, 27))
1359 self.comboBox_qrtz_frequency.setCurrentText(
"")
1360 self.comboBox_qrtz_frequency.setObjectName(
"comboBox_qrtz_frequency")
1362 self.label_qrtz_frequency.setGeometry(QtCore.QRect(60, 0, 151, 31))
1363 self.label_qrtz_frequency.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1364 self.label_qrtz_frequency.setWordWrap(
True)
1365 self.label_qrtz_frequency.setObjectName(
"label_qrtz_frequency")
1367 self.comboBox_qrtz_environment.setGeometry(QtCore.QRect(220, 60, 191, 27))
1368 self.comboBox_qrtz_environment.setCurrentText(
"")
1369 self.comboBox_qrtz_environment.setObjectName(
"comboBox_qrtz_environment")
1371 self.label_qrtz_environment.setGeometry(QtCore.QRect(80, 50, 131, 41))
1372 self.label_qrtz_environment.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1373 self.label_qrtz_environment.setWordWrap(
True)
1374 self.label_qrtz_environment.setObjectName(
"label_qrtz_environment")
1376 self.label_qrtz_quality.setGeometry(QtCore.QRect(80, 30, 131, 31))
1377 self.label_qrtz_quality.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1378 self.label_qrtz_quality.setWordWrap(
True)
1379 self.label_qrtz_quality.setObjectName(
"label_qrtz_quality")
1381 self.comboBox_qrtz_quality.setGeometry(QtCore.QRect(220, 30, 191, 27))
1382 self.comboBox_qrtz_quality.setCurrentText(
"")
1383 self.comboBox_qrtz_quality.setObjectName(
"comboBox_qrtz_quality")
1385 self.label_15.setEnabled(
False)
1386 self.label_15.setGeometry(QtCore.QRect(300, 0, 21, 31))
1387 self.label_15.setObjectName(
"label_15")
1389 self.lineEdit_qrtz_frequency.setEnabled(
False)
1390 self.lineEdit_qrtz_frequency.setGeometry(QtCore.QRect(330, 0, 70, 27))
1391 self.lineEdit_qrtz_frequency.setDragEnabled(
False)
1392 self.lineEdit_qrtz_frequency.setObjectName(
"lineEdit_qrtz_frequency")
1394 self.groupBox_25.setGeometry(QtCore.QRect(570, 50, 381, 131))
1395 self.groupBox_25.setTitle(
"")
1396 self.groupBox_25.setObjectName(
"groupBox_25")
1398 self.lineEdit_qrtz_lambda_b.setGeometry(QtCore.QRect(190, 0, 113, 27))
1399 self.lineEdit_qrtz_lambda_b.setReadOnly(
True)
1400 self.lineEdit_qrtz_lambda_b.setObjectName(
"lineEdit_qrtz_lambda_b")
1402 self.label_qrtz_lambda_b.setGeometry(QtCore.QRect(30, 0, 151, 31))
1403 self.label_qrtz_lambda_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1404 self.label_qrtz_lambda_b.setObjectName(
"label_qrtz_lambda_b")
1406 self.label_qrtz_pi_e.setGeometry(QtCore.QRect(10, 60, 171, 31))
1407 self.label_qrtz_pi_e.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1408 self.label_qrtz_pi_e.setObjectName(
"label_qrtz_pi_e")
1410 self.lineEdit_qrtz_pi_e.setGeometry(QtCore.QRect(190, 60, 113, 27))
1411 self.lineEdit_qrtz_pi_e.setText(
"")
1412 self.lineEdit_qrtz_pi_e.setReadOnly(
True)
1413 self.lineEdit_qrtz_pi_e.setObjectName(
"lineEdit_qrtz_pi_e")
1415 self.label_qrtz_pi_q.setGeometry(QtCore.QRect(10, 30, 171, 31))
1416 self.label_qrtz_pi_q.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1417 self.label_qrtz_pi_q.setObjectName(
"label_qrtz_pi_q")
1419 self.lineEdit_qrtz_pi_q.setGeometry(QtCore.QRect(190, 30, 113, 27))
1420 self.lineEdit_qrtz_pi_q.setText(
"")
1421 self.lineEdit_qrtz_pi_q.setReadOnly(
True)
1422 self.lineEdit_qrtz_pi_q.setObjectName(
"lineEdit_qrtz_pi_q")
1424 self.lineEdit_c_qrtz_warning_box.setGeometry(QtCore.QRect(15, 640, 330, 70))
1425 self.lineEdit_c_qrtz_warning_box.setReadOnly(
True)
1426 self.lineEdit_c_qrtz_warning_box.setObjectName(
"lineEdit_c_qrtz_warning_box")
1428 self.groupBox_qrtz_lambda_p.setGeometry(QtCore.QRect(455, 640, 231, 70))
1429 self.groupBox_qrtz_lambda_p.setObjectName(
"groupBox_qrtz_lambda_p")
1431 self.lineEdit_qrtz_lamda_p.setGeometry(QtCore.QRect(0, 30, 200, 27))
1432 self.lineEdit_qrtz_lamda_p.setReadOnly(
True)
1433 self.lineEdit_qrtz_lamda_p.setObjectName(
"lineEdit_qrtz_lamda_p")
1435 self.addButton_c_ee_qrtz.setGeometry(QtCore.QRect(930, 650, 125, 50))
1436 self.addButton_c_ee_qrtz.setObjectName(
"addButton_c_ee_qrtz")
1437 self.tabWidget_electrical_equipments.addTab(self.
tab_qrtz,
"")
1440 self.menubar.setGeometry(QtCore.QRect(0, 0, 1100, 25))
1441 self.menubar.setObjectName(
"menubar")
1442 MainWindow.setMenuBar(self.
menubar)
1444 self.statusbar.setObjectName(
"statusbar")
1454 self.tabWidget_electrical_equipments.setCurrentIndex(0)
1455 QtCore.QMetaObject.connectSlotsByName(MainWindow)
1459 Retranslate Ui Function 1461 _translate = QtCore.QCoreApplication.translate
1462 MainWindow.setWindowTitle(_translate(
"MainWindow",
"Electrical Equipments"))
1463 self.groupBox_cc_lambda_p.setTitle(_translate(
"MainWindow",
"Capacitor failure rate - λp"))
1464 self.label_cc_quality.setText(_translate(
"MainWindow",
"Quality:"))
1465 self.label_cc_capacitance_value.setText(_translate(
"MainWindow",
"Capacitance value:"))
1466 self.label_cc_t.setText(_translate(
"MainWindow",
"Capacitor Temperature - T:"))
1467 self.label_cc_circuit_resistance.setText(_translate(
"MainWindow",
"Circuit resistance:"))
1468 self.label_cc_environment.setText(_translate(
"MainWindow",
"Environment:"))
1469 self.label_cc_voltage_stress.setText(_translate(
"MainWindow",
"Voltage stress:"))
1470 self.label_cc_capacitor_style.setText(_translate(
"MainWindow",
"capacitor style:"))
1471 self.label_cc_pi_sr.setText(_translate(
"MainWindow",
"Series resistance factor - πSR :"))
1472 self.label_cc_pi_c.setText(_translate(
"MainWindow",
"Capacitance factor - πC :"))
1473 self.label_cc_pi_e.setText(_translate(
"MainWindow",
"Environment factor - πE :"))
1474 self.label_cc_pi_t.setText(_translate(
"MainWindow",
"Temperature factor - πT :"))
1475 self.label_cc_lambda_b.setText(_translate(
"MainWindow",
"Base failure rate - λb :"))
1476 self.label_cc_pi_q.setText(_translate(
"MainWindow",
"Quality factor - πQ :"))
1477 self.label_cc_pi_v.setText(_translate(
"MainWindow",
"Voltage stress factor - πV :"))
1478 self.addButton_c_ee_capacitor.setText(_translate(
"MainWindow",
"Add Equipment"))
1479 self.tabWidget_electrical_equipments.setTabText(self.tabWidget_electrical_equipments.indexOf(self.
tab_capacitor), _translate(
"MainWindow",
"Capacitor"))
1480 self.groupBox_dd_lambda_p.setTitle(_translate(
"MainWindow",
"Diode failure rate - λp"))
1481 self.label_dd_voltage_stress.setText(_translate(
"MainWindow",
"Voltage stress:"))
1482 self.label_dd_diode_type.setText(_translate(
"MainWindow",
"Diode Type / Application:"))
1483 self.label_dd_contact_construction.setText(_translate(
"MainWindow",
"Contact construction:"))
1484 self.label_dd_quality.setText(_translate(
"MainWindow",
"Quality:"))
1485 self.label_dd_junction_temperature.setText(_translate(
"MainWindow",
"Junction temperature:"))
1486 self.label_dd_environment.setText(_translate(
"MainWindow",
"Environment"))
1487 self.label_dd_pi_s.setText(_translate(
"MainWindow",
"Electrical stress factor - πS :"))
1488 self.label_dd_pi_q.setText(_translate(
"MainWindow",
"Quality factor - πQ :"))
1489 self.label_dd_pi_e.setText(_translate(
"MainWindow",
"Environment factor - πE :"))
1490 self.label_dd_pi_c.setText(_translate(
"MainWindow",
"Contuct construction factor - πC :"))
1491 self.label_dd_lambda_b.setText(_translate(
"MainWindow",
"Base failure rate - λb :"))
1492 self.label_dd_pi_t.setText(_translate(
"MainWindow",
"Temperature factor - πT :"))
1493 self.addButton_c_ee_diode.setText(_translate(
"MainWindow",
"Add Equipment"))
1494 self.tabWidget_electrical_equipments.setTabText(self.tabWidget_electrical_equipments.indexOf(self.
tab_diode), _translate(
"MainWindow",
"Diode"))
1495 self.groupBox_id_lambda_p.setTitle(_translate(
"MainWindow",
"Inductor failure rate - λp"))
1496 self.label_id_environment.setText(_translate(
"MainWindow",
"Environment"))
1497 self.label_id_inductor_type.setText(_translate(
"MainWindow",
"Inductor type:"))
1498 self.label_id_quality.setText(_translate(
"MainWindow",
"Quality:"))
1499 self.label_id_hot_spot_temperature.setText(_translate(
"MainWindow",
"Hot spot temperature:"))
1500 self.label_id_pi_q.setText(_translate(
"MainWindow",
"Quality factor - πQ :"))
1501 self.label_id_lambda_b.setText(_translate(
"MainWindow",
"Base failure rate - λb :"))
1502 self.label_id_pi_t.setText(_translate(
"MainWindow",
"Temperature factor - πT :"))
1503 self.label_id_pi_e.setText(_translate(
"MainWindow",
"Environment factor - πE :"))
1504 self.addButton_c_ee_inductor.setText(_translate(
"MainWindow",
"Add Equipment"))
1505 self.tabWidget_electrical_equipments.setTabText(self.tabWidget_electrical_equipments.indexOf(self.
tab_inductor), _translate(
"MainWindow",
"Inductor"))
1506 self.groupBox_ts_lambda_p.setTitle(_translate(
"MainWindow",
"Transistor failure rate - λp"))
1507 self.label_ts_transistor_type.setText(_translate(
"MainWindow",
"Transistor type:"))
1508 self.label_ts_quality.setText(_translate(
"MainWindow",
"Quality:"))
1509 self.label_ts_environment.setText(_translate(
"MainWindow",
"Environment"))
1510 self.label_ts_junction_temperature.setText(_translate(
"MainWindow",
"Junction temperature:"))
1511 self.label_ts_pi_q.setText(_translate(
"MainWindow",
"Quality factor - πQ :"))
1512 self.label_ts_pi_t.setText(_translate(
"MainWindow",
"Temperature factor - πT :"))
1513 self.label_ts_lambda_b.setText(_translate(
"MainWindow",
"Base failure rate - λb :"))
1514 self.label_ts_pi_e.setText(_translate(
"MainWindow",
"Environment factor - πE :"))
1515 self.addButton_c_ee_transistor.setText(_translate(
"MainWindow",
"Add Equipment"))
1516 self.tabWidget_electrical_equipments.setTabText(self.tabWidget_electrical_equipments.indexOf(self.
tab_transistor), _translate(
"MainWindow",
"Transistor"))
1517 self.groupBox_fs_lambda_p.setTitle(_translate(
"MainWindow",
"Fuse failure rate - λp"))
1518 self.label_fs_environment.setText(_translate(
"MainWindow",
"Environment"))
1519 self.label_fs_fuse_type.setText(_translate(
"MainWindow",
"Fuse type:"))
1520 self.label_fs_pi_e.setText(_translate(
"MainWindow",
"Environment factor - πE :"))
1521 self.label_fs_lambda_b.setText(_translate(
"MainWindow",
"Base failure rate - λb :"))
1522 self.addButton_c_ee_fuse.setText(_translate(
"MainWindow",
"Add Equipment"))
1523 self.tabWidget_electrical_equipments.setTabText(self.tabWidget_electrical_equipments.indexOf(self.
tab_fuse), _translate(
"MainWindow",
"Fuse"))
1524 self.label_res_style.setText(_translate(
"MainWindow",
"Resistor style:"))
1525 self.label_res_t.setText(_translate(
"MainWindow",
"Resistor Case Temperature - T:"))
1526 self.label_res_w.setText(_translate(
"MainWindow",
"Power Dissipiation - W:"))
1527 self.label_res_environment.setText(_translate(
"MainWindow",
"Environment :"))
1528 self.label_res_quality.setText(_translate(
"MainWindow",
"Quality :"))
1529 self.label_30.setText(_translate(
"MainWindow",
"or"))
1530 self.label_40.setText(_translate(
"MainWindow",
"or"))
1531 self.label_res_stress.setText(_translate(
"MainWindow",
"Stress : "))
1532 self.label_41.setText(_translate(
"MainWindow",
"or"))
1533 self.label_res_lambda_b.setText(_translate(
"MainWindow",
"Base failure rate - λb :"))
1534 self.label_res_pi_t.setText(_translate(
"MainWindow",
"Temperature factor - πT :"))
1535 self.label_res_pi_p.setText(_translate(
"MainWindow",
"Power factor - πP :"))
1536 self.label_res_pi_e.setText(_translate(
"MainWindow",
"Environment factor - πE :"))
1537 self.label_res_pi_q.setText(_translate(
"MainWindow",
"Quality factor - πQ :"))
1538 self.label_res_pi_s.setText(_translate(
"MainWindow",
"Power stress factor - πS :"))
1539 self.groupBox_res_lambda_p.setTitle(_translate(
"MainWindow",
"Resistor failure rate - λp"))
1540 self.addButton_c_ee_res.setText(_translate(
"MainWindow",
"Add Equipment"))
1541 self.tabWidget_electrical_equipments.setTabText(self.tabWidget_electrical_equipments.indexOf(self.
tab_resistor), _translate(
"MainWindow",
"Resistor"))
1542 self.groupBox_bearings.setTitle(_translate(
"MainWindow",
"Bearing Failures"))
1543 self.label_rd_bearing_ambient_temperature.setText(_translate(
"MainWindow",
"Ambient temperature - TA :"))
1544 self.label_rd_bearing_characteristic_life.setText(_translate(
"MainWindow",
"Weibull characteristic life αB (hours) :"))
1545 self.label_rd_bearing_motor_type.setText(_translate(
"MainWindow",
"Motor type :"))
1546 self.label_rd_bearing_a_determination.setText(_translate(
"MainWindow",
"A Determination :"))
1547 self.label_rd_bearing_lambda1_determination.setText(_translate(
"MainWindow",
"λ1 Determination :"))
1548 self.label_rd_bearing_LC.setText(_translate(
"MainWindow",
"Life Cycle / αB : "))
1549 self.groupBox_rd_bearing_fr.setTitle(_translate(
"MainWindow",
"Bearing failure rate"))
1550 self.label_9.setText(_translate(
"MainWindow",
"or"))
1551 self.groupBox_winding.setTitle(_translate(
"MainWindow",
"Winding Failures"))
1552 self.label_rd_winding_ambient_temperature.setText(_translate(
"MainWindow",
"Ambient temperature - TA :"))
1553 self.label_rd_winding_characteristic_life.setText(_translate(
"MainWindow",
"Weibull characteristic life αW (hours) :"))
1554 self.label_rd_winding_motor_type.setText(_translate(
"MainWindow",
"Motor type :"))
1555 self.label_rd_winding_b_determination.setText(_translate(
"MainWindow",
"B Determination :"))
1556 self.label_rd_winding_lambda2_determination.setText(_translate(
"MainWindow",
"λ2 Determination :"))
1557 self.label_rd_winding_LC.setText(_translate(
"MainWindow",
"Life Cycle / αW :"))
1558 self.groupBox_rd_winding_fr.setTitle(_translate(
"MainWindow",
"Winding failure rate"))
1559 self.label_14.setText(_translate(
"MainWindow",
"or"))
1560 self.addButton_c_ee_rd.setText(_translate(
"MainWindow",
"Add Equipment"))
1561 self.groupBox_rd_lambda_p.setTitle(_translate(
"MainWindow",
"Rotating Device failure rate - λp"))
1562 self.tabWidget_electrical_equipments.setTabText(self.tabWidget_electrical_equipments.indexOf(self.
tab_rd), _translate(
"MainWindow",
"Rotating Devices, Motors"))
1563 self.label_rel_ambient_temperature.setText(_translate(
"MainWindow",
"Ambient temperature - TA :"))
1564 self.label_rel_stress.setText(_translate(
"MainWindow",
"Stress : "))
1565 self.label_rel_environment.setText(_translate(
"MainWindow",
"Environment :"))
1566 self.label_rel_quality.setText(_translate(
"MainWindow",
"Quality :"))
1567 self.label_rel_rated_temperature.setText(_translate(
"MainWindow",
"Rated temperature :"))
1568 self.label_rel_load_type.setText(_translate(
"MainWindow",
"Load type : "))
1569 self.label_rel_contact_form.setText(_translate(
"MainWindow",
"Contact form : "))
1570 self.label_rel_cycle_rate.setText(_translate(
"MainWindow",
"Cycle rate : "))
1571 self.label_rel_contact_rating.setText(_translate(
"MainWindow",
"Contact rating : "))
1572 self.label_rel_application_type.setText(_translate(
"MainWindow",
"Aplication type : "))
1573 self.label_rel_construction_type.setText(_translate(
"MainWindow",
"Construction type :"))
1574 self.label_28.setText(_translate(
"MainWindow",
"or"))
1575 self.label_29.setText(_translate(
"MainWindow",
"or"))
1576 self.label_rel_cycle_rate_2.setText(_translate(
"MainWindow",
"Enter cycle rate : "))
1577 self.label_rel_lambda_b.setText(_translate(
"MainWindow",
"Base failure rate - λb :"))
1578 self.label_rel_pi_e.setText(_translate(
"MainWindow",
"Environment factor - πE :"))
1579 self.label_rel_pi_q.setText(_translate(
"MainWindow",
"Quality factor - πQ :"))
1580 self.label_rel_pi_l.setText(_translate(
"MainWindow",
"Load stress factor - πL :"))
1581 self.label_rel_pi_c.setText(_translate(
"MainWindow",
"Contact form factor - πC :"))
1582 self.label_rel_pi_cyc.setText(_translate(
"MainWindow",
"Cycling factor - πCYC :"))
1583 self.label_rel_pi_f.setText(_translate(
"MainWindow",
"Ï€F :"))
1584 self.groupBox_rel_lambda_p.setTitle(_translate(
"MainWindow",
"Relay failure rate - λp"))
1585 self.addButton_c_ee_rel.setText(_translate(
"MainWindow",
"Add Equipment"))
1586 self.tabWidget_electrical_equipments.setTabText(self.tabWidget_electrical_equipments.indexOf(self.
tab_rel), _translate(
"MainWindow",
"Relays"))
1587 self.label_con_gen_description.setText(_translate(
"MainWindow",
"Description : "))
1588 self.label_c.setText(_translate(
"MainWindow",
"Environment :"))
1589 self.label_con_gen_quality.setText(_translate(
"MainWindow",
"Quality :"))
1590 self.label_con_gen_t0.setText(_translate(
"MainWindow",
"T0 : "))
1591 self.label_con_gen_cycles.setText(_translate(
"MainWindow",
"Mating / Unmating cycles : "))
1592 self.label_17.setText(_translate(
"MainWindow",
"or"))
1593 self.label_con_gen_lambda_b.setText(_translate(
"MainWindow",
"Base failure rate - λb :"))
1594 self.label_con_gen_pi_e.setText(_translate(
"MainWindow",
"Environment factor - πE :"))
1595 self.label_con_gen_pi_q.setText(_translate(
"MainWindow",
"Quality factor - πQ :"))
1596 self.label_con_gen_pi_t.setText(_translate(
"MainWindow",
"Temperature factor - πT :"))
1597 self.label_con_gen_pi_k.setText(_translate(
"MainWindow",
"Mating / Unmating factor - πK :"))
1598 self.groupBox_con_gen_lambda_p.setTitle(_translate(
"MainWindow",
"Connector (general) failure rate - λp"))
1599 self.addButton_c_ee_con_gen.setText(_translate(
"MainWindow",
"Add Equipment"))
1600 self.tabWidget_electrical_equipments.setTabText(self.tabWidget_electrical_equipments.indexOf(self.
tab_con_gen), _translate(
"MainWindow",
"Connectors, General"))
1601 self.label_con_sock_lambda_b.setText(_translate(
"MainWindow",
"Base failure rate - λb :"))
1602 self.label_con_sock_pi_e.setText(_translate(
"MainWindow",
"Environment factor - πE :"))
1603 self.label_con_sock_pi_q.setText(_translate(
"MainWindow",
"Quality factor - πQ :"))
1604 self.label_con_sock_pi_p.setText(_translate(
"MainWindow",
"Active pins factor - πP :"))
1605 self.label_con_sock_description.setText(_translate(
"MainWindow",
"Description : "))
1606 self.label_con_sock_environment.setText(_translate(
"MainWindow",
"Environment :"))
1607 self.label_con_sock_quality.setText(_translate(
"MainWindow",
"Quality :"))
1608 self.label_con_sock_numb_of_active_coils.setText(_translate(
"MainWindow",
"No. of active contacts : "))
1609 self.label_16.setText(_translate(
"MainWindow",
"or"))
1610 self.groupBox_con_sock_lambda_p.setTitle(_translate(
"MainWindow",
"Socket failure rate - λp"))
1611 self.addButton_c_ee_con_sock.setText(_translate(
"MainWindow",
"Add Equipment"))
1612 self.tabWidget_electrical_equipments.setTabText(self.tabWidget_electrical_equipments.indexOf(self.
tab_con_sock), _translate(
"MainWindow",
"Connectors, Sockets"))
1613 self.label_qrtz_frequency.setText(_translate(
"MainWindow",
"Frequency, f (MHz) : "))
1614 self.label_qrtz_environment.setText(_translate(
"MainWindow",
"Environment :"))
1615 self.label_qrtz_quality.setText(_translate(
"MainWindow",
"Quality :"))
1616 self.label_15.setText(_translate(
"MainWindow",
"or"))
1617 self.label_qrtz_lambda_b.setText(_translate(
"MainWindow",
"Base failure rate - λb :"))
1618 self.label_qrtz_pi_e.setText(_translate(
"MainWindow",
"Environment factor - πE :"))
1619 self.label_qrtz_pi_q.setText(_translate(
"MainWindow",
"Quality factor - πQ :"))
1620 self.groupBox_qrtz_lambda_p.setTitle(_translate(
"MainWindow",
"Quartz Crystal failure rate - λp"))
1621 self.addButton_c_ee_qrtz.setText(_translate(
"MainWindow",
"Add Equipment"))
1622 self.tabWidget_electrical_equipments.setTabText(self.tabWidget_electrical_equipments.indexOf(self.
tab_qrtz), _translate(
"MainWindow",
"Quartz crystals"))
1628 Electrical Equipments Gui Main Functions 1651 Electrical Equipments Gui Button Click Events Functions 1668 Set electrical equipments value to PHM Gui functions 1670 create_object = eval(str(
"self.ui_class." + str(self.
data_path)))
1671 create_object.setText(str(set_data))
1674 self.ui_class.add_equipment_sub_module_window.close()
1677 self.ui_class.add_equipment_component_window.close()
1682 Set capacitor value function 1689 Set diode value function 1696 Set inductor value function 1703 Set transistor value function 1710 Set fuse value function 1717 Set resistor value function 1724 Set rotating devices value function 1731 Set relays value function 1738 Set connector, general value function 1745 Set connector, sockets value function 1752 Set quartz crystals value function 1761 Electrical Equipments General Events Func 1764 self.comboBox_res_style.currentIndexChanged.connect(self.res_hazard_rate_func)
1765 self.comboBox_res_w.currentIndexChanged.connect(self.res_hazard_rate_func)
1766 self.lineEdit_res_w.textChanged.connect(self.res_hazard_rate_func)
1767 self.comboBox_res_environment.currentIndexChanged.connect(self.res_hazard_rate_func)
1768 self.comboBox_res_quality.currentIndexChanged.connect(self.res_hazard_rate_func)
1769 self.comboBox_res_case_temp.currentIndexChanged.connect(self.res_hazard_rate_func)
1770 self.lineEdit_res_case_temp.textChanged.connect(self.res_hazard_rate_func)
1771 self.comboBox_res_stress.currentIndexChanged.connect(self.res_hazard_rate_func)
1772 self.lineEdit_res_stress.textChanged.connect(self.res_hazard_rate_func)
1776 self.comboBox_rd_bearing_ambient_temperature.currentIndexChanged.connect(self.rd_hazard_rate_func)
1777 self.lineEdit_rd_bearing_ambient_temperature.textChanged.connect(self.rd_hazard_rate_func)
1778 self.comboBox_rd_bearing_motor_type.currentIndexChanged.connect(self.rd_hazard_rate_func)
1779 self.comboBox_rd_bearing_LC.currentIndexChanged.connect(self.rd_hazard_rate_func)
1780 self.comboBox_rd_winding_ambient_temperature.currentIndexChanged.connect(self.rd_hazard_rate_func)
1781 self.lineEdit_rd_winding_ambient_temperature.textChanged.connect(self.rd_hazard_rate_func)
1782 self.comboBox_rd_winding_motor_type.currentIndexChanged.connect(self.rd_hazard_rate_func)
1783 self.comboBox_rd_winding_LC.currentIndexChanged.connect(self.rd_hazard_rate_func)
1787 self.comboBox_rel_ambient_temperature.currentIndexChanged.connect(self.relays_tab_func_2)
1788 self.comboBox_rel_stress.currentIndexChanged.connect(self.relays_tab_func_2)
1789 self.comboBox_rel_contact_rating.currentIndexChanged.connect(self.relays_tab_func_2)
1790 self.comboBox_rel_application_type.currentIndexChanged.connect(self.relays_tab_func_3)
1791 self.comboBox_rel_ambient_temperature.currentIndexChanged.connect(self.rel_hazard_rate_func)
1792 self.lineEdit_rel_ambient_temperature.textChanged.connect(self.rel_hazard_rate_func)
1793 self.comboBox_rel_rated_temperature.currentIndexChanged.connect(self.rel_hazard_rate_func)
1794 self.comboBox_rel_stress.currentIndexChanged.connect(self.rel_hazard_rate_func)
1795 self.lineEdit_rel_stress.textChanged.connect(self.rel_hazard_rate_func)
1796 self.comboBox_rel_load_type.currentIndexChanged.connect(self.rel_hazard_rate_func)
1797 self.comboBox_rel_contact_form.currentIndexChanged.connect(self.rel_hazard_rate_func)
1798 self.comboBox_rel_quality.currentIndexChanged.connect(self.rel_hazard_rate_func)
1799 self.comboBox_rel_environment.currentIndexChanged.connect(self.rel_hazard_rate_func)
1800 self.comboBox_rel_contact_rating.currentIndexChanged.connect(self.rel_hazard_rate_func)
1801 self.comboBox_rel_application_type.currentIndexChanged.connect(self.rel_hazard_rate_func)
1802 self.comboBox_rel_construction_type.currentIndexChanged.connect(self.rel_hazard_rate_func)
1803 self.comboBox_rel_cycle_rate.currentIndexChanged.connect(self.rel_hazard_rate_func)
1804 self.lineEdit_rel_cycle_rate.textChanged.connect(self.rel_hazard_rate_func)
1808 self.comboBox_con_gen_description.currentIndexChanged.connect(self.con_gen_hazard_rate_func)
1809 self.comboBox_con_gen_t0.currentIndexChanged.connect(self.con_gen_hazard_rate_func)
1810 self.lineEdit_con_gen_t0.textChanged.connect(self.con_gen_hazard_rate_func)
1811 self.comboBox_con_gen_cycles.currentIndexChanged.connect(self.con_gen_hazard_rate_func)
1812 self.comboBox_con_gen_quality.currentIndexChanged.connect(self.con_gen_hazard_rate_func)
1813 self.comboBox_con_gen_environment.currentIndexChanged.connect(self.con_gen_hazard_rate_func)
1817 self.comboBox_con_sock_quality.currentIndexChanged.connect(self.con_sock_hazard_rate_func)
1818 self.comboBox_con_sock_environment.currentIndexChanged.connect(self.con_sock_hazard_rate_func)
1819 self.comboBox_con_sock_description.currentIndexChanged.connect(self.con_sock_hazard_rate_func)
1820 self.comboBox_con_sock_numb_of_active_contacts.currentIndexChanged.connect(self.con_sock_hazard_rate_func)
1821 self.lineEdit_con_sock_numb_of_active_contacts.textChanged.connect(self.con_sock_hazard_rate_func)
1825 self.comboBox_qrtz_frequency.currentIndexChanged.connect(self.quartz_hazard_rate_func)
1826 self.lineEdit_qrtz_frequency.textChanged.connect(self.quartz_hazard_rate_func)
1827 self.comboBox_qrtz_quality.currentIndexChanged.connect(self.quartz_hazard_rate_func)
1828 self.comboBox_qrtz_environment.currentIndexChanged.connect(self.quartz_hazard_rate_func)
1832 self.comboBox_cc_style.currentIndexChanged.connect(self.capacitor_tab_func)
1833 self.comboBox_cc_capacitor_temperature.currentIndexChanged.connect(self.capacitor_hazard_rate_func)
1834 self.comboBox_cc_capacitance.currentIndexChanged.connect(self.capacitor_hazard_rate_func)
1835 self.comboBox_cc_voltage_stress.currentIndexChanged.connect(self.capacitor_hazard_rate_func)
1836 self.comboBox_cc_circuit_resistance.currentIndexChanged.connect(self.capacitor_hazard_rate_func)
1837 self.comboBox_cc_quality.currentIndexChanged.connect(self.capacitor_hazard_rate_func)
1838 self.comboBox_cc_environment.currentIndexChanged.connect(self.capacitor_hazard_rate_func)
1842 self.comboBox_dd_type.currentIndexChanged.connect(self.diode_tab_func)
1843 self.comboBox_dd_junction_temperature.currentIndexChanged.connect(self.diode_hazard_rate_func)
1844 self.comboBox_dd_voltage_stress.currentIndexChanged.connect(self.diode_hazard_rate_func)
1845 self.comboBox_dd_contact_construction.currentIndexChanged.connect(self.diode_hazard_rate_func)
1846 self.comboBox_dd_quality.currentIndexChanged.connect(self.diode_hazard_rate_func)
1847 self.comboBox_dd_environment.currentIndexChanged.connect(self.diode_hazard_rate_func)
1851 self.comboBox_id_type.currentIndexChanged.connect(self.inductor_hazard_rate_func)
1852 self.comboBox_id_hot_spot_temperature.currentIndexChanged.connect(self.inductor_hazard_rate_func)
1853 self.comboBox_id_quality.currentIndexChanged.connect(self.inductor_hazard_rate_func)
1854 self.comboBox_id_environment.currentIndexChanged.connect(self.inductor_hazard_rate_func)
1858 self.comboBox_ts_type.currentIndexChanged.connect(self.transistor_hazard_rate_func)
1859 self.comboBox_ts_quality.currentIndexChanged.connect(self.transistor_hazard_rate_func)
1860 self.comboBox_ts_junction_temperature.currentIndexChanged.connect(self.transistor_hazard_rate_func)
1861 self.comboBox_ts_environment.currentIndexChanged.connect(self.transistor_hazard_rate_func)
1865 self.comboBox_fs_type.currentIndexChanged.connect(self.fuse_hazard_rate_func)
1866 self.comboBox_fs_environment.currentIndexChanged.connect(self.fuse_hazard_rate_func)
1875 Resistors Tab Function 1879 res_style_list = list(res_dict[
"Resistor Style"].keys())
1880 power_factor_list = list(res_dict[
"Power Factor"].keys())
1881 environment_list = list(res_dict[
"Environment"].keys())
1882 quality_list = list(res_dict[
"Quality"].keys())
1883 temperature_list = list(res_dict[
"Temperature Factor"].keys())
1884 stress_list = list(res_dict[
"Power Stress Factor"].keys())
1886 temp_list_1 = list()
1887 temp_list_2 = list()
1888 temp_list_3 = list()
1890 for item
in power_factor_list:
1891 temp_str = item.split(
"w_")
1892 new_val = float(temp_str[1].replace(
"_",
"."))
1893 temp_list_1.append(new_val)
1895 for item
in temperature_list:
1896 new_val = item.split(
"t_")
1897 temp_list_2.append(int(new_val[1]))
1899 for item
in stress_list:
1900 temp_str = item.split(
"s_")
1901 new_val = float(temp_str[1].replace(
"_",
"."))
1902 temp_list_3.append(new_val)
1908 temp_list_1 = map(str, temp_list_1)
1909 temp_list_2 = map(str, temp_list_2)
1910 temp_list_3 = map(str, temp_list_3)
1912 self.comboBox_res_style.clear()
1913 self.comboBox_res_w.clear()
1914 self.comboBox_res_environment.clear()
1915 self.comboBox_res_quality.clear()
1916 self.comboBox_res_case_temp.clear()
1917 self.comboBox_res_stress.clear()
1919 self.comboBox_res_style.addItem(
"None")
1920 self.comboBox_res_w.addItem(
"None")
1921 self.comboBox_res_environment.addItem(
"None")
1922 self.comboBox_res_quality.addItem(
"None")
1923 self.comboBox_res_case_temp.addItem(
"None")
1924 self.comboBox_res_stress.addItem(
"None")
1926 self.comboBox_res_style.addItems(list(res_style_list))
1927 self.comboBox_res_w.addItems(list(temp_list_1))
1928 self.comboBox_res_environment.addItems(list(environment_list))
1929 self.comboBox_res_quality.addItems(list(quality_list))
1930 self.comboBox_res_case_temp.addItems(list(temp_list_2))
1931 self.comboBox_res_stress.addItems(list(temp_list_3))
1933 self.comboBox_res_w.addItem(
"Other value...")
1934 self.comboBox_res_case_temp.addItem(
"Other value...")
1935 self.comboBox_res_stress.addItem(
"Other value...")
1942 Resistors Stress Function 1944 selected_resistor = self.comboBox_res_style.currentText()
1945 stress = self.comboBox_res_stress.currentText()
1947 if selected_resistor !=
"" and stress !=
"" and selected_resistor !=
"None" and stress !=
"None":
1948 if stress !=
"Other value...":
1953 self.lineEdit_res_pi_s.clear()
1954 self.e_eq.res_pi_s = 1.0
1955 self.lineEdit_res_pi_s.setText(str(self.e_eq.get_res_pi_s()))
1960 Resistors Stress Combobox Function 1963 selected_resistor = self.comboBox_res_style.currentText()
1965 self.lineEdit_res_stress.clear()
1966 self.lineEdit_res_pi_s.clear()
1967 self.label_41.setEnabled(
False)
1968 self.lineEdit_res_stress.setEnabled(
False)
1971 psf_column_str =
"column_" + str(psf_column)
1973 stress_str = stress.replace(
".",
"_")
1974 stress_str =
"s_" + str(stress_str)
1976 if psf_column ==
"val_1":
1979 res_pi_s = res_dict[
"Power Stress Factor"][str(stress_str)][str(psf_column_str)]
1981 self.e_eq.res_pi_s = res_pi_s
1982 self.lineEdit_res_pi_s.setText(str(self.e_eq.get_res_pi_s()))
1987 Resistors Stress Other Value Function 1989 self.lineEdit_res_pi_s.clear()
1990 self.label_41.setEnabled(
True)
1991 self.lineEdit_res_stress.setEnabled(
True)
1993 selected_resistor = self.comboBox_res_style.currentText()
1994 stress = self.lineEdit_res_stress.text()
1997 psf_column_str =
"column_" + str(psf_column)
2000 if psf_column ==
"val_1":
2003 self.e_eq.res_pi_s_func(float(stress), int(psf_column))
2004 self.lineEdit_res_pi_s.setText(str(self.e_eq.get_res_pi_s()))
2009 Resistors Temperature Function 2011 selected_resistor = self.comboBox_res_style.currentText()
2012 temperature = self.comboBox_res_case_temp.currentText()
2014 if selected_resistor !=
"" and temperature !=
"" and selected_resistor !=
"None" and temperature !=
"None":
2015 if temperature !=
"Other value...":
2020 self.lineEdit_res_pi_t.clear()
2021 self.e_eq.res_pi_t = 1.0
2022 self.lineEdit_res_pi_t.setText(str(self.e_eq.get_res_pi_t()))
2027 Resistors Temperature Combobox Function 2030 selected_resistor = self.comboBox_res_style.currentText()
2032 self.lineEdit_res_case_temp.clear()
2033 self.lineEdit_res_pi_t.clear()
2034 self.label_30.setEnabled(
False)
2035 self.lineEdit_res_case_temp.setEnabled(
False)
2038 tf_column_str =
"column_" + str(tf_column)
2040 temperature_str =
"t_" + str(temperature)
2042 if tf_column ==
"val_1":
2045 res_pi_t = res_dict[
"Temperature Factor"][str(temperature_str)][str(tf_column_str)]
2047 self.e_eq.res_pi_t = res_pi_t
2048 self.lineEdit_res_pi_t.setText(str(self.e_eq.get_res_pi_t()))
2053 Resistors Temperature Other Value Function 2055 self.lineEdit_res_pi_t.clear()
2056 self.label_30.setEnabled(
True)
2057 self.lineEdit_res_case_temp.setEnabled(
True)
2059 selected_resistor = self.comboBox_res_style.currentText()
2060 temperature = self.lineEdit_res_case_temp.text()
2063 tf_column_str =
"column_" + str(tf_column)
2065 if temperature !=
"":
2066 if tf_column ==
"val_1":
2069 self.e_eq.res_pi_t_func(float(temperature), int(tf_column))
2070 self.lineEdit_res_pi_t.setText(str(self.e_eq.get_res_pi_t()))
2075 Resistors Quality Function 2078 quality = self.comboBox_res_quality.currentText()
2080 if quality !=
"" and quality !=
"None":
2081 self.lineEdit_res_pi_q.clear()
2082 res_pi_q = res_dict[
"Quality"][str(quality)]
2084 self.e_eq.res_pi_q = res_pi_q
2085 self.lineEdit_res_pi_q.setText(str(self.e_eq.res_pi_q))
2087 self.lineEdit_res_pi_q.clear()
2088 self.e_eq.res_pi_q = 1.0
2089 self.lineEdit_res_pi_q.setText(str(self.e_eq.res_pi_q))
2094 Resistors Environment Function 2097 environment = self.comboBox_res_environment.currentText()
2099 if environment !=
"" and environment !=
"None":
2100 self.lineEdit_res_pi_e.clear()
2101 res_pi_e = res_dict[
"Environment"][str(environment)]
2103 self.e_eq.res_pi_e = res_pi_e
2104 self.lineEdit_res_pi_e.setText(str(self.e_eq.res_pi_e))
2106 self.lineEdit_res_pi_e.clear()
2107 self.e_eq.res_pi_e = 1.0
2108 self.lineEdit_res_pi_e.setText(str(self.e_eq.res_pi_e))
2113 Resistors Style Function 2117 res_style = self.comboBox_res_style.currentText()
2119 if res_style !=
"" and res_style !=
"None":
2120 self.lineEdit_res_lambda_b.clear()
2121 res_lambda_b = res_dict[
"Resistor Style"][str(res_style)]
2122 self.e_eq.res_lambda_b = res_lambda_b
2124 self.lineEdit_res_lambda_b.setText(str(self.e_eq.res_lambda_b))
2126 self.lineEdit_res_lambda_b.clear()
2127 self.e_eq.res_lambda_b = 1.0
2128 self.lineEdit_res_lambda_b.setText(str(self.e_eq.res_lambda_b))
2133 Resistors Dissip Function 2135 power_dissip = self.comboBox_res_w.currentText()
2137 if power_dissip !=
"" and power_dissip !=
"None":
2138 if power_dissip !=
"Other value...":
2143 self.lineEdit_res_pi_p.clear()
2144 self.e_eq.res_pi_p = 1.0
2145 self.lineEdit_res_pi_p.setText(str(self.e_eq.get_res_pi_p()))
2150 Resistors Dissip Combobox Function 2153 self.lineEdit_res_w.clear()
2154 self.lineEdit_res_pi_p.clear()
2156 self.label_40.setEnabled(
False)
2157 self.lineEdit_res_w.setEnabled(
False)
2159 new_str = power_dissip.replace(
".",
"_")
2160 new_str =
"w_" + str(new_str)
2161 res_pi_p = res_dict[
"Power Factor"][str(new_str)]
2163 self.e_eq.res_pi_p = res_pi_p
2164 self.lineEdit_res_pi_p.setText(str(self.e_eq.get_res_pi_p()))
2169 Resistors Dissip Other Value Function 2171 self.lineEdit_res_pi_p.clear()
2172 self.label_40.setEnabled(
True)
2173 self.lineEdit_res_w.setEnabled(
True)
2175 power_dissip = self.lineEdit_res_w.text()
2177 if power_dissip !=
"":
2178 self.e_eq.res_pi_p_func(float(power_dissip))
2179 self.lineEdit_res_pi_p.setText(str(self.e_eq.get_res_pi_p()))
2184 Resistors Hazard Rate Function 2193 self.e_eq.resistors_func()
2194 self.lineEdit_res_lamda_p.setText(str(self.e_eq.get_res_lambda()))
2200 Rotating Devices Tab Function 2204 rd_bearing_ambient_temperature_list = list(rotating_devices_dict[
"Bearing Characteristic Life"].keys())
2205 rd_winding_ambient_temperature_list = list(rotating_devices_dict[
"Winding Characteristic Life"].keys())
2206 rd_bearing_motor_type_list = list(rotating_devices_dict[
"A Determination"].keys())
2207 rd_winding_motor_type_list = list(rotating_devices_dict[
"B Determination"].keys())
2208 rd_bearing_lc_div_alpha_b_list = list(rotating_devices_dict[
"Lambda1 Determination"].keys())
2209 rd_winding_lc_div_alpha_w_list = list(rotating_devices_dict[
"Lambda2 Determination"].keys())
2211 temp_list_1 = list()
2212 temp_list_2 = list()
2213 temp_list_3 = list()
2214 temp_list_4 = list()
2216 for item
in rd_bearing_ambient_temperature_list:
2217 temp_str = item.split(
"t_")
2218 new_val = int(temp_str[1].replace(
"_",
"."))
2219 temp_list_1.append(new_val)
2221 for item
in rd_winding_ambient_temperature_list:
2222 temp_str = item.split(
"t_")
2223 new_val = int(temp_str[1].replace(
"_",
"."))
2224 temp_list_2.append(new_val)
2226 for item
in rd_bearing_lc_div_alpha_b_list:
2228 temp_str = item.replace(
"btw_",
"Between ")
2229 temp_str = temp_str.replace(
"_and_",
" and ")
2230 temp_str = temp_str.replace(
"_",
".")
2232 temp_str = item.replace(
"g_",
"Greater than ")
2233 temp_str = temp_str.replace(
"_",
".")
2235 temp_list_3.append(temp_str)
2237 for item
in rd_winding_lc_div_alpha_w_list:
2239 temp_str = item.replace(
"btw_",
"Between ")
2240 temp_str = temp_str.replace(
"_and_",
" and ")
2241 temp_str = temp_str.replace(
"_",
".")
2243 temp_str = item.replace(
"g_",
"Greater than ")
2244 temp_str = temp_str.replace(
"_",
".")
2246 temp_list_4.append(temp_str)
2253 temp_list_1 = map(str, temp_list_1)
2254 temp_list_2 = map(str, temp_list_2)
2255 temp_list_3 = map(str, temp_list_3)
2256 temp_list_4 = map(str, temp_list_4)
2258 self.comboBox_rd_bearing_ambient_temperature.clear()
2259 self.comboBox_rd_winding_ambient_temperature.clear()
2260 self.comboBox_rd_bearing_motor_type.clear()
2261 self.comboBox_rd_winding_motor_type.clear()
2262 self.comboBox_rd_bearing_LC.clear()
2263 self.comboBox_rd_winding_LC.clear()
2265 self.comboBox_rd_bearing_ambient_temperature.addItem(
"None")
2266 self.comboBox_rd_winding_ambient_temperature.addItem(
"None")
2267 self.comboBox_rd_bearing_motor_type.addItem(
"None")
2268 self.comboBox_rd_winding_motor_type.addItem(
"None")
2269 self.comboBox_rd_bearing_LC.addItem(
"None")
2270 self.comboBox_rd_winding_LC.addItem(
"None")
2272 self.comboBox_rd_bearing_ambient_temperature.addItems(temp_list_1)
2273 self.comboBox_rd_winding_ambient_temperature.addItems(temp_list_2)
2274 self.comboBox_rd_bearing_motor_type.addItems(rd_bearing_motor_type_list)
2275 self.comboBox_rd_winding_motor_type.addItems(rd_winding_motor_type_list)
2276 self.comboBox_rd_bearing_LC.addItems(temp_list_3)
2277 self.comboBox_rd_winding_LC.addItems(temp_list_4)
2279 self.comboBox_rd_bearing_ambient_temperature.addItem(
"Other value...")
2280 self.comboBox_rd_winding_ambient_temperature.addItem(
"Other value...")
2287 Rotating Devices Alpha_b Function 2289 temperature = self.comboBox_rd_bearing_ambient_temperature.currentText()
2291 if temperature !=
"" and temperature !=
"None":
2292 if temperature !=
"Other value...":
2297 self.lineEdit_rd_bearing_characteristic_life.clear()
2298 self.e_eq.rd_alpha_b = 1.0
2299 self.lineEdit_rd_bearing_characteristic_life.setText(str(self.e_eq.get_rd_alpha_b()))
2304 Rotating Devices Alpha_w Function 2306 temperature = self.comboBox_rd_winding_ambient_temperature.currentText()
2308 if temperature !=
"" and temperature !=
"None":
2309 if temperature !=
"Other value...":
2314 self.lineEdit_rd_winding_characteristic_life.clear()
2315 self.e_eq.rd_alpha_w = 1.0
2316 self.lineEdit_rd_winding_characteristic_life.setText(str(self.e_eq.get_rd_alpha_w()))
2321 Rotating Devices Alpha_b Combobox Function 2325 self.lineEdit_rd_bearing_ambient_temperature.clear()
2326 self.lineEdit_rd_bearing_characteristic_life.clear()
2327 self.label_9.setEnabled(
False)
2328 self.lineEdit_rd_bearing_ambient_temperature.setEnabled(
False)
2330 new_str =
"t_" + str(temperature)
2331 rd_alpha_b = rd_dict[
"Bearing Characteristic Life"][str(new_str)]
2333 self.e_eq.rd_alpha_b = rd_alpha_b
2334 self.lineEdit_rd_bearing_characteristic_life.setText(str(self.e_eq.get_rd_alpha_b()))
2339 Rotating Devices Alpha_w Combobox Function 2343 self.lineEdit_rd_winding_ambient_temperature.clear()
2344 self.lineEdit_rd_winding_characteristic_life.clear()
2345 self.label_14.setEnabled(
False)
2346 self.lineEdit_rd_winding_ambient_temperature.setEnabled(
False)
2348 new_str =
"t_" + str(temperature)
2349 rd_alpha_w = rd_dict[
"Winding Characteristic Life"][str(new_str)]
2351 self.e_eq.rd_alpha_w = rd_alpha_w
2352 self.lineEdit_rd_winding_characteristic_life.setText(str(self.e_eq.get_rd_alpha_w()))
2357 Rotating Devices Alpha_b Other Value Function 2359 self.lineEdit_rd_bearing_characteristic_life.clear()
2361 self.label_9.setEnabled(
True)
2362 self.lineEdit_rd_bearing_ambient_temperature.setEnabled(
True)
2364 temperature = self.lineEdit_rd_bearing_ambient_temperature.text()
2366 if temperature !=
"":
2367 self.e_eq.rd_alpha_b_func(float(temperature))
2368 self.lineEdit_rd_bearing_characteristic_life.setText(str(self.e_eq.get_rd_alpha_b()))
2373 Rotating Devices Alpha_w Other Value Function 2375 self.lineEdit_rd_winding_characteristic_life.clear()
2376 self.label_14.setEnabled(
True)
2377 self.lineEdit_rd_winding_ambient_temperature.setEnabled(
True)
2379 temperature = self.lineEdit_rd_winding_ambient_temperature.text()
2381 if temperature !=
"":
2382 self.e_eq.rd_alpha_w_func(float(temperature))
2383 self.lineEdit_rd_winding_characteristic_life.setText(str(self.e_eq.get_rd_alpha_w()))
2388 Rotating Devices A Determination Function 2390 motor_type = self.comboBox_rd_bearing_motor_type.currentText()
2393 if motor_type !=
"" and motor_type !=
"None":
2394 self.lineEdit_rd_bearing_a_determination.clear()
2395 a_det = rd_dict[
"A Determination"][str(motor_type)]
2396 self.e_eq.rd_determination_a = a_det
2397 self.lineEdit_rd_bearing_a_determination.setText(str(self.e_eq.rd_determination_a))
2400 self.lineEdit_rd_bearing_a_determination.clear()
2401 self.e_eq.rd_determination_a = 1.0
2402 self.lineEdit_rd_bearing_a_determination.setText(str(self.e_eq.rd_determination_a))
2407 Rotating Devices B Determination Function 2409 motor_type = self.comboBox_rd_winding_motor_type.currentText()
2413 if motor_type !=
"" and motor_type !=
"None":
2414 self.lineEdit_rd_winding_b_determination.clear()
2415 b_det = rd_dict[
"B Determination"][str(motor_type)]
2416 self.e_eq.rd_determination_b = b_det
2417 self.lineEdit_rd_winding_b_determination.setText(str(self.e_eq.rd_determination_b))
2419 self.lineEdit_rd_winding_b_determination.clear()
2420 self.e_eq.rd_determination_b = 1.0
2421 self.lineEdit_rd_winding_b_determination.setText(str(self.e_eq.rd_determination_b))
2426 Rotating Devices Lambda_1 Function 2429 lc_dic_alpha_b = self.comboBox_rd_bearing_LC.currentText()
2431 if lc_dic_alpha_b !=
"" and lc_dic_alpha_b !=
"None":
2432 self.lineEdit_rd_bearing_lambda1_determination.clear()
2434 tmp_str1 = lc_dic_alpha_b.replace(
".",
"_")
2435 tmp_str2 = tmp_str1.replace(
" and ",
"_and_")
2436 tmp_str3 = tmp_str2.replace(
"Between ",
"btw_")
2437 tmp_str4 = tmp_str3.replace(
"Greater than ",
"g_")
2438 lambda_1 = rd_dict[
"Lambda1 Determination"][str(tmp_str4)]
2440 self.e_eq.rd_lambda_1 = lambda_1
2441 self.lineEdit_rd_bearing_lambda1_determination.setText(str(self.e_eq.rd_lambda_1))
2443 self.lineEdit_rd_bearing_lambda1_determination.clear()
2444 self.e_eq.rd_lambda_1 = 1.0
2445 self.lineEdit_rd_bearing_lambda1_determination.setText(str(self.e_eq.rd_lambda_1))
2450 Rotating Devices Lambda_2 Function 2453 lc_dic_alpha_w = self.comboBox_rd_winding_LC.currentText()
2455 if lc_dic_alpha_w !=
"" and lc_dic_alpha_w !=
"None":
2456 self.lineEdit_rd_winding_lambda2_determination.clear()
2458 tmp_str1 = lc_dic_alpha_w.replace(
".",
"_")
2459 tmp_str2 = tmp_str1.replace(
" and ",
"_and_")
2460 tmp_str3 = tmp_str2.replace(
"Between ",
"btw_")
2461 tmp_str4 = tmp_str3.replace(
"Greater than ",
"g_")
2462 lambda_2 = rd_dict[
"Lambda2 Determination"][str(tmp_str4)]
2464 self.e_eq.rd_lambda_2 = lambda_2
2465 self.lineEdit_rd_winding_lambda2_determination.setText(str(self.e_eq.rd_lambda_2))
2467 self.lineEdit_rd_winding_lambda2_determination.clear()
2468 self.e_eq.rd_lambda_2 = 1.0
2469 self.lineEdit_rd_winding_lambda2_determination.setText(str(self.e_eq.rd_lambda_2))
2474 Rotating Devices Hazard Rate Function 2482 self.e_eq.rotating_device_func_1()
2483 self.lineEdit_rd_bearing_fr.setText(str(self.e_eq.get_rd_lambda_p_1()))
2485 self.e_eq.rotating_device_func_2()
2486 self.lineEdit_rd_winding_fr.setText(str(self.e_eq.get_rd_lambda_p_2()))
2488 self.e_eq.rotating_device_func()
2489 self.lineEdit_rd_lamda_p.setText(str(self.e_eq.get_rd_lambda()))
2498 ambient_temperature_list = list(rel_dict[
"Ambient Temperature"].keys())
2499 stress_list = list(rel_dict[
"Stress"].keys())
2500 contact_form_list = list(rel_dict[
"Contact Form"].keys())
2501 cycle_list = list(rel_dict[
"Cycle Rate"].keys())
2502 quality_list = list(rel_dict[
"Quality"].keys())
2503 environment_list = list(rel_dict[
"Environment"].keys())
2504 contact_rating_list = list(rel_dict[
"pi_f"].keys())
2506 temp_list_1 = list()
2507 temp_list_2 = list()
2508 temp_list_3 = list()
2510 for item
in ambient_temperature_list:
2511 temp_str = item.split(
"t_")
2512 new_val = int(temp_str[1])
2513 temp_list_1.append(new_val)
2515 for item
in cycle_list:
2516 tmp_str1 = item.replace(
"ge_",
">= ")
2517 tmp_str2 = tmp_str1.replace(
"s_",
"< ")
2518 tmp_str3 = tmp_str2.replace(
"g_",
"> ")
2519 tmp_str4 = tmp_str3.replace(
"btw_",
"Between ")
2520 tmp_str5 = tmp_str4.replace(
"_and_",
" and ")
2521 tmp_str6 = tmp_str5.replace(
"_",
".")
2522 temp_list_2.append(tmp_str6)
2524 for item
in stress_list:
2525 temp_str = item.split(
"s_")
2526 new_val = float(temp_str[1].replace(
"_",
"."))
2527 temp_list_3.append(new_val)
2533 temp_list_1 = map(str, temp_list_1)
2534 temp_list_2 = map(str, temp_list_2)
2535 temp_list_3 = map(str, temp_list_3)
2537 self.comboBox_rel_ambient_temperature.clear()
2538 self.comboBox_rel_stress.clear()
2539 self.comboBox_rel_contact_form.clear()
2540 self.comboBox_rel_cycle_rate.clear()
2541 self.comboBox_rel_quality.clear()
2542 self.comboBox_rel_environment.clear()
2543 self.comboBox_rel_contact_rating.clear()
2545 self.comboBox_rel_ambient_temperature.addItem(
"None")
2546 self.comboBox_rel_stress.addItem(
"None")
2547 self.comboBox_rel_contact_form.addItem(
"None")
2548 self.comboBox_rel_cycle_rate.addItem(
"None")
2549 self.comboBox_rel_quality.addItem(
"None")
2550 self.comboBox_rel_environment.addItem(
"None")
2551 self.comboBox_rel_contact_rating.addItem(
"None")
2553 self.comboBox_rel_ambient_temperature.addItems(list(temp_list_1))
2554 self.comboBox_rel_stress.addItems(list(temp_list_3))
2555 self.comboBox_rel_contact_form.addItems(list(contact_form_list))
2556 self.comboBox_rel_cycle_rate.addItems(list(temp_list_2))
2557 self.comboBox_rel_quality.addItems(list(quality_list))
2558 self.comboBox_rel_environment.addItems(list(environment_list))
2559 self.comboBox_rel_contact_rating.addItems(list(contact_rating_list))
2561 self.comboBox_rel_ambient_temperature.addItem(
"Other value...")
2562 self.comboBox_rel_stress.addItem(
"Other value...")
2569 Relays Tab Function 2 2572 ambient_temperature = self.comboBox_rel_ambient_temperature.currentText()
2573 stress = self.comboBox_rel_stress.currentText()
2574 contact_rating = self.comboBox_rel_contact_rating.currentText()
2576 self.comboBox_rel_rated_temperature.clear()
2577 self.comboBox_rel_rated_temperature.addItem(
"None")
2579 self.comboBox_rel_load_type.clear()
2580 self.comboBox_rel_load_type.addItem(
"None")
2582 self.comboBox_rel_application_type.clear()
2583 self.comboBox_rel_application_type.addItem(
"None")
2585 if ambient_temperature !=
"" and ambient_temperature !=
"None":
2586 if ambient_temperature !=
"Other value...":
2587 self.lineEdit_rel_ambient_temperature.clear()
2588 self.label_28.setEnabled(
False)
2589 self.lineEdit_rel_ambient_temperature.setEnabled(
False)
2591 ambient_temperature = str(
"t_" + str(ambient_temperature))
2592 rated_temperature_list = list(rel_dict[
"Ambient Temperature"][str(ambient_temperature)].keys())
2593 temp_list_1 = list()
2595 for item
in rated_temperature_list:
2596 temp_str = item.split(
"r_")
2597 new_val = int(temp_str[1])
2598 temp_list_1.append(new_val)
2601 temp_list_1 = map(str, temp_list_1)
2602 self.comboBox_rel_rated_temperature.addItems(list(temp_list_1))
2604 self.label_28.setEnabled(
True)
2605 self.lineEdit_rel_ambient_temperature.setEnabled(
True)
2607 rated_temperature_list = list([
"85",
"125"])
2608 self.comboBox_rel_rated_temperature.addItems(list(rated_temperature_list))
2610 if stress !=
"" and stress !=
"None":
2611 if stress !=
"Other value...":
2612 self.lineEdit_rel_stress.clear()
2613 self.label_29.setEnabled(
False)
2614 self.lineEdit_rel_stress.setEnabled(
False)
2616 stress = stress.replace(
".",
"_")
2617 new_str =
"s_" + str(stress)
2618 load_type_list = list(rel_dict[
"Stress"][str(new_str)].keys())
2619 self.comboBox_rel_load_type.addItems(list(load_type_list))
2621 self.label_29.setEnabled(
True)
2622 self.lineEdit_rel_stress.setEnabled(
True)
2624 load_type_list = list([
"Resistive",
"Inductive",
"Lamp"])
2625 self.comboBox_rel_load_type.addItems(load_type_list)
2627 if contact_rating !=
"" and contact_rating !=
"None":
2628 application_type_list = list(rel_dict[
"pi_f"][str(contact_rating)].keys())
2629 self.comboBox_rel_application_type.addItems(list(application_type_list))
2634 Relays Tab Function 3 2637 contact_rating = self.comboBox_rel_contact_rating.currentText()
2638 application_type = self.comboBox_rel_application_type.currentText()
2640 self.comboBox_rel_construction_type.clear()
2641 self.comboBox_rel_construction_type.addItem(
"None")
2644 if ((contact_rating
and application_type) !=
"")
and ((contact_rating
and application_type) !=
"None"):
2645 construction_type_list = list(rel_dict[
"pi_f"][str(contact_rating)][str(application_type)].keys())
2646 self.comboBox_rel_construction_type.addItems(list(construction_type_list))
2648 except AttributeError:
2649 self.comboBox_rel_construction_type.clear()
2650 self.comboBox_rel_construction_type.addItem(
"None")
2655 Relays Ambient Temperature Function 2657 ta_value = self.comboBox_rel_ambient_temperature.currentText()
2659 if ta_value !=
"" and ta_value !=
"None":
2660 if ta_value !=
"Other value...":
2665 self.lineEdit_rel_lambda_b.clear()
2666 self.e_eq.rel_lambda_b = 1.0
2667 self.lineEdit_rel_lambda_b.setText(str(self.e_eq.get_rel_lambda_b()))
2672 Relays Ambient Temperature Combobox Function 2675 rated_temp = self.comboBox_rel_rated_temperature.currentText()
2677 self.lineEdit_rel_ambient_temperature.clear()
2678 self.lineEdit_rel_lambda_b.clear()
2679 self.label_28.setEnabled(
False)
2680 self.lineEdit_rel_ambient_temperature.setEnabled(
False)
2682 ta_value = ta_value.replace(
".",
"_")
2683 new_str_ta =
"t_" + str(ta_value)
2685 if rated_temp !=
"" and rated_temp !=
"None":
2686 rated_temp.replace(
".",
"_")
2687 new_str_rated_temp =
"r_" + str(rated_temp)
2688 rel_lambda_b = rel_dict[
"Ambient Temperature"][str(new_str_ta)][str(new_str_rated_temp)]
2690 self.e_eq.rel_lambda_b = rel_lambda_b
2691 self.lineEdit_rel_lambda_b.setText(str(self.e_eq.get_rel_lambda_b()))
2693 self.e_eq.rel_lambda_b = 1.0
2694 self.lineEdit_rel_lambda_b.setText(str(self.e_eq.get_rel_lambda_b()))
2699 Relays Ambient Temperature Other Value Function 2701 self.lineEdit_rel_lambda_b.clear()
2702 self.label_28.setEnabled(
True)
2703 self.lineEdit_rel_ambient_temperature.setEnabled(
True)
2705 ta_value = self.lineEdit_rel_ambient_temperature.text()
2706 rated_temp = self.comboBox_rel_rated_temperature.currentText()
2708 if ta_value !=
"" and rated_temp !=
"" and rated_temp !=
"None":
2709 self.e_eq.rel_lambda_b_func(float(ta_value), float(rated_temp))
2710 self.lineEdit_rel_lambda_b.setText(str(self.e_eq.get_rel_lambda_b()))
2712 self.e_eq.rel_lambda_b = 1.0
2713 self.lineEdit_rel_lambda_b.setText(str(self.e_eq.get_rel_lambda_b()))
2718 Relays Strees Function 2720 stress = self.comboBox_rel_stress.currentText()
2722 if stress !=
"" and stress !=
"None":
2723 if stress !=
"Other value...":
2728 self.lineEdit_rel_pi_l.clear()
2729 self.e_eq.rel_pi_l = 1.0
2730 self.lineEdit_rel_pi_l.setText(str(self.e_eq.get_rel_pi_l()))
2735 Relays Strees Combobox Function 2738 load_type = self.comboBox_rel_load_type.currentText()
2740 self.lineEdit_rel_stress.clear()
2741 self.lineEdit_rel_pi_l.clear()
2742 self.label_29.setEnabled(
False)
2743 self.lineEdit_rel_stress.setEnabled(
False)
2745 stress = stress.replace(
".",
"_")
2746 new_str_stress =
"s_" + str(stress)
2748 if load_type !=
"" and load_type !=
"None":
2749 rel_pi_l = rel_dict[
"Stress"][str(new_str_stress)][str(load_type)]
2750 self.e_eq.rel_pi_l = rel_pi_l
2751 self.lineEdit_rel_pi_l.setText(str(self.e_eq.get_rel_pi_l()))
2753 self.e_eq.rel_pi_l = 1.0
2754 self.lineEdit_rel_pi_l.setText(str(self.e_eq.get_rel_pi_l()))
2759 Relays Strees Other Value Function 2761 self.lineEdit_rel_pi_l.clear()
2762 self.label_29.setEnabled(
True)
2763 self.lineEdit_rel_stress.setEnabled(
True)
2764 stress = self.lineEdit_rel_stress.text()
2765 load_type = self.comboBox_rel_load_type.currentText()
2767 if stress !=
"" and load_type !=
"" and load_type !=
"None":
2768 if load_type ==
"Resistive":
2770 elif load_type ==
"Inductive":
2772 elif load_type ==
"Lamp":
2775 self.e_eq.rel_pi_l_func(float(stress), int(select))
2776 self.lineEdit_rel_pi_l.setText(str(self.e_eq.get_rel_pi_l()))
2779 self.e_eq.rel_pi_l = 1.0
2780 self.lineEdit_rel_pi_l.setText(str(self.e_eq.get_rel_pi_l()))
2785 Relays Contact Form Function 2788 contact_form = self.comboBox_rel_contact_form.currentText()
2790 if contact_form !=
"" and contact_form !=
"None":
2791 self.lineEdit_rel_pi_c.clear()
2792 rel_pi_c = rel_dict[
"Contact Form"][str(contact_form)]
2793 self.e_eq.rel_pi_c = rel_pi_c
2794 self.lineEdit_rel_pi_c.setText(str(self.e_eq.rel_pi_c))
2796 self.lineEdit_rel_pi_c.clear()
2797 self.e_eq.rel_pi_c = 1.0
2798 self.lineEdit_rel_pi_c.setText(str(self.e_eq.rel_pi_c))
2803 Relays Cycle Rate Function 2805 self.lineEdit_rel_pi_cyc.clear()
2807 cycle = self.comboBox_rel_cycle_rate.currentText()
2809 if cycle !=
"" and cycle !=
"None":
2810 tmp_str1 = cycle.replace(
".",
"_")
2811 tmp_str2 = tmp_str1.replace(
" and ",
"_and_")
2812 tmp_str3 = tmp_str2.replace(
"Between ",
"btw_")
2813 tmp_str4 = tmp_str3.replace(
"> ",
"g_")
2814 tmp_str5 = tmp_str4.replace(
"< ",
"s_")
2815 tmp_str6 = tmp_str5.replace(
">= ",
"ge_")
2816 rel_pi_cyc_yaml_value = rel_dict[
"Cycle Rate"][str(tmp_str6)]
2818 if rel_pi_cyc_yaml_value ==
"None":
2824 self.label_rel_cycle_rate_2.setEnabled(
False)
2825 self.lineEdit_rel_cycle_rate.setEnabled(
False)
2826 self.lineEdit_rel_cycle_rate.clear()
2827 self.e_eq.rel_pi_cyc = 1.0
2828 self.lineEdit_rel_pi_cyc.setText(str(self.e_eq.get_rel_pi_cyc()))
2833 Relays Pi_cyc Default Value Function 2835 self.lineEdit_rel_cycle_rate.clear()
2836 self.label_rel_cycle_rate_2.setEnabled(
False)
2837 self.lineEdit_rel_cycle_rate.setEnabled(
False)
2838 self.e_eq.rel_pi_cyc = rel_pi_cyc_yaml_value
2839 self.lineEdit_rel_pi_cyc.setText(str(self.e_eq.get_rel_pi_cyc()))
2844 Relays Pi_cyc Formula Function 2846 self.label_rel_cycle_rate_2.setEnabled(
True)
2847 self.lineEdit_rel_cycle_rate.setEnabled(
True)
2849 cycle_val = self.lineEdit_rel_cycle_rate.text()
2852 if "(MIL-SPEC)" in tmp_str:
2854 elif "(Commercial Quality)" in tmp_str:
2857 self.e_eq.rel_pi_cyc_func(float(cycle_val), select)
2859 self.e_eq.rel_pi_cyc = 1.0
2861 self.lineEdit_rel_pi_cyc.setText(str(self.e_eq.get_rel_pi_cyc()))
2866 Relays Quality Function 2870 quality = self.comboBox_rel_quality.currentText()
2872 if quality !=
"" and quality !=
"None":
2873 self.lineEdit_rel_pi_q.clear()
2874 rel_pi_q = rel_dict[
"Quality"][str(quality)]
2876 self.e_eq.rel_pi_q = rel_pi_q
2877 self.lineEdit_rel_pi_q.setText(str(self.e_eq.rel_pi_q))
2879 self.lineEdit_rel_pi_q.clear()
2880 self.e_eq.rel_pi_q = 1.0
2881 self.lineEdit_rel_pi_q.setText(str(self.e_eq.rel_pi_q))
2886 Relays Environment Function 2889 environment = self.comboBox_rel_environment.currentText()
2891 if environment !=
"" and environment !=
"None":
2892 self.lineEdit_rel_pi_e.clear()
2893 rel_pi_e = rel_dict[
"Environment"][str(environment)]
2894 self.e_eq.rel_pi_e = rel_pi_e
2895 self.lineEdit_rel_pi_e.setText(str(self.e_eq.rel_pi_e))
2897 self.lineEdit_rel_pi_e.clear()
2898 self.e_eq.rel_pi_e = 1.0
2899 self.lineEdit_rel_pi_e.setText(str(self.e_eq.rel_pi_e))
2904 Relays Pi_f Function 2907 contact_rating = self.comboBox_rel_contact_rating.currentText()
2909 if contact_rating !=
"" and contact_rating !=
"None":
2910 self.lineEdit_rel_pi_f.clear()
2911 val = rel_dict[
"pi_f"][str(contact_rating)]
2913 if type(val) == int:
2914 self.e_eq.rel_pi_f = val
2915 self.lineEdit_rel_pi_f.setText(str(self.e_eq.rel_pi_f))
2917 self.e_eq.rel_pi_f = 1.0
2918 self.lineEdit_rel_pi_f.setText(str(self.e_eq.rel_pi_f))
2923 Relays Pi_f Function 2 2926 contact_rating = self.comboBox_rel_contact_rating.currentText()
2927 application_type = self.comboBox_rel_application_type.currentText()
2929 if application_type !=
"" and application_type !=
"None":
2930 self.lineEdit_rel_pi_f.clear()
2931 val = rel_dict[
"pi_f"][str(contact_rating)][str(application_type)]
2933 if type(val) == int:
2934 self.e_eq.rel_pi_f = val
2935 self.lineEdit_rel_pi_f.setText(str(self.e_eq.rel_pi_f))
2937 self.e_eq.rel_pi_f = 1.0
2938 self.lineEdit_rel_pi_f.setText(str(self.e_eq.rel_pi_f))
2943 Relays Pi_f Function 3 2947 contact_rating = self.comboBox_rel_contact_rating.currentText()
2948 application_type = self.comboBox_rel_application_type.currentText()
2949 construction_type = self.comboBox_rel_construction_type.currentText()
2951 if construction_type !=
"" and construction_type !=
"None":
2952 self.lineEdit_rel_pi_f.clear()
2953 val = rel_dict[
"pi_f"][str(contact_rating)][str(application_type)][str(construction_type)]
2955 if type(val) == int:
2956 self.e_eq.rel_pi_f = val
2957 self.lineEdit_rel_pi_f.setText(str(self.e_eq.rel_pi_f))
2959 self.e_eq.rel_pi_f = 1.0
2960 self.lineEdit_rel_pi_f.setText(str(self.e_eq.rel_pi_f))
2965 Relays Hazard Rate Function 2977 self.e_eq.relay_func()
2978 self.lineEdit_rel_lamda_p.setText(str(self.e_eq.get_rel_lambda()))
2984 Connectors, General Tab Function 2988 description_list = list(con_gen_dict[
"Description"].keys())
2989 temperature_list = list(con_gen_dict[
"Ambient Temperature"].keys())
2990 cycle_list = list(con_gen_dict[
"Mating-Unmating Cycles"].keys())
2991 quality_list = list(con_gen_dict[
"Quality"].keys())
2992 environment_list = list(con_gen_dict[
"Environment"].keys())
2994 temp_list_1 = list()
2995 temp_list_2 = list()
2997 for item
in temperature_list:
2998 temp_str = item.split(
"t_")
2999 new_val = int(temp_str[1])
3000 temp_list_1.append(new_val)
3002 for item
in cycle_list:
3003 tmp_str1 = item.replace(
"_to_",
" to ")
3004 tmp_str2 = tmp_str1.replace(
"g_",
"> ")
3005 tmp_str3 = tmp_str2.replace(
"_",
".")
3006 temp_list_2.append(tmp_str3)
3011 temp_list_1 = map(str, temp_list_1)
3012 temp_list_2 = map(str, temp_list_2)
3014 self.comboBox_con_gen_description.clear()
3015 self.comboBox_con_gen_t0.clear()
3016 self.comboBox_con_gen_cycles.clear()
3017 self.comboBox_con_gen_quality.clear()
3018 self.comboBox_con_gen_environment.clear()
3020 self.comboBox_con_gen_description.addItem(
"None")
3021 self.comboBox_con_gen_t0.addItem(
"None")
3022 self.comboBox_con_gen_cycles.addItem(
"None")
3023 self.comboBox_con_gen_quality.addItem(
"None")
3024 self.comboBox_con_gen_environment.addItem(
"None")
3026 self.comboBox_con_gen_description.addItems(list(description_list))
3027 self.comboBox_con_gen_t0.addItems(list(temp_list_1))
3028 self.comboBox_con_gen_cycles.addItems(list(temp_list_2))
3029 self.comboBox_con_gen_quality.addItems(list(quality_list))
3030 self.comboBox_con_gen_environment.addItems(list(environment_list))
3032 self.comboBox_con_gen_t0.addItem(
"Other value...")
3038 Connectors, General Description Function 3040 description = self.comboBox_con_gen_description.currentText()
3043 if description !=
"" and description !=
"None":
3044 self.lineEdit_con_gen_lambda_b.clear()
3045 con_gen_lambda_b = con_gen_dict[
"Description"][str(description)]
3046 self.e_eq.con_gen_lambda_b = con_gen_lambda_b
3047 self.lineEdit_con_gen_lambda_b.setText(str(self.e_eq.con_gen_lambda_b))
3049 self.lineEdit_con_gen_lambda_b.clear()
3050 self.e_eq.con_gen_lambda_b = 1.0
3051 self.lineEdit_con_gen_lambda_b.setText(str(self.e_eq.con_gen_lambda_b))
3056 Connectors, General t0 Function 3058 t0_value = self.comboBox_con_gen_t0.currentText()
3060 if t0_value !=
"" and t0_value !=
"None":
3061 if t0_value !=
"Other value...":
3066 self.lineEdit_con_gen_pi_t.clear()
3067 self.e_eq.con_gen_pi_t = 1.0
3068 self.lineEdit_con_gen_pi_t.setText(str(self.e_eq.get_con_gen_pi_t()))
3073 Connectors, General t0 Combobox Function 3076 self.lineEdit_con_gen_t0.clear()
3077 self.lineEdit_con_gen_pi_t.clear()
3078 self.label_17.setEnabled(
False)
3079 self.lineEdit_con_gen_t0.setEnabled(
False)
3081 new_str =
"t_" + str(t0_value)
3082 con_gen_pi_t = con_gen_dict[
"Ambient Temperature"][str(new_str)]
3084 self.e_eq.con_gen_pi_t = con_gen_pi_t
3085 self.lineEdit_con_gen_pi_t.setText(str(self.e_eq.get_con_gen_pi_t()))
3090 Connectors, General t0 Other Value Function 3092 self.lineEdit_con_gen_pi_t.clear()
3093 self.label_17.setEnabled(
True)
3094 self.lineEdit_con_gen_t0.setEnabled(
True)
3096 t0_value = self.lineEdit_con_gen_t0.text()
3099 self.e_eq.con_gen_pi_t_func(float(t0_value))
3100 self.lineEdit_con_gen_pi_t.setText(str(self.e_eq.get_con_gen_pi_t()))
3105 Connectors, General Cycles Function 3108 cycle = self.comboBox_con_gen_cycles.currentText()
3110 if cycle !=
"" and cycle !=
"None":
3111 self.lineEdit_con_gen_pi_k.clear()
3112 tmp_str1 = cycle.replace(
".",
"_")
3113 tmp_str2 = tmp_str1.replace(
" to ",
"_to_")
3114 tmp_str3 = tmp_str2.replace(
"> ",
"g_")
3115 con_gen_pi_k = con_gen_dict[
"Mating-Unmating Cycles"][str(tmp_str3)]
3117 self.e_eq.con_gen_pi_k = con_gen_pi_k
3118 self.lineEdit_con_gen_pi_k.setText(str(self.e_eq.con_gen_pi_k))
3120 self.lineEdit_con_gen_pi_k.clear()
3121 self.e_eq.con_gen_pi_k = 1.0
3122 self.lineEdit_con_gen_pi_k.setText(str(self.e_eq.con_gen_pi_k))
3127 Connectors, General Quality Function 3129 quality = self.comboBox_con_gen_quality.currentText()
3132 if quality !=
"" and quality !=
"None":
3133 self.lineEdit_con_gen_pi_q.clear()
3134 con_gen_pi_q = con_gen_dict[
"Quality"][str(quality)]
3135 self.e_eq.con_gen_pi_q = con_gen_pi_q
3136 self.lineEdit_con_gen_pi_q.setText(str(self.e_eq.con_gen_pi_q))
3138 self.lineEdit_con_gen_pi_q.clear()
3139 self.e_eq.con_gen_pi_q = 1.0
3140 self.lineEdit_con_gen_pi_q.setText(str(self.e_eq.con_gen_pi_q))
3145 Connectors, General Environment Function 3147 environment = self.comboBox_con_gen_environment.currentText()
3150 if environment !=
"" and environment !=
"None":
3151 self.lineEdit_con_gen_pi_e.clear()
3152 con_gen_pi_e = con_gen_dict[
"Environment"][str(environment)]
3153 self.e_eq.con_gen_pi_e = con_gen_pi_e
3154 self.lineEdit_con_gen_pi_e.setText(str(self.e_eq.con_gen_pi_e))
3156 self.lineEdit_con_gen_pi_e.clear()
3157 self.e_eq.con_gen_pi_e = 1.0
3158 self.lineEdit_con_gen_pi_e.setText(str(self.e_eq.con_gen_pi_e))
3163 Connectors, General Hazard Rate Function 3170 self.e_eq.connectors_general_func()
3171 self.lineEdit_con_gen_lamda_p.setText(str(self.e_eq.get_con_gen_lambda()))
3177 Connectors, Sockets Tab Function 3180 description_list = list(con_sock_dict[
"Description"].keys())
3181 quality_list = list(con_sock_dict[
"Quality"].keys())
3182 active_contact_numb_list = list(con_sock_dict[
"Number of Active Contacts"].keys())
3183 environment_list = list(con_sock_dict[
"Environment"].keys())
3185 temp_list_1 = list()
3187 for item
in active_contact_numb_list:
3188 temp_str = item.split(
"numb_")
3189 new_val = int(temp_str[1])
3190 temp_list_1.append(new_val)
3193 temp_list_1 = map(str, temp_list_1)
3195 self.comboBox_con_sock_description.clear()
3196 self.comboBox_con_sock_quality.clear()
3197 self.comboBox_con_sock_numb_of_active_contacts.clear()
3198 self.comboBox_con_sock_environment.clear()
3199 self.comboBox_con_sock_description.addItem(
"None")
3200 self.comboBox_con_sock_quality.addItem(
"None")
3201 self.comboBox_con_sock_numb_of_active_contacts.addItem(
"None")
3202 self.comboBox_con_sock_environment.addItem(
"None")
3203 self.comboBox_con_sock_description.addItems(list(description_list))
3204 self.comboBox_con_sock_quality.addItems(list(quality_list))
3205 self.comboBox_con_sock_numb_of_active_contacts.addItems(list(temp_list_1))
3206 self.comboBox_con_sock_environment.addItems(list(environment_list))
3207 self.comboBox_con_sock_numb_of_active_contacts.addItem(
"Other value...")
3213 Connectors, Sockets Quality Function 3215 quality = self.comboBox_con_sock_quality.currentText()
3218 if quality !=
"" and quality !=
"None":
3219 self.lineEdit_con_sock_pi_q.clear()
3220 con_sock_pi_q = con_sock_dict[
"Quality"][str(quality)]
3221 self.e_eq.con_sock_pi_q = con_sock_pi_q
3222 self.lineEdit_con_sock_pi_q.setText(str(self.e_eq.con_sock_pi_q))
3224 self.lineEdit_con_sock_pi_q.clear()
3225 self.e_eq.con_sock_pi_q = 1.0
3226 self.lineEdit_con_sock_pi_q.setText(str(self.e_eq.con_sock_pi_q))
3231 Connectors, Sockets Environment Function 3233 environment = self.comboBox_con_sock_environment.currentText()
3236 if environment !=
"" and environment !=
"None":
3237 self.lineEdit_con_sock_pi_e.clear()
3238 con_sock_pi_e = con_sock_dict[
"Environment"][str(environment)]
3239 self.e_eq.con_sock_pi_e = con_sock_pi_e
3240 self.lineEdit_con_sock_pi_e.setText(str(self.e_eq.con_sock_pi_e))
3242 self.lineEdit_con_sock_pi_e.clear()
3243 self.e_eq.con_sock_pi_e = 1.0
3244 self.lineEdit_con_sock_pi_e.setText(str(self.e_eq.con_sock_pi_e))
3249 Connectors, Sockets Description Function 3251 description = self.comboBox_con_sock_description.currentText()
3254 if description !=
"" and description !=
"None":
3255 self.lineEdit_con_sock_lambda_b.clear()
3256 con_sock_lambda_b = con_sock_dict[
"Description"][str(description)]
3257 self.e_eq.con_sock_lambda_b = con_sock_lambda_b
3258 self.lineEdit_con_sock_lambda_b.setText(str(self.e_eq.con_sock_lambda_b))
3260 self.lineEdit_con_sock_lambda_b.clear()
3261 self.e_eq.con_sock_lambda_b = 1.0
3262 self.lineEdit_con_sock_lambda_b.setText(str(self.e_eq.con_sock_lambda_b))
3267 Connectors, Sockets Numb of Active Contacts Function 3269 numb = self.comboBox_con_sock_numb_of_active_contacts.currentText()
3271 if numb !=
"" and numb !=
"None":
3272 if numb !=
"Other value...":
3277 self.lineEdit_con_sock_pi_p.clear()
3278 self.e_eq.con_sock_pi_p = 1.0
3279 self.lineEdit_con_sock_pi_p.setText(str(self.e_eq.get_con_sock_pi_p()))
3284 Connectors, Sockets Numb of Active Contacts Combobox Function 3287 self.lineEdit_con_sock_numb_of_active_contacts.clear()
3288 self.lineEdit_con_sock_pi_p.clear()
3289 self.label_16.setEnabled(
False)
3290 self.lineEdit_con_sock_numb_of_active_contacts.setEnabled(
False)
3292 new_str =
"numb_" + str(numb)
3293 con_sock_pi_p = con_sock_dict[
"Number of Active Contacts"][str(new_str)]
3295 self.e_eq.con_sock_pi_p = con_sock_pi_p
3296 self.lineEdit_con_sock_pi_p.setText(str(self.e_eq.get_con_sock_pi_p()))
3301 Connectors, Sockets Other Value Function 3303 self.lineEdit_con_sock_pi_p.clear()
3304 self.label_16.setEnabled(
True)
3305 self.lineEdit_con_sock_numb_of_active_contacts.setEnabled(
True)
3307 numb = self.lineEdit_con_sock_numb_of_active_contacts.text()
3310 self.e_eq.con_sock_pi_p_func(int(numb))
3311 self.lineEdit_con_sock_pi_p.setText(str(self.e_eq.get_con_sock_pi_p()))
3316 Connectors, Sockets Hazard Rate Function 3322 self.e_eq.connectors_sockets_func()
3323 self.lineEdit_con_sock_lamda_p.setText(str(self.e_eq.get_con_sock_lambda()))
3329 Quartz Crystals Tab Function 3332 frequency_list = list(quartz_dict[
"Frequency"].keys())
3333 environment_list = list(quartz_dict[
"Environment"].keys())
3334 quality_list = list(quartz_dict[
"Quality"].keys())
3335 temp_list_1 = list()
3337 for item
in frequency_list:
3338 temp_str = item.split(
"f_")
3339 new_val = float(temp_str[1].replace(
"_",
"."))
3340 temp_list_1.append(new_val)
3343 temp_list_1 = map(str, temp_list_1)
3345 self.comboBox_qrtz_frequency.clear()
3346 self.comboBox_qrtz_quality.clear()
3347 self.comboBox_qrtz_environment.clear()
3349 self.comboBox_qrtz_frequency.addItem(
"None")
3350 self.comboBox_qrtz_quality.addItem(
"None")
3351 self.comboBox_qrtz_environment.addItem(
"None")
3353 self.comboBox_qrtz_frequency.addItems(temp_list_1)
3354 self.comboBox_qrtz_quality.addItems(quality_list)
3355 self.comboBox_qrtz_environment.addItems(environment_list)
3357 self.comboBox_qrtz_frequency.addItem(
"Other value...")
3364 Quartz Crystals Frequency Function 3366 frequency = self.comboBox_qrtz_frequency.currentText()
3368 if frequency !=
"" and frequency !=
"None":
3369 if frequency !=
"Other value...":
3374 self.lineEdit_qrtz_lambda_b.clear()
3375 self.e_eq.qrtz_lambda_b = 1.0
3376 self.lineEdit_qrtz_lambda_b.setText(str(self.e_eq.get_qrtz_lambda_b()))
3381 Quartz Crystals Frequency Combobox Function 3384 self.lineEdit_qrtz_frequency.clear()
3385 self.lineEdit_qrtz_lambda_b.clear()
3386 self.label_15.setEnabled(
False)
3387 self.lineEdit_qrtz_frequency.setEnabled(
False)
3389 frequency = frequency.replace(
".",
"_")
3390 new_str =
"f_" + str(frequency)
3391 qrtz_lambda_b = quartz_dict[
"Frequency"][str(new_str)]
3393 self.e_eq.qrtz_lambda_b = qrtz_lambda_b
3394 self.lineEdit_qrtz_lambda_b.setText(str(self.e_eq.get_qrtz_lambda_b()))
3399 Quartz Crystals Other Value Function 3401 self.lineEdit_qrtz_lambda_b.clear()
3402 self.label_15.setEnabled(
True)
3403 self.lineEdit_qrtz_frequency.setEnabled(
True)
3404 frequency = self.lineEdit_qrtz_frequency.text()
3407 self.e_eq.qrtz_lambda_b_func(float(frequency))
3408 self.lineEdit_qrtz_lambda_b.setText(str(self.e_eq.get_qrtz_lambda_b()))
3413 Quartz Crystals Quality Function 3415 quality = self.comboBox_qrtz_quality.currentText()
3418 if quality !=
"" and quality !=
"None":
3419 self.lineEdit_qrtz_pi_q.clear()
3420 qrtz_pi_q = quartz_dict[
"Quality"][str(quality)]
3421 self.e_eq.qrtz_pi_q = qrtz_pi_q
3422 self.lineEdit_qrtz_pi_q.setText(str(self.e_eq.qrtz_pi_q))
3424 self.lineEdit_qrtz_pi_q.clear()
3425 self.e_eq.qrtz_pi_q = 1.0
3426 self.lineEdit_qrtz_pi_q.setText(str(self.e_eq.qrtz_pi_q))
3431 Quartz Crystals Environment Function 3433 environment = self.comboBox_qrtz_environment.currentText()
3436 if environment !=
"" and environment !=
"None":
3437 self.lineEdit_qrtz_pi_e.clear()
3438 qrtz_pi_e = quartz_dict[
"Environment"][str(environment)]
3439 self.e_eq.qrtz_pi_e = qrtz_pi_e
3440 self.lineEdit_qrtz_pi_e.setText(str(self.e_eq.qrtz_pi_e))
3442 self.lineEdit_qrtz_pi_e.clear()
3443 self.e_eq.qrtz_pi_e = 1.0
3444 self.lineEdit_qrtz_pi_e.setText(str(self.e_eq.qrtz_pi_e))
3449 Quartz Crystals Hazard Rate Function 3454 self.e_eq.quartz_crystals_func()
3455 self.lineEdit_qrtz_lamda_p.setText(str(self.e_eq.get_qrtz_lambda()))
3461 Capacitors Style Function 3464 comboBox_capacitor_style_list = list()
3466 for item
in temp_capacitor_style_list:
3467 temp = str(item).upper()
3468 comboBox_capacitor_style_list.append(str(temp))
3470 comboBox_capacitor_style_list.sort()
3471 self.comboBox_cc_style.addItem(
"None")
3472 self.comboBox_cc_style.addItems(comboBox_capacitor_style_list)
3477 Capacitors Tab Function 3479 self.comboBox_cc_capacitor_temperature.clear()
3480 self.comboBox_cc_circuit_resistance.clear()
3481 self.comboBox_cc_capacitance.clear()
3482 self.comboBox_cc_voltage_stress.clear()
3483 self.comboBox_cc_quality.clear()
3484 self.comboBox_cc_environment.clear()
3486 self.comboBox_cc_capacitor_temperature.addItem(
"None")
3487 self.comboBox_cc_circuit_resistance.addItem(
"None")
3488 self.comboBox_cc_capacitance.addItem(
"None")
3489 self.comboBox_cc_voltage_stress.addItem(
"None")
3490 self.comboBox_cc_quality.addItem(
"None")
3491 self.comboBox_cc_environment.addItem(
"None")
3493 if self.comboBox_cc_style.currentText() !=
"None":
3494 temp_capacitor = str(self.comboBox_cc_style.currentText()).lower()
3497 temp_temperature_factor_list = list(self.
electrical_equipments_dict[
"Capacitor"][
"Temperature Factor"][
"column_" + str(temp_dict[
"Temperature Factor"])].keys())
3498 temp_capacitance_factor_list = list(self.
electrical_equipments_dict[
"Capacitor"][
"Capacitance Factor"][
"column_" + str(temp_dict[
"Capacitance Factor"])].keys())
3499 temp_voltage_stress_list = list(self.
electrical_equipments_dict[
"Capacitor"][
"Voltage Stress"][
"column_" + str(temp_dict[
"Voltage Stress"])].keys())
3503 comboBox_temperature_factor_list = list()
3504 comboBox_capacitance_factor_list = list()
3505 comboBox_voltage_stress_list = list()
3506 comboBox_circuit_resistance_list = list()
3507 comboBox_quality_list = list()
3508 comboBox_environment_factor_list = list()
3510 if temp_dict[
"Circuit Resistance"] ==
"pi_sr":
3513 for item
in temp_circuit_resistance_list:
3514 temp = str(item).split(
"cr_")
3515 replace = temp[1].replace(
'_to_',
" to ")
3516 tmp = replace.replace(
'g_',
'> ')
3517 comboBox_circuit_resistance_list.append(tmp.replace(
'_',
'.'))
3519 comboBox_circuit_resistance_list.sort()
3520 self.comboBox_cc_circuit_resistance.addItems(comboBox_circuit_resistance_list)
3522 for item
in temp_temperature_factor_list:
3523 temp = str(item).split(
"c_")
3524 comboBox_temperature_factor_list.append(int(temp[1].replace(
'_',
'.')))
3526 for item
in temp_capacitance_factor_list:
3527 temp = str(item).split(
"cf_")
3528 comboBox_capacitance_factor_list.append(float(temp[1].replace(
'_',
'.')))
3530 for item
in temp_voltage_stress_list:
3531 temp = str(item).split(
"vs_")
3532 comboBox_voltage_stress_list.append(float(temp[1].replace(
'_',
'.')))
3534 for item
in temp_quality_list:
3535 temp = str(item).upper()
3536 comboBox_quality_list.append(temp.replace(
'_',
' '))
3538 for item
in temp_environment_factor_list:
3539 temp = str(item).upper()
3540 comboBox_environment_factor_list.append(temp.replace(
'_',
' - '))
3542 comboBox_temperature_factor_list.sort()
3543 comboBox_capacitance_factor_list.sort()
3544 comboBox_voltage_stress_list.sort()
3545 comboBox_quality_list.sort()
3546 comboBox_environment_factor_list.sort()
3548 comboBox_temperature_factor_list = map(str, comboBox_temperature_factor_list)
3549 comboBox_capacitance_factor_list = map(str, comboBox_capacitance_factor_list)
3550 comboBox_voltage_stress_list = map(str, comboBox_voltage_stress_list)
3552 self.comboBox_cc_capacitor_temperature.addItems(comboBox_temperature_factor_list)
3553 self.comboBox_cc_capacitance.addItems(comboBox_capacitance_factor_list)
3554 self.comboBox_cc_voltage_stress.addItems(comboBox_voltage_stress_list)
3555 self.comboBox_cc_quality.addItems(comboBox_quality_list)
3556 self.comboBox_cc_environment.addItems(comboBox_environment_factor_list)
3563 Capacitors Hazard Rate Function 3565 cb_cc_capacitor_temperature = self.comboBox_cc_capacitor_temperature.currentText()
3566 cb_cc_circuit_resistance = self.comboBox_cc_circuit_resistance.currentText()
3567 cb_cc_capacitance = self.comboBox_cc_capacitance.currentText()
3568 cb_cc_voltage_stress = self.comboBox_cc_voltage_stress.currentText()
3569 cb_cc_quality = self.comboBox_cc_quality.currentText()
3570 cb_cc_environment = self.comboBox_cc_environment.currentText()
3572 self.lineEdit_cc_lambda_b.clear()
3573 self.lineEdit_cc_pi_t.clear()
3574 self.lineEdit_cc_pi_sr.clear()
3575 self.lineEdit_cc_pi_c.clear()
3576 self.lineEdit_cc_pi_v.clear()
3577 self.lineEdit_cc_pi_q.clear()
3578 self.lineEdit_cc_pi_e.clear()
3579 self.lineEdit_cc_lamda_p.clear()
3581 if cb_cc_capacitor_temperature !=
"" and cb_cc_circuit_resistance !=
"" and cb_cc_capacitance !=
"" and cb_cc_voltage_stress !=
"" and cb_cc_quality !=
"" and cb_cc_environment !=
"":
3582 temp_capacitor = str(self.comboBox_cc_style.currentText()).lower()
3584 if temp_capacitor !=
"none":
3587 self.lineEdit_cc_lambda_b.setText(str(self.e_eq.cc_lambda_b))
3589 self.e_eq.cc_lambda_b = 1.0
3591 if cb_cc_circuit_resistance !=
"None":
3592 temp_1 = cb_cc_circuit_resistance.replace(
'.',
'_')
3593 temp_2 = temp_1.replace(
' to ',
'_to_')
3594 temp_3 = temp_2.replace(
'> ',
'g_')
3596 select_circuit_resistance = str(
"cr_" + temp_3)
3598 self.lineEdit_cc_pi_sr.setText(str(self.e_eq.get_cc_pi_sr()))
3600 self.e_eq.cc_pi_sr_func(
"None")
3602 if cb_cc_capacitance !=
"None":
3603 select_capacitance_factor = str(
"cf_" + cb_cc_capacitance.replace(
'.',
'_'))
3604 self.e_eq.cc_pi_c_func(self.
electrical_equipments_dict[
"Capacitor"][
"Capacitance Factor"][
"column_" + str(temp_dict[
"Capacitance Factor"])][select_capacitance_factor], 0)
3605 self.lineEdit_cc_pi_c.setText(str(self.e_eq.get_cc_pi_c()))
3607 self.e_eq.cc_pi_c_func(0, 9)
3609 if cb_cc_voltage_stress !=
"None":
3610 select_voltage_stress = str(
"vs_" + cb_cc_voltage_stress.replace(
'.',
'_'))
3611 self.e_eq.cc_pi_v_func(self.
electrical_equipments_dict[
"Capacitor"][
"Voltage Stress"][
"column_" + str(temp_dict[
"Voltage Stress"])][select_voltage_stress], 0)
3612 self.lineEdit_cc_pi_v.setText(str(self.e_eq.get_cc_pi_v()))
3614 self.e_eq.cc_pi_v_func(0, 9)
3616 if cb_cc_quality !=
"None":
3617 temp = cb_cc_quality.replace(
' ',
'_')
3618 select_quality = str(temp.lower())
3620 self.lineEdit_cc_pi_q.setText(str(self.e_eq.cc_pi_q))
3622 self.e_eq.cc_pi_q = 1.0
3624 if cb_cc_environment !=
"None":
3625 temp = cb_cc_environment.replace(
' - ',
'_')
3626 select_environment = str(temp.lower())
3628 self.lineEdit_cc_pi_e.setText(str(self.e_eq.cc_pi_e))
3630 self.e_eq.cc_pi_e = 1.0
3632 if cb_cc_capacitor_temperature !=
"None":
3633 select_capacitor_temperature = str(
"c_" + cb_cc_capacitor_temperature.replace(
'.',
'_'))
3634 self.e_eq.cc_pi_t_func(self.
electrical_equipments_dict[
"Capacitor"][
"Temperature Factor"][
"column_" + str(temp_dict[
"Temperature Factor"])][select_capacitor_temperature], 0)
3635 self.lineEdit_cc_pi_t.setText(str(self.e_eq.get_cc_pi_t()))
3637 self.e_eq.cc_pi_t_func(0, 9)
3640 self.e_eq.capacitors_func()
3642 self.lineEdit_cc_lamda_p.setText(str(self.e_eq.get_cc_lambda()))
3648 Diodes Type Function 3651 comboBox_dd_type_list.sort()
3652 self.comboBox_dd_type.addItem(
"None")
3653 self.comboBox_dd_type.addItems(comboBox_dd_type_list)
3660 self.comboBox_dd_junction_temperature.clear()
3661 self.comboBox_dd_voltage_stress.clear()
3662 self.comboBox_dd_contact_construction.clear()
3663 self.comboBox_dd_quality.clear()
3664 self.comboBox_dd_environment.clear()
3666 self.comboBox_dd_junction_temperature.addItem(
"None")
3667 self.comboBox_dd_voltage_stress.addItem(
"None")
3668 self.comboBox_dd_contact_construction.addItem(
"None")
3669 self.comboBox_dd_quality.addItem(
"None")
3670 self.comboBox_dd_environment.addItem(
"None")
3672 if self.comboBox_dd_type.currentText() !=
"None":
3673 temp_diode = str(self.comboBox_dd_type.currentText())
3676 comboBox_temperature_factor_list = list()
3677 comboBox_voltage_stress_list = list()
3678 comboBox_contact_construction_list = list()
3679 comboBox_quality_list = list()
3680 comboBox_environment_list = list()
3682 temp_temperature_factor_list = list(self.
electrical_equipments_dict[
"Diode"][
"Temperature Factor"][
"column_" + str(temp_dict[
"Temperature Factor"])].keys())
3683 temp_voltage_stress_list = list(self.
electrical_equipments_dict[
"Diode"][
"Electrical Stress Factor"][
"column_" + str(temp_dict[
"Electrical Stress Factor"])].keys())
3688 for item
in temp_temperature_factor_list:
3689 temp = str(item).split(
"c_")
3690 comboBox_temperature_factor_list.append(int(temp[1].replace(
'_',
'.')))
3692 for item
in temp_voltage_stress_list:
3693 temp_1 = str(item).split(
"esf_")
3694 temp_2 = temp_1[1].replace(
'_and_',
" and ")
3695 temp_3 = temp_2.replace(
'g_',
'> ')
3696 temp_4 = temp_3.replace(
's_',
'< ')
3697 comboBox_voltage_stress_list.append(temp_4.replace(
'_',
'.'))
3699 for item
in temp_environment_list:
3700 temp = str(item).upper()
3701 comboBox_environment_list.append(temp.replace(
'_',
' - '))
3703 comboBox_contact_construction_list = temp_contact_construction_list
3704 comboBox_quality_list = temp_quality_list
3706 comboBox_temperature_factor_list.sort()
3707 comboBox_voltage_stress_list.sort()
3708 comboBox_contact_construction_list.sort()
3709 comboBox_quality_list.sort()
3710 comboBox_environment_list.sort()
3712 comboBox_temperature_factor_list = map(str, comboBox_temperature_factor_list)
3713 comboBox_voltage_stress_list = map(str, comboBox_voltage_stress_list)
3715 self.comboBox_dd_junction_temperature.addItems(comboBox_temperature_factor_list)
3716 self.comboBox_dd_voltage_stress.addItems(comboBox_voltage_stress_list)
3717 self.comboBox_dd_contact_construction.addItems(comboBox_contact_construction_list)
3718 self.comboBox_dd_quality.addItems(comboBox_quality_list)
3719 self.comboBox_dd_environment.addItems(comboBox_environment_list)
3726 Diodes Hazard Rate Function 3728 cb_dd_type = self.comboBox_dd_type.currentText()
3729 cb_dd_junction_temperature = self.comboBox_dd_junction_temperature.currentText()
3730 cb_dd_voltage_stress = self.comboBox_dd_voltage_stress.currentText()
3731 cb_dd_contact_construction = self.comboBox_dd_contact_construction.currentText()
3732 cb_dd_quality = self.comboBox_dd_quality.currentText()
3733 cb_dd_environment = self.comboBox_dd_environment.currentText()
3735 self.lineEdit_dd_lambda_b.clear()
3736 self.lineEdit_dd_pi_t.clear()
3737 self.lineEdit_dd_pi_s.clear()
3738 self.lineEdit_dd_pi_c.clear()
3739 self.lineEdit_dd_pi_q.clear()
3740 self.lineEdit_dd_pi_e.clear()
3742 if cb_dd_type !=
"" and cb_dd_junction_temperature !=
"" and cb_dd_voltage_stress !=
"" and cb_dd_contact_construction !=
"" and cb_dd_quality !=
"" and cb_dd_environment !=
"":
3743 if cb_dd_type !=
"None":
3746 self.lineEdit_dd_lambda_b.setText(str(self.e_eq.dd_lambda_b))
3748 self.e_eq.dd_lambda_b = 1.0
3750 if cb_dd_junction_temperature !=
"None":
3751 select_temperature_factor = str(
"c_" + cb_dd_junction_temperature.replace(
'.',
'_'))
3752 self.e_eq.dd_pi_t_func(self.
electrical_equipments_dict[
"Diode"][
"Temperature Factor"][
"column_" + str(temp_dict[
"Temperature Factor"])][select_temperature_factor], 0)
3753 self.lineEdit_dd_pi_t.setText(str(self.e_eq.get_dd_pi_t()))
3755 self.e_eq.dd_pi_t_func(0, 9)
3757 if cb_dd_voltage_stress !=
"None":
3758 temp_1 = cb_dd_voltage_stress.replace(
'.',
'_')
3759 temp_2 = temp_1.replace(
' and ',
'_and_')
3760 temp_3 = temp_2.replace(
'> ',
'g_')
3761 temp_4 = temp_3.replace(
'< ',
's_')
3763 select_temperature_factor = str(
"esf_" + temp_4)
3764 self.e_eq.dd_pi_s_func(self.
electrical_equipments_dict[
"Diode"][
"Electrical Stress Factor"][
"column_" + str(temp_dict[
"Electrical Stress Factor"])][select_temperature_factor], int(temp_dict[
"Electrical Stress Factor"]))
3765 self.lineEdit_dd_pi_s.setText(str(self.e_eq.get_dd_pi_s()))
3767 self.e_eq.dd_pi_s_func(0, 0)
3769 if cb_dd_contact_construction !=
"None":
3770 select_contact_construction = str(cb_dd_contact_construction)
3771 self.e_eq.dd_pi_c = float(self.
electrical_equipments_dict[
"Diode"][
"Contact Construction Factor"][select_contact_construction])
3772 self.lineEdit_dd_pi_c.setText(str(self.e_eq.dd_pi_c))
3774 self.e_eq.dd_pi_c = 1.0
3776 if cb_dd_quality !=
"None":
3777 select_quality = str(cb_dd_quality)
3779 self.lineEdit_dd_pi_q.setText(str(self.e_eq.dd_pi_q))
3781 self.e_eq.dd_pi_q = 1.0
3783 if cb_dd_environment !=
"None":
3784 temp = cb_dd_environment.replace(
' - ',
'_')
3785 select_environment = str(temp.lower())
3787 self.lineEdit_dd_pi_e.setText(str(self.e_eq.dd_pi_e))
3789 self.e_eq.dd_pi_e = 1.0
3791 self.e_eq.diodes_func()
3792 self.lineEdit_dd_lamda_p.setText(str(self.e_eq.get_dd_lambda()))
3798 Inductors Tab Function 3800 self.comboBox_id_type.clear()
3801 self.comboBox_id_hot_spot_temperature.clear()
3802 self.comboBox_id_quality.clear()
3803 self.comboBox_id_environment.clear()
3805 self.comboBox_id_type.addItem(
"None")
3806 self.comboBox_id_hot_spot_temperature.addItem(
"None")
3807 self.comboBox_id_quality.addItem(
"None")
3808 self.comboBox_id_environment.addItem(
"None")
3810 comboBox_id_type_list = list()
3811 comboBox_id_hot_spot_temperature_list = list()
3812 comboBox_id_quality_list = list()
3813 comboBox_id_environment_list = list()
3820 for item
in temp_id_hot_spot_temperature_list:
3821 temp = str(item).split(
"c_")
3822 comboBox_id_hot_spot_temperature_list.append(int(temp[1].replace(
'_',
'.')))
3824 for item
in temp_id_environment_list:
3825 temp = str(item).upper()
3826 comboBox_id_environment_list.append(temp.replace(
'_',
' - '))
3828 for item
in temp_id_quality_list:
3830 comboBox_id_quality_list.append(temp.replace(
'_',
' - '))
3832 comboBox_id_type_list = temp_id_type_list
3834 comboBox_id_type_list.sort()
3835 comboBox_id_hot_spot_temperature_list.sort()
3836 comboBox_id_quality_list.sort()
3837 comboBox_id_environment_list.sort()
3839 comboBox_id_hot_spot_temperature_list = map(str, comboBox_id_hot_spot_temperature_list)
3841 self.comboBox_id_type.addItems(comboBox_id_type_list)
3842 self.comboBox_id_hot_spot_temperature.addItems(comboBox_id_hot_spot_temperature_list)
3843 self.comboBox_id_quality.addItems(comboBox_id_quality_list)
3844 self.comboBox_id_environment.addItems(comboBox_id_environment_list)
3851 Inductors Hazard Rate Function 3853 cb_id_type = self.comboBox_id_type.currentText()
3854 cb_id_hot_spot_temperature = self.comboBox_id_hot_spot_temperature.currentText()
3855 cb_id_quality = self.comboBox_id_quality.currentText()
3856 cb_id_environment = self.comboBox_id_environment.currentText()
3858 self.lineEdit_id_lambda_b.clear()
3859 self.lineEdit_id_pi_t.clear()
3860 self.lineEdit_id_pi_q.clear()
3861 self.lineEdit_id_pi_e.clear()
3863 if cb_id_type !=
"" and cb_id_hot_spot_temperature !=
"" and cb_id_quality !=
"" and cb_id_environment !=
"":
3864 if cb_id_type !=
"None":
3866 self.lineEdit_id_lambda_b.setText(str(self.e_eq.id_lambda_b))
3868 self.e_eq.id_lambda_b = 1.0
3870 if cb_id_hot_spot_temperature !=
"None":
3871 select_hot_spot_temperature = str(
"c_" + cb_id_hot_spot_temperature.replace(
'.',
'_'))
3873 self.lineEdit_id_pi_t.setText(str(self.e_eq.get_id_pi_t()))
3875 self.e_eq.id_pi_t_func(0, 9)
3877 if cb_id_quality !=
"None":
3878 temp = cb_id_quality.replace(
' - ',
'_')
3879 select_quality = str(temp)
3881 self.lineEdit_id_pi_q.setText(str(self.e_eq.id_pi_q))
3883 self.e_eq.id_pi_q = 1.0
3885 if cb_id_environment !=
"None":
3886 temp = cb_id_environment.replace(
' - ',
'_')
3887 select_environment = str(temp.lower())
3889 self.lineEdit_id_pi_e.setText(str(self.e_eq.id_pi_e))
3891 self.e_eq.id_pi_e = 1.0
3893 self.e_eq.inductors_func()
3894 self.lineEdit_id_lamda_p.setText(str(self.e_eq.get_id_lambda()))
3900 Transistors Tab Function 3902 self.comboBox_ts_type.clear()
3903 self.comboBox_ts_quality.clear()
3904 self.comboBox_ts_junction_temperature.clear()
3905 self.comboBox_ts_environment.clear()
3907 self.comboBox_ts_type.addItem(
"None")
3908 self.comboBox_ts_quality.addItem(
"None")
3909 self.comboBox_ts_junction_temperature.addItem(
"None")
3910 self.comboBox_ts_environment.addItem(
"None")
3912 comboBox_ts_type_list = list()
3913 comboBox_ts_quality_list = list()
3914 comboBox_ts_junction_temperature_list = list()
3915 comboBox_ts_environment_list = list()
3922 for item
in temp_ts_junction_temperature_list:
3923 temp = str(item).split(
"c_")
3924 comboBox_ts_junction_temperature_list.append(int(temp[1].replace(
'_',
'.')))
3926 for item
in temp_ts_environment_list:
3927 temp = str(item).upper()
3928 comboBox_ts_environment_list.append(temp.replace(
'_',
' - '))
3930 comboBox_ts_type_list = temp_ts_type_list
3931 comboBox_ts_quality_list = temp_ts_quality_list
3933 comboBox_ts_type_list.sort()
3934 comboBox_ts_quality_list.sort()
3935 comboBox_ts_junction_temperature_list.sort()
3936 comboBox_ts_environment_list.sort()
3938 comboBox_ts_junction_temperature_list = map(str, comboBox_ts_junction_temperature_list)
3940 self.comboBox_ts_type.addItems(comboBox_ts_type_list)
3941 self.comboBox_ts_quality.addItems(comboBox_ts_quality_list)
3942 self.comboBox_ts_junction_temperature.addItems(comboBox_ts_junction_temperature_list)
3943 self.comboBox_ts_environment.addItems(comboBox_ts_environment_list)
3950 Transistors Hazard Rate Function 3952 cb_ts_type = self.comboBox_ts_type.currentText()
3953 cb_ts_quality = self.comboBox_ts_quality.currentText()
3954 cb_ts_junction_temperature = self.comboBox_ts_junction_temperature.currentText()
3955 cb_ts_environment = self.comboBox_ts_environment.currentText()
3957 self.lineEdit_ts_lambda_b.clear()
3958 self.lineEdit_ts_pi_q.clear()
3959 self.lineEdit_ts_pi_t.clear()
3960 self.lineEdit_ts_pi_e.clear()
3963 if cb_ts_type !=
"" and cb_ts_quality !=
"" and cb_ts_junction_temperature !=
"" and cb_ts_environment !=
"":
3964 if cb_ts_type !=
"None":
3966 self.lineEdit_ts_lambda_b.setText(str(self.e_eq.ts_lambda_b))
3968 self.e_eq.ts_lambda_b = 1.0
3970 if cb_ts_quality !=
"None":
3972 self.lineEdit_ts_pi_q.setText(str(self.e_eq.ts_pi_q))
3974 self.e_eq.ts_pi_q = 1.0
3976 if cb_ts_junction_temperature !=
"None":
3977 select_junction_temperature = str(
"c_" + cb_ts_junction_temperature.replace(
'.',
'_'))
3979 self.lineEdit_ts_pi_t.setText(str(self.e_eq.get_ts_pi_t()))
3981 self.e_eq.ts_pi_t_func(0, 9)
3983 if cb_ts_environment !=
"None":
3984 temp = cb_ts_environment.replace(
' - ',
'_')
3985 select_environment = str(temp.lower())
3987 self.lineEdit_ts_pi_e.setText(str(self.e_eq.ts_pi_e))
3989 self.e_eq.ts_pi_e = 1.0
3991 self.e_eq.transistors_func()
3992 self.lineEdit_ts_lamda_p.setText(str(self.e_eq.get_ts_lambda()))
4000 self.comboBox_fs_type.clear()
4001 self.comboBox_fs_environment.clear()
4002 self.comboBox_fs_type.addItem(
"None")
4003 self.comboBox_fs_environment.addItem(
"None")
4005 comboBox_fs_type_list = list()
4006 comboBox_fs_environment_list = list()
4011 for item
in temp_fs_type_list:
4013 comboBox_fs_type_list.append(temp.replace(
'_',
' - '))
4015 for item
in temp_fs_environment_list:
4016 temp = str(item).upper()
4017 comboBox_fs_environment_list.append(temp.replace(
'_',
' - '))
4019 comboBox_fs_type_list.sort()
4020 comboBox_fs_environment_list.sort()
4022 self.comboBox_fs_type.addItems(comboBox_fs_type_list)
4023 self.comboBox_fs_environment.addItems(comboBox_fs_environment_list)
4030 Fuses Hazard Rate Function 4032 cb_fs_type = self.comboBox_fs_type.currentText()
4033 cb_fs_environment = self.comboBox_fs_environment.currentText()
4034 self.lineEdit_fs_lambda_b.clear()
4035 self.lineEdit_fs_pi_e.clear()
4037 if cb_fs_type !=
"" and cb_fs_environment !=
"":
4038 if cb_fs_type !=
"None":
4039 temp = cb_fs_type.replace(
' - ',
'_')
4040 select_type = str(temp)
4042 self.lineEdit_fs_lambda_b.setText(str(self.e_eq.fs_lambda_b))
4044 self.e_eq.fs_lambda_b = 1.0
4046 if cb_fs_environment !=
"None":
4047 temp = cb_fs_environment.replace(
' - ',
'_')
4048 select_environment = str(temp.lower())
4050 self.lineEdit_fs_pi_e.setText(str(self.e_eq.fs_pi_e))
4052 self.e_eq.fs_pi_e = 1.0
4054 self.e_eq.fuses_func()
4055 self.lineEdit_fs_lamda_p.setText(str(self.e_eq.get_fs_lambda()))
def qrtz_quality_func(self)
def con_sock_numb_of_active_contacts_func(self)
lineEdit_rd_bearing_ambient_temperature
comboBox_rel_rated_temperature
def qrtz_other_value_control(self)
label_rd_bearing_a_determination
def con_gen_t0_func(self)
def resistor_stress_func(self)
def rel_pi_cyc_formula_func(self, tmp_str)
def retranslateUi(self, MainWindow)
def transistor_tab_func(self)
def rot_dev_alpha_b_func(self)
comboBox_rd_winding_ambient_temperature
def frequency_combobox_control(self, frequency)
def ta_other_value_control(self)
def inductor_tab_func(self)
def clicked_main_func(self, set_data)
label_dd_contact_construction
def clicked_button_c_ee_inductor_func(self)
comboBox_con_sock_numb_of_active_contacts
def rel_ambient_temperature_func(self)
def rot_dev_a_determination_func(self)
def clicked_button_c_ee_rel_func(self)
label_con_sock_environment
def inductor_hazard_rate_func(self)
def con_sock_other_value_control(self)
def rd_hazard_rate_func(self)
electrical_equipments_dict
label_con_gen_description
def rot_dev_lambda_2_func(self)
lineEdit_con_sock_lambda_b
addButton_c_ee_transistor
def clicked_button_c_ee_diode_func(self)
label_con_sock_numb_of_active_coils
comboBox_cc_voltage_stress
label_id_hot_spot_temperature
def rel_cycle_rate_func(self)
def res_stress_other_value_func(self)
def con_gen_cycles_func(self)
def alpha_w_other_value_control(self)
def rel_stress_func(self)
label_rel_construction_type
label_rd_winding_lambda2_determination
def clicked_button_c_ee_rd_func(self)
comboBox_rd_winding_motor_type
def rel_pi_f_func_2(self)
def con_sock_quality_func(self)
def t0_other_value_control(self)
label_rd_bearing_lambda1_determination
def clicked_button_c_ee_qrtz_func(self)
def con_sock_hazard_rate_func(self)
lineEdit_c_ts_warning_box
lineEdit_rd_bearing_characteristic_life
groupBox_con_sock_lambda_p
comboBox_rel_contact_form
comboBox_dd_contact_construction
def rotating_devices_tab_func(self)
def numb_of_active_contact_combobox_control(self, numb)
comboBox_con_gen_description
lineEdit_con_sock_numb_of_active_contacts
lineEdit_c_cc_warning_box
def resistor_quality_func(self)
def diode_type_data(self)
lineEdit_rd_bearing_lambda1_determination
def connectors_sockets_tab_func(self)
lineEdit_rd_winding_ambient_temperature
groupBox_con_gen_lambda_p
comboBox_rel_contact_rating
lineEdit_c_con_sock_warning_box
lineEdit_rd_winding_characteristic_life
label_rd_winding_b_determination
def relays_tab_func_3(self)
def rel_pi_f_func_3(self)
def rel_contact_form_func(self)
comboBox_qrtz_environment
def resistor_style_func(self)
def resistor_temperature_func(self)
def quartz_crystals_tab_func(self)
label_cc_circuit_resistance
def transistor_hazard_rate_func(self)
def alpha_b_combobox_control(self, temperature)
def res_hazard_rate_func(self)
comboBox_con_sock_quality
def power_dissip_combobox_control(self, power_dissip)
lineEdit_c_dd_warning_box
comboBox_con_gen_environment
lineEdit_rd_winding_lambda2_determination
label_rd_bearing_characteristic_life
label_dd_junction_temperature
def diode_hazard_rate_func(self)
def capacitor_style_data(self)
comboBox_con_sock_environment
def rel_hazard_rate_func(self)
def resistor_environment_func(self)
label_ts_junction_temperature
label_rd_bearing_motor_type
def qrtz_frequency_func(self)
def rel_environment_func(self)
def res_temp_other_value_func(self)
def clicked_button_c_ee_con_sock_func(self)
def clicked_button_c_ee_fuse_func(self)
label_cc_capacitance_value
lineEdit_con_sock_lamda_p
comboBox_con_sock_description
def rot_dev_lambda_1_func(self)
def rot_dev_b_determination_func(self)
def clicked_button_c_ee_res_func(self)
def t0_combobox_control(self, t0_value)
comboBox_rel_ambient_temperature
tabWidget_electrical_equipments
lineEdit_c_con_gen_warning_box
def res_stress_combobox_func(self, stress)
def alpha_w_combobox_control(self, temperature)
label_rel_ambient_temperature
def electrical_equipments_button_click_event_func(self)
def electrical_equipments_general_events_func(self)
def setupUi(self, MainWindow)
label_rel_rated_temperature
label_rd_winding_ambient_temperature
def connectors_general_tab_func(self)
label_con_sock_description
lineEdit_c_id_warning_box
label_rel_application_type
lineEdit_c_rd_warning_box
comboBox_id_hot_spot_temperature
def resistor_tab_func(self)
lineEdit_c_res_warning_box
lineEdit_c_qrtz_warning_box
def clicked_button_c_ee_transistor_func(self)
def relays_tab_func(self)
def capacitor_tab_func(self)
label_rd_winding_motor_type
comboBox_rel_application_type
def relays_tab_func_2(self)
lineEdit_con_gen_lambda_b
def rel_quality_func(self)
def stress_combobox_control(self, stress)
def fuse_hazard_rate_func(self)
def power_dissip_other_value_control(self)
def res_power_dissip_func(self)
comboBox_dd_voltage_stress
comboBox_dd_junction_temperature
def quartz_hazard_rate_func(self)
def clicked_button_c_ee_con_gen_func(self)
def con_gen_quality_func(self)
def alpha_b_other_value_control(self)
lineEdit_rd_winding_b_determination
comboBox_cc_capacitor_temperature
def res_temp_combobox_func(self, temperature)
lineEdit_rel_ambient_temperature
def stress_other_value_control(self)
label_rd_winding_characteristic_life
def con_gen_hazard_rate_func(self)
def rot_dev_alpha_w_func(self)
comboBox_rd_bearing_motor_type
def rel_pi_cyc_default_value_func(self, rel_pi_cyc_yaml_value)
def con_gen_description_func(self)
comboBox_rel_construction_type
lineEdit_c_rel_warning_box
def __init__(self, ui_class, data_path, equipment_type)
def ta_combobox_control(self, ta_value)
label_rd_bearing_ambient_temperature
def con_gen_environment_func(self)
comboBox_rd_bearing_ambient_temperature
lineEdit_rd_bearing_a_determination
def qrtz_environment_func(self)
comboBox_cc_circuit_resistance
def con_sock_environment_func(self)
lineEdit_c_fs_warning_box
comboBox_ts_junction_temperature
def clicked_button_c_ee_capacitor_func(self)
def con_sock_description_func(self)
def capacitor_hazard_rate_func(self)