5 PHM Mechanical Equipments Gui 8 from PyQt5
import QtCore, QtGui, QtWidgets
9 from phm_hazard_rate_calculation.class_mechanical_equipment
import MechanicalEquipment
13 Mechanical Equipment Window Class 15 def __init__(self, ui_class, data_path, equipment_type):
20 self.
m_eq = MechanicalEquipment()
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_mechanical_equipments.setGeometry(QtCore.QRect(0, 0, 1100, 900))
53 self.tabWidget_mechanical_equipments.setObjectName(
"tabWidget_mechanical_equipments")
55 self.tab_springs.setObjectName(
"tab_springs")
57 self.comboBox_sp_material_type.setGeometry(QtCore.QRect(140, 10, 131, 27))
58 self.comboBox_sp_material_type.setObjectName(
"comboBox_sp_material_type")
60 self.label_sp_material_type.setGeometry(QtCore.QRect(30, 10, 101, 31))
61 self.label_sp_material_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
62 self.label_sp_material_type.setObjectName(
"label_sp_material_type")
64 self.comboBox_sp_material.setGeometry(QtCore.QRect(140, 40, 131, 27))
65 self.comboBox_sp_material.setObjectName(
"comboBox_sp_material")
67 self.label_sp_material.setGeometry(QtCore.QRect(30, 40, 101, 31))
68 self.label_sp_material.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
69 self.label_sp_material.setObjectName(
"label_sp_material")
71 self.lineEdit_sp_c_g.setGeometry(QtCore.QRect(140, 80, 131, 27))
72 self.lineEdit_sp_c_g.setReadOnly(
True)
73 self.lineEdit_sp_c_g.setObjectName(
"lineEdit_sp_c_g")
75 self.label_sp_c_g.setGeometry(QtCore.QRect(-10, 70, 141, 31))
79 self.label_sp_c_g.setFont(font)
80 self.label_sp_c_g.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
81 self.label_sp_c_g.setWordWrap(
True)
82 self.label_sp_c_g.setObjectName(
"label_sp_c_g")
84 self.line_58.setGeometry(QtCore.QRect(10, 120, 300, 3))
85 self.line_58.setFrameShape(QtWidgets.QFrame.HLine)
86 self.line_58.setFrameShadow(QtWidgets.QFrame.Sunken)
87 self.line_58.setObjectName(
"line_58")
89 self.lineEdit_sp_d_w.setGeometry(QtCore.QRect(141, 140, 131, 27))
90 self.lineEdit_sp_d_w.setObjectName(
"lineEdit_sp_d_w")
92 self.label_sp_d_w.setGeometry(QtCore.QRect(30, 130, 101, 31))
93 self.label_sp_d_w.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
94 self.label_sp_d_w.setWordWrap(
True)
95 self.label_sp_d_w.setObjectName(
"label_sp_d_w")
97 self.label_sp_c_dw.setGeometry(QtCore.QRect(10, 220, 121, 31))
101 self.label_sp_c_dw.setFont(font)
102 self.label_sp_c_dw.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
103 self.label_sp_c_dw.setWordWrap(
True)
104 self.label_sp_c_dw.setObjectName(
"label_sp_c_dw")
106 self.lineEdit_sp_c_dw.setGeometry(QtCore.QRect(140, 230, 131, 27))
107 self.lineEdit_sp_c_dw.setReadOnly(
True)
108 self.lineEdit_sp_c_dw.setObjectName(
"lineEdit_sp_c_dw")
110 self.lineEdit_sp_c_dc.setGeometry(QtCore.QRect(140, 280, 131, 27))
111 self.lineEdit_sp_c_dc.setReadOnly(
True)
112 self.lineEdit_sp_c_dc.setObjectName(
"lineEdit_sp_c_dc")
114 self.line_60.setGeometry(QtCore.QRect(10, 380, 300, 3))
115 self.line_60.setFrameShape(QtWidgets.QFrame.HLine)
116 self.line_60.setFrameShadow(QtWidgets.QFrame.Sunken)
117 self.line_60.setObjectName(
"line_60")
119 self.label_sp_c_dc.setGeometry(QtCore.QRect(10, 270, 121, 31))
123 self.label_sp_c_dc.setFont(font)
124 self.label_sp_c_dc.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
125 self.label_sp_c_dc.setWordWrap(
True)
126 self.label_sp_c_dc.setObjectName(
"label_sp_c_dc")
128 self.lineEdit_sp_d_c.setGeometry(QtCore.QRect(140, 180, 131, 27))
129 self.lineEdit_sp_d_c.setObjectName(
"lineEdit_sp_d_c")
131 self.label_sp_d_c.setGeometry(QtCore.QRect(29, 170, 101, 31))
132 self.label_sp_d_c.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
133 self.label_sp_d_c.setWordWrap(
True)
134 self.label_sp_d_c.setObjectName(
"label_sp_d_c")
136 self.lineEdit_sp_c_n.setGeometry(QtCore.QRect(140, 440, 131, 27))
137 self.lineEdit_sp_c_n.setReadOnly(
True)
138 self.lineEdit_sp_c_n.setObjectName(
"lineEdit_sp_c_n")
140 self.line_61.setGeometry(QtCore.QRect(10, 480, 300, 3))
141 self.line_61.setFrameShape(QtWidgets.QFrame.HLine)
142 self.line_61.setFrameShadow(QtWidgets.QFrame.Sunken)
143 self.line_61.setObjectName(
"line_61")
145 self.lineEdit_sp_n_a.setGeometry(QtCore.QRect(141, 400, 131, 27))
146 self.lineEdit_sp_n_a.setObjectName(
"lineEdit_sp_n_a")
148 self.label_sp_c_n.setGeometry(QtCore.QRect(20, 430, 111, 31))
152 self.label_sp_c_n.setFont(font)
153 self.label_sp_c_n.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
154 self.label_sp_c_n.setWordWrap(
True)
155 self.label_sp_c_n.setObjectName(
"label_sp_c_n")
157 self.label_sp_n_a.setGeometry(QtCore.QRect(40, 390, 91, 31))
158 self.label_sp_n_a.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
159 self.label_sp_n_a.setWordWrap(
True)
160 self.label_sp_n_a.setObjectName(
"label_sp_n_a")
162 self.lineEdit_sp_l1_l2.setGeometry(QtCore.QRect(480, 100, 131, 27))
163 self.lineEdit_sp_l1_l2.setReadOnly(
True)
164 self.lineEdit_sp_l1_l2.setObjectName(
"lineEdit_sp_l1_l2")
166 self.label_sp_l_1.setGeometry(QtCore.QRect(340, 10, 131, 31))
167 self.label_sp_l_1.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
168 self.label_sp_l_1.setWordWrap(
True)
169 self.label_sp_l_1.setObjectName(
"label_sp_l_1")
171 self.lineEdit_sp_l_1.setGeometry(QtCore.QRect(481, 20, 131, 27))
172 self.lineEdit_sp_l_1.setObjectName(
"lineEdit_sp_l_1")
174 self.line_62.setGeometry(QtCore.QRect(340, 140, 300, 3))
175 self.line_62.setFrameShape(QtWidgets.QFrame.HLine)
176 self.line_62.setFrameShadow(QtWidgets.QFrame.Sunken)
177 self.line_62.setObjectName(
"line_62")
179 self.label_sp_l1_l2.setGeometry(QtCore.QRect(350, 90, 121, 31))
183 self.label_sp_l1_l2.setFont(font)
184 self.label_sp_l1_l2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
185 self.label_sp_l1_l2.setWordWrap(
True)
186 self.label_sp_l1_l2.setObjectName(
"label_sp_l1_l2")
188 self.lineEdit_sp_l_2.setGeometry(QtCore.QRect(481, 60, 131, 27))
189 self.lineEdit_sp_l_2.setObjectName(
"lineEdit_sp_l_2")
191 self.label_sp_l_2.setGeometry(QtCore.QRect(340, 50, 131, 31))
192 self.label_sp_l_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
193 self.label_sp_l_2.setWordWrap(
True)
194 self.label_sp_l_2.setObjectName(
"label_sp_l_2")
196 self.line_63.setGeometry(QtCore.QRect(330, 10, 3, 450))
197 self.line_63.setFrameShape(QtWidgets.QFrame.VLine)
198 self.line_63.setFrameShadow(QtWidgets.QFrame.Sunken)
199 self.line_63.setObjectName(
"line_63")
201 self.label_sp_material_2.setGeometry(QtCore.QRect(370, 150, 101, 31))
202 self.label_sp_material_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
203 self.label_sp_material_2.setObjectName(
"label_sp_material_2")
205 self.comboBox_sp_material_2.setGeometry(QtCore.QRect(480, 150, 131, 27))
206 self.comboBox_sp_material_2.setObjectName(
"comboBox_sp_material_2")
208 self.label_sp_c_y.setGeometry(QtCore.QRect(330, 180, 141, 41))
212 self.label_sp_c_y.setFont(font)
213 self.label_sp_c_y.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
214 self.label_sp_c_y.setWordWrap(
True)
215 self.label_sp_c_y.setObjectName(
"label_sp_c_y")
217 self.lineEdit_sp_c_y.setGeometry(QtCore.QRect(480, 190, 131, 27))
218 self.lineEdit_sp_c_y.setReadOnly(
True)
219 self.lineEdit_sp_c_y.setObjectName(
"lineEdit_sp_c_y")
221 self.line_64.setGeometry(QtCore.QRect(340, 230, 300, 3))
222 self.line_64.setFrameShape(QtWidgets.QFrame.HLine)
223 self.line_64.setFrameShadow(QtWidgets.QFrame.Sunken)
224 self.line_64.setObjectName(
"line_64")
226 self.lineEdit_sp_c_k.setGeometry(QtCore.QRect(140, 340, 131, 27))
227 self.lineEdit_sp_c_k.setReadOnly(
True)
228 self.lineEdit_sp_c_k.setObjectName(
"lineEdit_sp_c_k")
230 self.label_sp_c_k.setGeometry(QtCore.QRect(0, 310, 131, 61))
234 self.label_sp_c_k.setFont(font)
235 self.label_sp_c_k.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
236 self.label_sp_c_k.setWordWrap(
True)
237 self.label_sp_c_k.setObjectName(
"label_sp_c_k")
239 self.lineEdit_sp_c_r.setGeometry(QtCore.QRect(481, 250, 131, 27))
240 self.lineEdit_sp_c_r.setText(
"")
241 self.lineEdit_sp_c_r.setObjectName(
"lineEdit_sp_c_r")
243 self.label_sp_c_r.setGeometry(QtCore.QRect(350, 240, 121, 31))
244 self.label_sp_c_r.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
245 self.label_sp_c_r.setWordWrap(
True)
246 self.label_sp_c_r.setObjectName(
"label_sp_c_r")
248 self.lineEdit_sp_c_cs.setGeometry(QtCore.QRect(480, 340, 131, 27))
249 self.lineEdit_sp_c_cs.setReadOnly(
True)
250 self.lineEdit_sp_c_cs.setObjectName(
"lineEdit_sp_c_cs")
252 self.label_sp_c_cs.setGeometry(QtCore.QRect(360, 310, 111, 61))
256 self.label_sp_c_cs.setFont(font)
257 self.label_sp_c_cs.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
258 self.label_sp_c_cs.setWordWrap(
True)
259 self.label_sp_c_cs.setObjectName(
"label_sp_c_cs")
261 self.line_66.setGeometry(QtCore.QRect(340, 380, 300, 3))
262 self.line_66.setFrameShape(QtWidgets.QFrame.HLine)
263 self.line_66.setFrameShadow(QtWidgets.QFrame.Sunken)
264 self.line_66.setObjectName(
"line_66")
266 self.lineEdit_sp_c_m.setGeometry(QtCore.QRect(481, 290, 131, 27))
267 self.lineEdit_sp_c_m.setText(
"")
268 self.lineEdit_sp_c_m.setObjectName(
"lineEdit_sp_c_m")
270 self.label_sp_c_m.setGeometry(QtCore.QRect(350, 280, 121, 31))
271 self.label_sp_c_m.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
272 self.label_sp_c_m.setWordWrap(
True)
273 self.label_sp_c_m.setObjectName(
"label_sp_c_m")
275 self.groupBox_sp_lambda_sp.setGeometry(QtCore.QRect(450, 640, 200, 80))
276 self.groupBox_sp_lambda_sp.setObjectName(
"groupBox_sp_lambda_sp")
278 self.lineEdit_sp_lamda_sp.setGeometry(QtCore.QRect(0, 30, 200, 27))
279 self.lineEdit_sp_lamda_sp.setReadOnly(
True)
280 self.lineEdit_sp_lamda_sp.setObjectName(
"lineEdit_sp_lamda_sp")
282 self.lineEdit_sp_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
283 self.lineEdit_sp_warning_box.setReadOnly(
True)
284 self.lineEdit_sp_warning_box.setObjectName(
"lineEdit_sp_warning_box")
286 self.addButton_c_me_springs.setGeometry(QtCore.QRect(925, 650, 125, 50))
287 self.addButton_c_me_springs.setObjectName(
"addButton_c_me_springs")
288 self.tabWidget_mechanical_equipments.addTab(self.
tab_springs,
"")
290 self.tab_gears.setObjectName(
"tab_gears")
292 self.groupBox_gr_lambda_g.setGeometry(QtCore.QRect(450, 640, 200, 80))
293 self.groupBox_gr_lambda_g.setObjectName(
"groupBox_gr_lambda_g")
295 self.lineEdit_gr_lamda_g.setGeometry(QtCore.QRect(0, 30, 200, 27))
296 self.lineEdit_gr_lamda_g.setReadOnly(
True)
297 self.lineEdit_gr_lamda_g.setObjectName(
"lineEdit_gr_lamda_g")
299 self.line.setGeometry(QtCore.QRect(10, 120, 320, 3))
300 self.line.setFrameShape(QtWidgets.QFrame.HLine)
301 self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
302 self.line.setObjectName(
"line")
304 self.line_2.setGeometry(QtCore.QRect(10, 240, 320, 3))
305 self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
306 self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
307 self.line_2.setObjectName(
"line_2")
309 self.line_3.setGeometry(QtCore.QRect(10, 360, 320, 3))
310 self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
311 self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
312 self.line_3.setObjectName(
"line_3")
314 self.line_4.setGeometry(QtCore.QRect(10, 450, 320, 3))
315 self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
316 self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
317 self.line_4.setObjectName(
"line_4")
319 self.line_5.setGeometry(QtCore.QRect(340, 10, 20, 441))
320 self.line_5.setFrameShape(QtWidgets.QFrame.VLine)
321 self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
322 self.line_5.setObjectName(
"line_5")
324 self.line_6.setGeometry(QtCore.QRect(360, 220, 351, 16))
325 self.line_6.setFrameShape(QtWidgets.QFrame.HLine)
326 self.line_6.setFrameShadow(QtWidgets.QFrame.Sunken)
327 self.line_6.setObjectName(
"line_6")
329 self.line_7.setGeometry(QtCore.QRect(360, 130, 351, 16))
330 self.line_7.setFrameShape(QtWidgets.QFrame.HLine)
331 self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
332 self.line_7.setObjectName(
"line_7")
334 self.line_8.setGeometry(QtCore.QRect(360, 360, 351, 16))
335 self.line_8.setFrameShape(QtWidgets.QFrame.HLine)
336 self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken)
337 self.line_8.setObjectName(
"line_8")
339 self.lineEdit_gr_revolutions.setGeometry(QtCore.QRect(220, 40, 113, 27))
340 self.lineEdit_gr_revolutions.setObjectName(
"lineEdit_gr_revolutions")
342 self.label_gr_revolutions.setGeometry(QtCore.QRect(120, 40, 91, 31))
343 self.label_gr_revolutions.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
344 self.label_gr_revolutions.setObjectName(
"label_gr_revolutions")
346 self.lineEdit_gr_rpm.setGeometry(QtCore.QRect(220, 10, 113, 27))
347 self.lineEdit_gr_rpm.setObjectName(
"lineEdit_gr_rpm")
349 self.label_gr_rpm.setGeometry(QtCore.QRect(119, 10, 91, 31))
350 self.label_gr_rpm.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
351 self.label_gr_rpm.setObjectName(
"label_gr_rpm")
353 self.label_gr_lambda_g_b.setGeometry(QtCore.QRect(20, 70, 191, 21))
357 self.label_gr_lambda_g_b.setFont(font)
358 self.label_gr_lambda_g_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
359 self.label_gr_lambda_g_b.setWordWrap(
True)
360 self.label_gr_lambda_g_b.setObjectName(
"label_gr_lambda_g_b")
362 self.lineEdit_gr_lambda_g_b.setGeometry(QtCore.QRect(220, 70, 113, 27))
363 self.lineEdit_gr_lambda_g_b.setReadOnly(
True)
364 self.lineEdit_gr_lambda_g_b.setObjectName(
"lineEdit_gr_lambda_g_b")
366 self.label_gr_v_d.setGeometry(QtCore.QRect(60, 170, 151, 31))
367 self.label_gr_v_d.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
368 self.label_gr_v_d.setObjectName(
"label_gr_v_d")
370 self.lineEdit_gr_v0.setGeometry(QtCore.QRect(220, 140, 113, 27))
371 self.lineEdit_gr_v0.setObjectName(
"lineEdit_gr_v0")
373 self.label_gr_v_0.setGeometry(QtCore.QRect(60, 140, 151, 31))
374 self.label_gr_v_0.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
375 self.label_gr_v_0.setObjectName(
"label_gr_v_0")
377 self.lineEdit_gr_v_d.setGeometry(QtCore.QRect(220, 170, 113, 27))
378 self.lineEdit_gr_v_d.setObjectName(
"lineEdit_gr_v_d")
380 self.label_gr_c_gs.setGeometry(QtCore.QRect(20, 200, 191, 21))
384 self.label_gr_c_gs.setFont(font)
385 self.label_gr_c_gs.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
386 self.label_gr_c_gs.setWordWrap(
True)
387 self.label_gr_c_gs.setObjectName(
"label_gr_c_gs")
389 self.lineEdit_gr_c_gs.setGeometry(QtCore.QRect(220, 200, 113, 27))
390 self.lineEdit_gr_c_gs.setReadOnly(
True)
391 self.lineEdit_gr_c_gs.setObjectName(
"lineEdit_gr_c_gs")
393 self.label_gr_l_d.setGeometry(QtCore.QRect(100, 290, 111, 31))
394 self.label_gr_l_d.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
395 self.label_gr_l_d.setObjectName(
"label_gr_l_d")
397 self.label_gr_l_0.setGeometry(QtCore.QRect(70, 260, 141, 31))
398 self.label_gr_l_0.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
399 self.label_gr_l_0.setObjectName(
"label_gr_l_0")
401 self.lineEdit_gr_l_d.setGeometry(QtCore.QRect(220, 290, 113, 27))
402 self.lineEdit_gr_l_d.setObjectName(
"lineEdit_gr_l_d")
404 self.lineEdit_gr_l_0.setGeometry(QtCore.QRect(220, 260, 113, 27))
405 self.lineEdit_gr_l_0.setObjectName(
"lineEdit_gr_l_0")
407 self.label_gr_c_gp.setGeometry(QtCore.QRect(10, 320, 201, 21))
411 self.label_gr_c_gp.setFont(font)
412 self.label_gr_c_gp.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
413 self.label_gr_c_gp.setWordWrap(
True)
414 self.label_gr_c_gp.setObjectName(
"label_gr_c_gp")
416 self.lineEdit_gr_c_gp.setGeometry(QtCore.QRect(220, 320, 113, 27))
417 self.lineEdit_gr_c_gp.setReadOnly(
True)
418 self.lineEdit_gr_c_gp.setObjectName(
"lineEdit_gr_c_gp")
420 self.lineEdit_gr_a_e.setGeometry(QtCore.QRect(220, 380, 113, 27))
421 self.lineEdit_gr_a_e.setObjectName(
"lineEdit_gr_a_e")
423 self.label_gr_a_e.setGeometry(QtCore.QRect(0, 380, 211, 31))
424 self.label_gr_a_e.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
425 self.label_gr_a_e.setObjectName(
"label_gr_a_e")
427 self.lineEdit_gr_c_ga.setGeometry(QtCore.QRect(220, 410, 113, 27))
428 self.lineEdit_gr_c_ga.setReadOnly(
True)
429 self.lineEdit_gr_c_ga.setObjectName(
"lineEdit_gr_c_ga")
431 self.label_gr_c_ga.setGeometry(QtCore.QRect(10, 410, 201, 21))
435 self.label_gr_c_ga.setFont(font)
436 self.label_gr_c_ga.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
437 self.label_gr_c_ga.setWordWrap(
True)
438 self.label_gr_c_ga.setObjectName(
"label_gr_c_ga")
440 self.label_gr_vl.setGeometry(QtCore.QRect(400, 40, 171, 41))
441 self.label_gr_vl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
442 self.label_gr_vl.setWordWrap(
True)
443 self.label_gr_vl.setObjectName(
"label_gr_vl")
445 self.label_gr_v0.setGeometry(QtCore.QRect(370, 0, 201, 41))
446 self.label_gr_v0.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
447 self.label_gr_v0.setWordWrap(
True)
448 self.label_gr_v0.setObjectName(
"label_gr_v0")
450 self.lineEdit_gr_vl.setGeometry(QtCore.QRect(590, 50, 113, 27))
451 self.lineEdit_gr_vl.setObjectName(
"lineEdit_gr_vl")
453 self.lineEdit_gr_v0_4.setGeometry(QtCore.QRect(590, 10, 113, 27))
454 self.lineEdit_gr_v0_4.setObjectName(
"lineEdit_gr_v0_4")
456 self.label_gr_c_gl.setGeometry(QtCore.QRect(360, 90, 211, 21))
460 self.label_gr_c_gl.setFont(font)
461 self.label_gr_c_gl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
462 self.label_gr_c_gl.setWordWrap(
True)
463 self.label_gr_c_gl.setObjectName(
"label_gr_c_gl")
465 self.lineEdit_gr_c_gl.setGeometry(QtCore.QRect(590, 90, 113, 27))
466 self.lineEdit_gr_c_gl.setReadOnly(
True)
467 self.lineEdit_gr_c_gl.setObjectName(
"lineEdit_gr_c_gl")
469 self.lineEdit_gr_t_at.setGeometry(QtCore.QRect(590, 150, 113, 27))
470 self.lineEdit_gr_t_at.setObjectName(
"lineEdit_gr_t_at")
472 self.label_gr_t_at.setGeometry(QtCore.QRect(340, 150, 241, 31))
473 self.label_gr_t_at.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
474 self.label_gr_t_at.setObjectName(
"label_gr_t_at")
476 self.lineEdit_gr_c_gt.setGeometry(QtCore.QRect(590, 180, 113, 27))
477 self.lineEdit_gr_c_gt.setReadOnly(
True)
478 self.lineEdit_gr_c_gt.setObjectName(
"lineEdit_gr_c_gt")
480 self.label_gr_c_gt.setGeometry(QtCore.QRect(350, 180, 231, 21))
484 self.label_gr_c_gt.setFont(font)
485 self.label_gr_c_gt.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
486 self.label_gr_c_gt.setWordWrap(
True)
487 self.label_gr_c_gt.setObjectName(
"label_gr_c_gt")
489 self.label_gr_load_character.setGeometry(QtCore.QRect(420, 280, 151, 31))
490 self.label_gr_load_character.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
491 self.label_gr_load_character.setObjectName(
"label_gr_load_character")
493 self.comboBox_gr_prime_mover.setGeometry(QtCore.QRect(580, 250, 131, 27))
494 self.comboBox_gr_prime_mover.setObjectName(
"comboBox_gr_prime_mover")
496 self.comboBox_gr_load_character.setGeometry(QtCore.QRect(580, 280, 131, 27))
497 self.comboBox_gr_load_character.setObjectName(
"comboBox_gr_load_character")
499 self.label_gr_prime_mover.setGeometry(QtCore.QRect(470, 250, 101, 31))
500 self.label_gr_prime_mover.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
501 self.label_gr_prime_mover.setObjectName(
"label_gr_prime_mover")
503 self.lineEdit_gr_c_gv.setGeometry(QtCore.QRect(580, 310, 113, 27))
504 self.lineEdit_gr_c_gv.setReadOnly(
True)
505 self.lineEdit_gr_c_gv.setObjectName(
"lineEdit_gr_c_gv")
507 self.label_gr_c_gv.setGeometry(QtCore.QRect(360, 310, 211, 21))
511 self.label_gr_c_gv.setFont(font)
512 self.label_gr_c_gv.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
513 self.label_gr_c_gv.setWordWrap(
True)
514 self.label_gr_c_gv.setObjectName(
"label_gr_c_gv")
516 self.lineEdit_gr_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
517 self.lineEdit_gr_warning_box.setReadOnly(
True)
518 self.lineEdit_gr_warning_box.setObjectName(
"lineEdit_gr_warning_box")
520 self.addButton_c_me_gears.setGeometry(QtCore.QRect(925, 650, 125, 50))
521 self.addButton_c_me_gears.setObjectName(
"addButton_c_me_gears")
522 self.tabWidget_mechanical_equipments.addTab(self.
tab_gears,
"")
524 self.tab_bearings.setObjectName(
"tab_bearings")
526 self.line_9.setGeometry(QtCore.QRect(10, 340, 321, 16))
527 self.line_9.setFrameShape(QtWidgets.QFrame.HLine)
528 self.line_9.setFrameShadow(QtWidgets.QFrame.Sunken)
529 self.line_9.setObjectName(
"line_9")
531 self.line_10.setGeometry(QtCore.QRect(10, 450, 321, 16))
532 self.line_10.setFrameShape(QtWidgets.QFrame.HLine)
533 self.line_10.setFrameShadow(QtWidgets.QFrame.Sunken)
534 self.line_10.setObjectName(
"line_10")
536 self.label_be_c_r.setGeometry(QtCore.QRect(10, 400, 191, 31))
540 self.label_be_c_r.setFont(font)
541 self.label_be_c_r.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
542 self.label_be_c_r.setWordWrap(
True)
543 self.label_be_c_r.setObjectName(
"label_be_c_r")
545 self.label_be_r.setGeometry(QtCore.QRect(20, 370, 181, 31))
546 self.label_be_r.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
547 self.label_be_r.setObjectName(
"label_be_r")
549 self.lineEdit_be_r.setGeometry(QtCore.QRect(211, 370, 113, 27))
550 self.lineEdit_be_r.setObjectName(
"lineEdit_be_r")
552 self.lineEdit_be_c_r.setGeometry(QtCore.QRect(210, 410, 113, 27))
553 self.lineEdit_be_c_r.setReadOnly(
True)
554 self.lineEdit_be_c_r.setObjectName(
"lineEdit_be_c_r")
556 self.label_be_c_r_2.setGeometry(QtCore.QRect(10, 550, 191, 31))
560 self.label_be_c_r_2.setFont(font)
561 self.label_be_c_r_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
562 self.label_be_c_r_2.setWordWrap(
True)
563 self.label_be_c_r_2.setObjectName(
"label_be_c_r_2")
565 self.lineEdit_be_c_v.setGeometry(QtCore.QRect(210, 560, 113, 27))
566 self.lineEdit_be_c_v.setReadOnly(
True)
567 self.lineEdit_be_c_v.setObjectName(
"lineEdit_be_c_v")
569 self.label_be_v0.setGeometry(QtCore.QRect(-10, 470, 201, 41))
570 self.label_be_v0.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
571 self.label_be_v0.setWordWrap(
True)
572 self.label_be_v0.setObjectName(
"label_be_v0")
574 self.label_be_vl.setGeometry(QtCore.QRect(20, 510, 171, 41))
575 self.label_be_vl.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
576 self.label_be_vl.setWordWrap(
True)
577 self.label_be_vl.setObjectName(
"label_be_vl")
579 self.lineEdit_be_vl.setGeometry(QtCore.QRect(210, 520, 113, 27))
580 self.lineEdit_be_vl.setObjectName(
"lineEdit_be_vl")
582 self.lineEdit_be_v0.setGeometry(QtCore.QRect(210, 480, 113, 27))
583 self.lineEdit_be_v0.setObjectName(
"lineEdit_be_v0")
585 self.line_11.setGeometry(QtCore.QRect(10, 600, 321, 16))
586 self.line_11.setFrameShape(QtWidgets.QFrame.HLine)
587 self.line_11.setFrameShadow(QtWidgets.QFrame.Sunken)
588 self.line_11.setObjectName(
"line_11")
590 self.label_be_c_cw.setGeometry(QtCore.QRect(360, 60, 191, 51))
594 self.label_be_c_cw.setFont(font)
595 self.label_be_c_cw.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
596 self.label_be_c_cw.setWordWrap(
True)
597 self.label_be_c_cw.setObjectName(
"label_be_c_cw")
599 self.lineEdit_be_c_cw.setGeometry(QtCore.QRect(560, 90, 113, 27))
600 self.lineEdit_be_c_cw.setReadOnly(
True)
601 self.lineEdit_be_c_cw.setObjectName(
"lineEdit_be_c_cw")
603 self.lineEdit_be_cw.setGeometry(QtCore.QRect(560, 40, 113, 27))
604 self.lineEdit_be_cw.setObjectName(
"lineEdit_be_cw")
606 self.label_be_cw.setGeometry(QtCore.QRect(340, 20, 201, 41))
607 self.label_be_cw.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
608 self.label_be_cw.setWordWrap(
True)
609 self.label_be_cw.setObjectName(
"label_be_cw")
611 self.line_23.setGeometry(QtCore.QRect(360, 130, 321, 16))
612 self.line_23.setFrameShape(QtWidgets.QFrame.HLine)
613 self.line_23.setFrameShadow(QtWidgets.QFrame.Sunken)
614 self.line_23.setObjectName(
"line_23")
616 self.line_24.setGeometry(QtCore.QRect(330, 10, 20, 581))
617 self.line_24.setFrameShape(QtWidgets.QFrame.VLine)
618 self.line_24.setFrameShadow(QtWidgets.QFrame.Sunken)
619 self.line_24.setObjectName(
"line_24")
621 self.label_be_c_t.setGeometry(QtCore.QRect(370, 210, 191, 51))
625 self.label_be_c_t.setFont(font)
626 self.label_be_c_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
627 self.label_be_c_t.setWordWrap(
True)
628 self.label_be_c_t.setObjectName(
"label_be_c_t")
630 self.lineEdit_be_c_t.setGeometry(QtCore.QRect(570, 240, 113, 27))
631 self.lineEdit_be_c_t.setReadOnly(
True)
632 self.lineEdit_be_c_t.setObjectName(
"lineEdit_be_c_t")
634 self.lineEdit_be_t0.setGeometry(QtCore.QRect(570, 170, 113, 27))
635 self.lineEdit_be_t0.setText(
"")
636 self.lineEdit_be_t0.setObjectName(
"lineEdit_be_t0")
638 self.label_be_t0.setGeometry(QtCore.QRect(350, 160, 201, 41))
639 self.label_be_t0.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
640 self.label_be_t0.setWordWrap(
True)
641 self.label_be_t0.setObjectName(
"label_be_t0")
643 self.line_25.setGeometry(QtCore.QRect(370, 280, 321, 16))
644 self.line_25.setFrameShape(QtWidgets.QFrame.HLine)
645 self.line_25.setFrameShadow(QtWidgets.QFrame.Sunken)
646 self.line_25.setObjectName(
"line_25")
648 self.label_be_type_of_application.setGeometry(QtCore.QRect(380, 300, 131, 31))
649 self.label_be_type_of_application.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
650 self.label_be_type_of_application.setObjectName(
"label_be_type_of_application")
652 self.comboBox_be_type_of_application.setGeometry(QtCore.QRect(520, 300, 161, 27))
653 self.comboBox_be_type_of_application.setObjectName(
"comboBox_be_type_of_application")
655 self.radioButton_be_ball_bearing.setGeometry(QtCore.QRect(80, 40, 131, 22))
656 self.radioButton_be_ball_bearing.setObjectName(
"radioButton_be_ball_bearing")
658 self.radioButton_be_roller_bearing.setGeometry(QtCore.QRect(80, 60, 131, 22))
659 self.radioButton_be_roller_bearing.setObjectName(
"radioButton_be_roller_bearing")
661 self.lineEdit_be_c_sf.setGeometry(QtCore.QRect(550, 350, 113, 27))
662 self.lineEdit_be_c_sf.setReadOnly(
True)
663 self.lineEdit_be_c_sf.setObjectName(
"lineEdit_be_c_sf")
665 self.label_be_c_sf.setGeometry(QtCore.QRect(380, 330, 161, 41))
669 self.label_be_c_sf.setFont(font)
670 self.label_be_c_sf.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
671 self.label_be_c_sf.setWordWrap(
True)
672 self.label_be_c_sf.setObjectName(
"label_be_c_sf")
674 self.line_26.setGeometry(QtCore.QRect(370, 390, 321, 16))
675 self.line_26.setFrameShape(QtWidgets.QFrame.HLine)
676 self.line_26.setFrameShadow(QtWidgets.QFrame.Sunken)
677 self.line_26.setObjectName(
"line_26")
679 self.label_be_type_of_application_2.setGeometry(QtCore.QRect(380, 410, 131, 31))
680 self.label_be_type_of_application_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
681 self.label_be_type_of_application_2.setObjectName(
"label_be_type_of_application_2")
683 self.comboBox_be_type_of_application_2.setGeometry(QtCore.QRect(520, 410, 161, 27))
684 self.comboBox_be_type_of_application_2.setObjectName(
"comboBox_be_type_of_application_2")
686 self.lineEdit_be_bearing_diameter.setGeometry(QtCore.QRect(560, 450, 113, 27))
687 self.lineEdit_be_bearing_diameter.setText(
"")
688 self.lineEdit_be_bearing_diameter.setObjectName(
"lineEdit_be_bearing_diameter")
690 self.label_be_bearing_diameter.setGeometry(QtCore.QRect(350, 440, 201, 41))
691 self.label_be_bearing_diameter.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
692 self.label_be_bearing_diameter.setWordWrap(
True)
693 self.label_be_bearing_diameter.setObjectName(
"label_be_bearing_diameter")
695 self.label_be_c_c.setGeometry(QtCore.QRect(370, 480, 181, 41))
699 self.label_be_c_c.setFont(font)
700 self.label_be_c_c.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
701 self.label_be_c_c.setWordWrap(
True)
702 self.label_be_c_c.setObjectName(
"label_be_c_c")
704 self.lineEdit_be_c_c.setGeometry(QtCore.QRect(560, 500, 113, 27))
705 self.lineEdit_be_c_c.setReadOnly(
True)
706 self.lineEdit_be_c_c.setObjectName(
"lineEdit_be_c_c")
708 self.lineEdit_be_c_y.setGeometry(QtCore.QRect(220, 300, 113, 27))
709 self.lineEdit_be_c_y.setReadOnly(
True)
710 self.lineEdit_be_c_y.setObjectName(
"lineEdit_be_c_y")
712 self.label_be_c_y.setGeometry(QtCore.QRect(10, 290, 191, 31))
716 self.label_be_c_y.setFont(font)
717 self.label_be_c_y.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
718 self.label_be_c_y.setWordWrap(
True)
719 self.label_be_c_y.setObjectName(
"label_be_c_y")
721 self.label_be_l_s.setGeometry(QtCore.QRect(29, 160, 181, 31))
722 self.label_be_l_s.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
723 self.label_be_l_s.setObjectName(
"label_be_l_s")
725 self.label_be_l_a.setGeometry(QtCore.QRect(20, 190, 191, 31))
726 self.label_be_l_a.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
727 self.label_be_l_a.setObjectName(
"label_be_l_a")
729 self.label_be_n.setGeometry(QtCore.QRect(20, 220, 191, 31))
730 self.label_be_n.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
731 self.label_be_n.setObjectName(
"label_be_n")
733 self.lineEdit_be_l_a.setGeometry(QtCore.QRect(220, 190, 113, 27))
734 self.lineEdit_be_l_a.setObjectName(
"lineEdit_be_l_a")
736 self.lineEdit_be_n.setGeometry(QtCore.QRect(220, 220, 113, 27))
737 self.lineEdit_be_n.setObjectName(
"lineEdit_be_n")
739 self.lineEdit_be_l_s.setGeometry(QtCore.QRect(220, 160, 113, 27))
740 self.lineEdit_be_l_s.setObjectName(
"lineEdit_be_l_s")
742 self.label_be_lambda_be_b.setGeometry(QtCore.QRect(10, 250, 191, 31))
746 self.label_be_lambda_be_b.setFont(font)
747 self.label_be_lambda_be_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
748 self.label_be_lambda_be_b.setWordWrap(
True)
749 self.label_be_lambda_be_b.setObjectName(
"label_be_lambda_be_b")
751 self.lineEdit_be_lambda_be_b.setGeometry(QtCore.QRect(220, 260, 113, 27))
752 self.lineEdit_be_lambda_be_b.setReadOnly(
True)
753 self.lineEdit_be_lambda_be_b.setObjectName(
"lineEdit_be_lambda_be_b")
755 self.line_27.setGeometry(QtCore.QRect(360, 530, 321, 16))
756 self.line_27.setFrameShape(QtWidgets.QFrame.HLine)
757 self.line_27.setFrameShadow(QtWidgets.QFrame.Sunken)
758 self.line_27.setObjectName(
"line_27")
760 self.groupBox_be_lambda_be.setGeometry(QtCore.QRect(450, 640, 200, 63))
762 font.setUnderline(
False)
763 font.setStrikeOut(
False)
764 self.groupBox_be_lambda_be.setFont(font)
765 self.groupBox_be_lambda_be.setObjectName(
"groupBox_be_lambda_be")
767 self.lineEdit_be_lambda_be.setGeometry(QtCore.QRect(0, 30, 200, 27))
768 self.lineEdit_be_lambda_be.setReadOnly(
True)
769 self.lineEdit_be_lambda_be.setObjectName(
"lineEdit_be_lambda_be")
771 self.label_2.setGeometry(QtCore.QRect(30, 20, 191, 21))
774 self.label_2.setFont(font)
775 self.label_2.setObjectName(
"label_2")
777 self.line_31.setGeometry(QtCore.QRect(10, 130, 321, 16))
778 self.line_31.setFrameShape(QtWidgets.QFrame.HLine)
779 self.line_31.setFrameShadow(QtWidgets.QFrame.Sunken)
780 self.line_31.setObjectName(
"line_31")
782 self.lineEdit_be_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
783 self.lineEdit_be_warning_box.setReadOnly(
True)
784 self.lineEdit_be_warning_box.setObjectName(
"lineEdit_be_warning_box")
786 self.addButton_c_me_bearings.setGeometry(QtCore.QRect(925, 650, 125, 50))
787 self.addButton_c_me_bearings.setObjectName(
"addButton_c_me_bearings")
788 self.tabWidget_mechanical_equipments.addTab(self.
tab_bearings,
"")
790 self.tab_actuators.setObjectName(
"tab_actuators")
792 self.line_19.setGeometry(QtCore.QRect(410, 10, 3, 525))
793 self.line_19.setFrameShape(QtWidgets.QFrame.VLine)
794 self.line_19.setFrameShadow(QtWidgets.QFrame.Sunken)
795 self.line_19.setObjectName(
"line_19")
797 self.line_20.setGeometry(QtCore.QRect(420, 220, 660, 3))
798 self.line_20.setFrameShape(QtWidgets.QFrame.HLine)
799 self.line_20.setFrameShadow(QtWidgets.QFrame.Sunken)
800 self.line_20.setObjectName(
"line_20")
802 self.groupBox_ac_lambda_ac.setGeometry(QtCore.QRect(450, 640, 200, 63))
804 font.setUnderline(
False)
805 font.setStrikeOut(
False)
806 self.groupBox_ac_lambda_ac.setFont(font)
807 self.groupBox_ac_lambda_ac.setObjectName(
"groupBox_ac_lambda_ac")
809 self.lineEdit_ac_lambda_ac.setGeometry(QtCore.QRect(0, 30, 200, 27))
810 self.lineEdit_ac_lambda_ac.setReadOnly(
True)
811 self.lineEdit_ac_lambda_ac.setObjectName(
"lineEdit_ac_lambda_ac")
813 self.lineEdit_ac_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
814 self.lineEdit_ac_warning_box.setReadOnly(
True)
815 self.lineEdit_ac_warning_box.setObjectName(
"lineEdit_ac_warning_box")
817 self.groupBox_ac_lambda_ac_b.setGeometry(QtCore.QRect(0, 20, 401, 521))
818 self.groupBox_ac_lambda_ac_b.setTitle(
"")
819 self.groupBox_ac_lambda_ac_b.setObjectName(
"groupBox_ac_lambda_ac_b")
821 self.label_ac_w_a.setGeometry(QtCore.QRect(80, 130, 141, 41))
822 self.label_ac_w_a.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
823 self.label_ac_w_a.setWordWrap(
True)
824 self.label_ac_w_a.setObjectName(
"label_ac_w_a")
826 self.lineEdit_ac_n_o.setGeometry(QtCore.QRect(230, 430, 171, 27))
827 self.lineEdit_ac_n_o.setReadOnly(
True)
828 self.lineEdit_ac_n_o.setObjectName(
"lineEdit_ac_n_o")
830 self.lineEdit_ac_mu_2.setGeometry(QtCore.QRect(231, 300, 101, 27))
831 self.lineEdit_ac_mu_2.setObjectName(
"lineEdit_ac_mu_2")
833 self.lineEdit_ac_d_1.setGeometry(QtCore.QRect(231, 180, 101, 27))
834 self.lineEdit_ac_d_1.setObjectName(
"lineEdit_ac_d_1")
836 self.label_ac_n_o.setGeometry(QtCore.QRect(30, 430, 191, 31))
840 self.label_ac_n_o.setFont(font)
841 self.label_ac_n_o.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
842 self.label_ac_n_o.setWordWrap(
True)
843 self.label_ac_n_o.setObjectName(
"label_ac_n_o")
845 self.lineEdit_ac_w_a.setGeometry(QtCore.QRect(231, 140, 101, 27))
846 self.lineEdit_ac_w_a.setObjectName(
"lineEdit_ac_w_a")
848 self.lineEdit_ac_e_1.setGeometry(QtCore.QRect(230, 350, 101, 27))
849 self.lineEdit_ac_e_1.setObjectName(
"lineEdit_ac_e_1")
851 self.label_ac_e_1.setGeometry(QtCore.QRect(9, 330, 211, 51))
852 self.label_ac_e_1.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
853 self.label_ac_e_1.setWordWrap(
True)
854 self.label_ac_e_1.setObjectName(
"label_ac_e_1")
856 self.label_ac_mu_2.setGeometry(QtCore.QRect(20, 290, 201, 41))
857 self.label_ac_mu_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
858 self.label_ac_mu_2.setWordWrap(
True)
859 self.label_ac_mu_2.setObjectName(
"label_ac_mu_2")
861 self.radioButton_ac_gama_0_54.setGeometry(QtCore.QRect(160, 20, 175, 22))
862 self.radioButton_ac_gama_0_54.setObjectName(
"radioButton_ac_gama_0_54")
864 self.label_ac_e_2.setGeometry(QtCore.QRect(19, 370, 201, 51))
865 self.label_ac_e_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
866 self.label_ac_e_2.setWordWrap(
True)
867 self.label_ac_e_2.setObjectName(
"label_ac_e_2")
869 self.lineEdit_ac_e_2.setGeometry(QtCore.QRect(230, 390, 101, 27))
870 self.lineEdit_ac_e_2.setObjectName(
"lineEdit_ac_e_2")
872 self.lineEdit_ac_f_y.setGeometry(QtCore.QRect(231, 100, 171, 27))
873 self.lineEdit_ac_f_y.setReadOnly(
True)
874 self.lineEdit_ac_f_y.setObjectName(
"lineEdit_ac_f_y")
876 self.label_ac_various_metals.setGeometry(QtCore.QRect(30, 60, 191, 31))
877 self.label_ac_various_metals.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
878 self.label_ac_various_metals.setWordWrap(
True)
879 self.label_ac_various_metals.setObjectName(
"label_ac_various_metals")
881 self.label_ac_lambda_ac_b.setGeometry(QtCore.QRect(30, 460, 191, 41))
885 self.label_ac_lambda_ac_b.setFont(font)
886 self.label_ac_lambda_ac_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
887 self.label_ac_lambda_ac_b.setWordWrap(
True)
888 self.label_ac_lambda_ac_b.setObjectName(
"label_ac_lambda_ac_b")
890 self.comboBox_ac_various_metals.setGeometry(QtCore.QRect(230, 60, 171, 27))
891 self.comboBox_ac_various_metals.setObjectName(
"comboBox_ac_various_metals")
893 self.label_ac_d_2.setGeometry(QtCore.QRect(20, 210, 201, 41))
894 self.label_ac_d_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
895 self.label_ac_d_2.setWordWrap(
True)
896 self.label_ac_d_2.setObjectName(
"label_ac_d_2")
898 self.lineEdit_ac_d_2.setGeometry(QtCore.QRect(231, 220, 101, 27))
899 self.lineEdit_ac_d_2.setObjectName(
"lineEdit_ac_d_2")
901 self.radioButton_ac_gama_0_2.setGeometry(QtCore.QRect(160, 0, 175, 21))
902 self.radioButton_ac_gama_0_2.setObjectName(
"radioButton_ac_gama_0_2")
904 self.label_ac_f_y.setGeometry(QtCore.QRect(80, 90, 141, 41))
905 self.label_ac_f_y.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
906 self.label_ac_f_y.setWordWrap(
True)
907 self.label_ac_f_y.setObjectName(
"label_ac_f_y")
909 self.label_ac_d_1.setGeometry(QtCore.QRect(10, 170, 211, 41))
910 self.label_ac_d_1.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
911 self.label_ac_d_1.setWordWrap(
True)
912 self.label_ac_d_1.setObjectName(
"label_ac_d_1")
914 self.lineEdit_ac_mu_1.setGeometry(QtCore.QRect(231, 260, 101, 27))
915 self.lineEdit_ac_mu_1.setObjectName(
"lineEdit_ac_mu_1")
917 self.label_ac_mu_1.setGeometry(QtCore.QRect(20, 250, 201, 41))
918 self.label_ac_mu_1.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
919 self.label_ac_mu_1.setWordWrap(
True)
920 self.label_ac_mu_1.setObjectName(
"label_ac_mu_1")
922 self.lineEdit_ac_lambda_ac_b.setGeometry(QtCore.QRect(230, 470, 171, 27))
923 self.lineEdit_ac_lambda_ac_b.setReadOnly(
True)
924 self.lineEdit_ac_lambda_ac_b.setObjectName(
"lineEdit_ac_lambda_ac_b")
926 self.groupBox_ac_c_cp.setGeometry(QtCore.QRect(420, 0, 651, 191))
927 self.groupBox_ac_c_cp.setTitle(
"")
928 self.groupBox_ac_c_cp.setObjectName(
"groupBox_ac_c_cp")
930 self.label_ac_h_p.setGeometry(QtCore.QRect(340, 50, 181, 21))
934 self.label_ac_h_p.setFont(font)
935 self.label_ac_h_p.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
936 self.label_ac_h_p.setWordWrap(
True)
937 self.label_ac_h_p.setObjectName(
"label_ac_h_p")
939 self.lineEdit_ac_filter_size.setGeometry(QtCore.QRect(151, 100, 101, 27))
940 self.lineEdit_ac_filter_size.setText(
"")
941 self.lineEdit_ac_filter_size.setObjectName(
"lineEdit_ac_filter_size")
943 self.lineEdit_ac_c_cp.setGeometry(QtCore.QRect(310, 160, 171, 27))
944 self.lineEdit_ac_c_cp.setReadOnly(
True)
945 self.lineEdit_ac_c_cp.setObjectName(
"lineEdit_ac_c_cp")
947 self.label_ac_material.setGeometry(QtCore.QRect(110, 20, 61, 31))
948 self.label_ac_material.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
949 self.label_ac_material.setWordWrap(
True)
950 self.label_ac_material.setObjectName(
"label_ac_material")
952 self.lineEdit_ac_c_s.setGeometry(QtCore.QRect(510, 100, 101, 27))
953 self.lineEdit_ac_c_s.setText(
"")
954 self.lineEdit_ac_c_s.setReadOnly(
True)
955 self.lineEdit_ac_c_s.setObjectName(
"lineEdit_ac_c_s")
957 self.lineEdit_ac_h_p.setGeometry(QtCore.QRect(530, 50, 113, 27))
958 self.lineEdit_ac_h_p.setText(
"")
959 self.lineEdit_ac_h_p.setReadOnly(
True)
960 self.lineEdit_ac_h_p.setObjectName(
"lineEdit_ac_h_p")
962 self.radioButton_ac_piston.setGeometry(QtCore.QRect(0, 40, 91, 22))
963 self.radioButton_ac_piston.setObjectName(
"radioButton_ac_piston")
965 self.label_ac_h_c.setGeometry(QtCore.QRect(340, 20, 181, 21))
969 self.label_ac_h_c.setFont(font)
970 self.label_ac_h_c.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
971 self.label_ac_h_c.setWordWrap(
True)
972 self.label_ac_h_c.setObjectName(
"label_ac_h_c")
974 self.comboBox_material_types.setGeometry(QtCore.QRect(180, 50, 171, 27))
975 self.comboBox_material_types.setObjectName(
"comboBox_material_types")
977 self.lineEdit_ac_h_c.setGeometry(QtCore.QRect(530, 20, 113, 27))
978 self.lineEdit_ac_h_c.setText(
"")
979 self.lineEdit_ac_h_c.setReadOnly(
True)
980 self.lineEdit_ac_h_c.setObjectName(
"lineEdit_ac_h_c")
982 self.label_ac_c_s.setGeometry(QtCore.QRect(260, 90, 241, 51))
986 self.label_ac_c_s.setFont(font)
987 self.label_ac_c_s.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
988 self.label_ac_c_s.setWordWrap(
True)
989 self.label_ac_c_s.setObjectName(
"label_ac_c_s")
991 self.label_ac_c_cp.setGeometry(QtCore.QRect(110, 150, 191, 41))
995 self.label_ac_c_cp.setFont(font)
996 self.label_ac_c_cp.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
997 self.label_ac_c_cp.setWordWrap(
True)
998 self.label_ac_c_cp.setObjectName(
"label_ac_c_cp")
1000 self.comboBox_ac_materials.setGeometry(QtCore.QRect(180, 20, 171, 27))
1001 self.comboBox_ac_materials.setObjectName(
"comboBox_ac_materials")
1003 self.radioButton_ac_cylinder.setGeometry(QtCore.QRect(0, 20, 91, 22))
1004 self.radioButton_ac_cylinder.setObjectName(
"radioButton_ac_cylinder")
1006 self.label_ac_filter_size.setGeometry(QtCore.QRect(0, 90, 141, 41))
1007 self.label_ac_filter_size.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1008 self.label_ac_filter_size.setWordWrap(
True)
1009 self.label_ac_filter_size.setObjectName(
"label_ac_filter_size")
1011 self.groupBox_ac_c_t.setGeometry(QtCore.QRect(420, 240, 651, 91))
1012 self.groupBox_ac_c_t.setTitle(
"")
1013 self.groupBox_ac_c_t.setObjectName(
"groupBox_ac_c_t")
1015 self.lineEdit_ac_teta.setGeometry(QtCore.QRect(181, 50, 101, 27))
1016 self.lineEdit_ac_teta.setObjectName(
"lineEdit_ac_teta")
1018 self.label_ac_c_t.setGeometry(QtCore.QRect(300, 20, 191, 41))
1019 font = QtGui.QFont()
1022 self.label_ac_c_t.setFont(font)
1023 self.label_ac_c_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1024 self.label_ac_c_t.setWordWrap(
True)
1025 self.label_ac_c_t.setObjectName(
"label_ac_c_t")
1027 self.label_ac_t.setGeometry(QtCore.QRect(-1, 0, 171, 41))
1028 self.label_ac_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1029 self.label_ac_t.setWordWrap(
True)
1030 self.label_ac_t.setObjectName(
"label_ac_t")
1032 self.lineEdit_ac_t.setGeometry(QtCore.QRect(180, 10, 101, 27))
1033 self.lineEdit_ac_t.setObjectName(
"lineEdit_ac_t")
1035 self.label_ac_teta.setGeometry(QtCore.QRect(0, 40, 171, 41))
1036 self.label_ac_teta.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1037 self.label_ac_teta.setWordWrap(
True)
1038 self.label_ac_teta.setObjectName(
"label_ac_teta")
1040 self.lineEdit_ac_c_t.setGeometry(QtCore.QRect(500, 30, 150, 27))
1041 self.lineEdit_ac_c_t.setReadOnly(
True)
1042 self.lineEdit_ac_c_t.setObjectName(
"lineEdit_ac_c_t")
1044 self.addButton_c_me_actuators.setGeometry(QtCore.QRect(925, 650, 125, 50))
1045 self.addButton_c_me_actuators.setObjectName(
"addButton_c_me_actuators")
1046 self.tabWidget_mechanical_equipments.addTab(self.
tab_actuators,
"")
1048 self.tab_shafts.setObjectName(
"tab_shafts")
1050 self.label_sh_lambda_sh_b.setGeometry(QtCore.QRect(10, 50, 191, 31))
1051 font = QtGui.QFont()
1054 self.label_sh_lambda_sh_b.setFont(font)
1055 self.label_sh_lambda_sh_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1056 self.label_sh_lambda_sh_b.setWordWrap(
True)
1057 self.label_sh_lambda_sh_b.setObjectName(
"label_sh_lambda_sh_b")
1059 self.label_sh_n.setGeometry(QtCore.QRect(20, 20, 191, 31))
1060 self.label_sh_n.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1061 self.label_sh_n.setObjectName(
"label_sh_n")
1063 self.lineEdit_sh_lambda_sh_b.setGeometry(QtCore.QRect(220, 60, 113, 27))
1064 self.lineEdit_sh_lambda_sh_b.setReadOnly(
True)
1065 self.lineEdit_sh_lambda_sh_b.setObjectName(
"lineEdit_sh_lambda_sh_b")
1067 self.lineEdit_sh_n.setGeometry(QtCore.QRect(220, 20, 113, 27))
1068 self.lineEdit_sh_n.setObjectName(
"lineEdit_sh_n")
1070 self.line_28.setGeometry(QtCore.QRect(10, 100, 411, 16))
1071 self.line_28.setFrameShape(QtWidgets.QFrame.HLine)
1072 self.line_28.setFrameShadow(QtWidgets.QFrame.Sunken)
1073 self.line_28.setObjectName(
"line_28")
1075 self.label_sh_surface_finish.setGeometry(QtCore.QRect(80, 120, 141, 31))
1076 self.label_sh_surface_finish.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1077 self.label_sh_surface_finish.setObjectName(
"label_sh_surface_finish")
1079 self.comboBox_sh_surface_finish.setGeometry(QtCore.QRect(230, 120, 111, 27))
1080 self.comboBox_sh_surface_finish.setObjectName(
"comboBox_sh_surface_finish")
1082 self.lineEdit_sh_c_f.setGeometry(QtCore.QRect(230, 190, 113, 27))
1083 self.lineEdit_sh_c_f.setReadOnly(
True)
1084 self.lineEdit_sh_c_f.setObjectName(
"lineEdit_sh_c_f")
1086 self.label_sh_c_f.setGeometry(QtCore.QRect(40, 180, 181, 31))
1087 font = QtGui.QFont()
1090 self.label_sh_c_f.setFont(font)
1091 self.label_sh_c_f.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1092 self.label_sh_c_f.setWordWrap(
True)
1093 self.label_sh_c_f.setObjectName(
"label_sh_c_f")
1095 self.label_sh_t_s.setGeometry(QtCore.QRect(0, 150, 221, 31))
1096 self.label_sh_t_s.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1097 self.label_sh_t_s.setObjectName(
"label_sh_t_s")
1099 self.lineEdit_sh_t_s.setGeometry(QtCore.QRect(230, 150, 113, 27))
1100 self.lineEdit_sh_t_s.setObjectName(
"lineEdit_sh_t_s")
1102 self.line_29.setGeometry(QtCore.QRect(10, 230, 421, 16))
1103 self.line_29.setFrameShape(QtWidgets.QFrame.HLine)
1104 self.line_29.setFrameShadow(QtWidgets.QFrame.Sunken)
1105 self.line_29.setObjectName(
"line_29")
1107 self.label_sh_t_at.setGeometry(QtCore.QRect(10, 250, 211, 31))
1108 self.label_sh_t_at.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1109 self.label_sh_t_at.setObjectName(
"label_sh_t_at")
1111 self.lineEdit_sh_t_at.setGeometry(QtCore.QRect(230, 250, 113, 27))
1112 self.lineEdit_sh_t_at.setObjectName(
"lineEdit_sh_t_at")
1114 self.label_sh_c_t.setGeometry(QtCore.QRect(40, 290, 181, 41))
1115 font = QtGui.QFont()
1118 self.label_sh_c_t.setFont(font)
1119 self.label_sh_c_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1120 self.label_sh_c_t.setWordWrap(
True)
1121 self.label_sh_c_t.setObjectName(
"label_sh_c_t")
1123 self.lineEdit_sh_c_t.setGeometry(QtCore.QRect(230, 300, 113, 27))
1124 self.lineEdit_sh_c_t.setReadOnly(
True)
1125 self.lineEdit_sh_c_t.setObjectName(
"lineEdit_sh_c_t")
1127 self.line_30.setGeometry(QtCore.QRect(10, 340, 431, 16))
1128 self.line_30.setFrameShape(QtWidgets.QFrame.HLine)
1129 self.line_30.setFrameShadow(QtWidgets.QFrame.Sunken)
1130 self.line_30.setObjectName(
"line_30")
1132 self.label_sh_e.setGeometry(QtCore.QRect(470, 10, 261, 31))
1133 self.label_sh_e.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1134 self.label_sh_e.setWordWrap(
True)
1135 self.label_sh_e.setObjectName(
"label_sh_e")
1137 self.label_sh_f.setGeometry(QtCore.QRect(470, 50, 261, 31))
1138 self.label_sh_f.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1139 self.label_sh_f.setWordWrap(
True)
1140 self.label_sh_f.setObjectName(
"label_sh_f")
1142 self.lineEdit_sh_f.setGeometry(QtCore.QRect(740, 60, 113, 27))
1143 self.lineEdit_sh_f.setObjectName(
"lineEdit_sh_f")
1145 self.label_sh_b.setGeometry(QtCore.QRect(470, 90, 261, 31))
1146 self.label_sh_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1147 self.label_sh_b.setObjectName(
"label_sh_b")
1149 self.comboBox_sh_b.setGeometry(QtCore.QRect(740, 90, 111, 27))
1150 self.comboBox_sh_b.setObjectName(
"comboBox_sh_b")
1152 self.label.setGeometry(QtCore.QRect(510, 130, 131, 21))
1153 font = QtGui.QFont()
1154 font.setItalic(
True)
1155 self.label.setFont(font)
1156 self.label.setObjectName(
"label")
1158 self.lineEdit_sh_add_section.setGeometry(QtCore.QRect(510, 150, 113, 27))
1159 self.lineEdit_sh_add_section.setObjectName(
"lineEdit_sh_add_section")
1161 self.pushButton_sh_add_section.setGeometry(QtCore.QRect(630, 150, 99, 27))
1162 self.pushButton_sh_add_section.setObjectName(
"pushButton_sh_add_section")
1164 self.comboBox_sh_sections.setGeometry(QtCore.QRect(510, 190, 111, 27))
1165 self.comboBox_sh_sections.setObjectName(
"comboBox_sh_sections")
1167 self.lineEdit_sh_section_i.setGeometry(QtCore.QRect(690, 230, 113, 27))
1168 self.lineEdit_sh_section_i.setObjectName(
"lineEdit_sh_section_i")
1170 self.lineEdit_section_length.setGeometry(QtCore.QRect(690, 260, 113, 27))
1171 self.lineEdit_section_length.setObjectName(
"lineEdit_section_length")
1173 self.label_sh_section_i.setGeometry(QtCore.QRect(470, 230, 211, 21))
1174 self.label_sh_section_i.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1175 self.label_sh_section_i.setObjectName(
"label_sh_section_i")
1177 self.label_sh_section_length.setGeometry(QtCore.QRect(470, 260, 211, 21))
1178 self.label_sh_section_length.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1179 self.label_sh_section_length.setObjectName(
"label_sh_section_length")
1181 self.pushButton_sh_set_section.setGeometry(QtCore.QRect(700, 290, 99, 27))
1182 self.pushButton_sh_set_section.setObjectName(
"pushButton_sh_set_section")
1184 self.label_sh_c_dy.setGeometry(QtCore.QRect(500, 320, 201, 51))
1185 font = QtGui.QFont()
1188 self.label_sh_c_dy.setFont(font)
1189 self.label_sh_c_dy.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1190 self.label_sh_c_dy.setWordWrap(
True)
1191 self.label_sh_c_dy.setObjectName(
"label_sh_c_dy")
1193 self.lineEdit_sh_c_dy.setGeometry(QtCore.QRect(710, 340, 113, 27))
1194 self.lineEdit_sh_c_dy.setReadOnly(
True)
1195 self.lineEdit_sh_c_dy.setObjectName(
"lineEdit_sh_c_dy")
1197 self.label_sh_r.setGeometry(QtCore.QRect(20, 360, 151, 31))
1198 self.label_sh_r.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1199 self.label_sh_r.setObjectName(
"label_sh_r")
1201 self.lineEdit_sh_r.setGeometry(QtCore.QRect(180, 360, 113, 27))
1202 self.lineEdit_sh_r.setText(
"")
1203 self.lineEdit_sh_r.setObjectName(
"lineEdit_sh_r")
1205 self.lineEdit_sh_d.setGeometry(QtCore.QRect(180, 400, 113, 27))
1206 self.lineEdit_sh_d.setText(
"")
1207 self.lineEdit_sh_d.setObjectName(
"lineEdit_sh_d")
1209 self.label_sh_d.setGeometry(QtCore.QRect(30, 390, 141, 31))
1210 self.label_sh_d.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1211 self.label_sh_d.setWordWrap(
True)
1212 self.label_sh_d.setObjectName(
"label_sh_d")
1214 self.label_sh_c_sc_r.setGeometry(QtCore.QRect(110, 470, 61, 41))
1215 font = QtGui.QFont()
1218 self.label_sh_c_sc_r.setFont(font)
1219 self.label_sh_c_sc_r.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1220 self.label_sh_c_sc_r.setWordWrap(
True)
1221 self.label_sh_c_sc_r.setObjectName(
"label_sh_c_sc_r")
1223 self.lineEdit_sh_c_sc_r.setGeometry(QtCore.QRect(180, 480, 113, 27))
1224 self.lineEdit_sh_c_sc_r.setReadOnly(
True)
1225 self.lineEdit_sh_c_sc_r.setObjectName(
"lineEdit_sh_c_sc_r")
1227 self.label_sh_D.setGeometry(QtCore.QRect(30, 430, 141, 31))
1228 self.label_sh_D.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1229 self.label_sh_D.setWordWrap(
True)
1230 self.label_sh_D.setObjectName(
"label_sh_D")
1232 self.lineEdit_sh_D.setGeometry(QtCore.QRect(180, 440, 113, 27))
1233 self.lineEdit_sh_D.setText(
"")
1234 self.lineEdit_sh_D.setObjectName(
"lineEdit_sh_D")
1236 self.label_sh_c_sc_g.setGeometry(QtCore.QRect(320, 470, 61, 41))
1237 font = QtGui.QFont()
1240 self.label_sh_c_sc_g.setFont(font)
1241 self.label_sh_c_sc_g.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1242 self.label_sh_c_sc_g.setWordWrap(
True)
1243 self.label_sh_c_sc_g.setObjectName(
"label_sh_c_sc_g")
1245 self.comboBox_sh_h_D.setGeometry(QtCore.QRect(390, 410, 111, 27))
1246 self.comboBox_sh_h_D.setObjectName(
"comboBox_sh_h_D")
1248 self.label_sh_h_D.setGeometry(QtCore.QRect(350, 410, 31, 31))
1249 self.label_sh_h_D.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1250 self.label_sh_h_D.setObjectName(
"label_sh_h_D")
1252 self.label_sh_h_r.setGeometry(QtCore.QRect(350, 440, 31, 31))
1253 self.label_sh_h_r.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1254 self.label_sh_h_r.setObjectName(
"label_sh_h_r")
1256 self.comboBox_sh_h_r.setGeometry(QtCore.QRect(390, 440, 111, 27))
1257 self.comboBox_sh_h_r.setObjectName(
"comboBox_sh_h_r")
1259 self.lineEdit_sh_c_sc_g.setGeometry(QtCore.QRect(390, 480, 113, 27))
1260 self.lineEdit_sh_c_sc_g.setReadOnly(
True)
1261 self.lineEdit_sh_c_sc_g.setObjectName(
"lineEdit_sh_c_sc_g")
1263 self.label_sh_c_sc.setGeometry(QtCore.QRect(160, 530, 201, 41))
1264 font = QtGui.QFont()
1267 self.label_sh_c_sc.setFont(font)
1268 self.label_sh_c_sc.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1269 self.label_sh_c_sc.setWordWrap(
True)
1270 self.label_sh_c_sc.setObjectName(
"label_sh_c_sc")
1272 self.lineEdit_sh_c_sc.setGeometry(QtCore.QRect(370, 540, 113, 27))
1273 self.lineEdit_sh_c_sc.setReadOnly(
True)
1274 self.lineEdit_sh_c_sc.setObjectName(
"lineEdit_sh_c_sc")
1276 self.groupBox_sh_lambda_sh.setGeometry(QtCore.QRect(450, 640, 200, 63))
1277 font = QtGui.QFont()
1278 font.setUnderline(
False)
1279 font.setStrikeOut(
False)
1280 self.groupBox_sh_lambda_sh.setFont(font)
1281 self.groupBox_sh_lambda_sh.setObjectName(
"groupBox_sh_lambda_sh")
1283 self.lineEdit_sh_lambda_sh.setGeometry(QtCore.QRect(0, 30, 200, 27))
1284 self.lineEdit_sh_lambda_sh.setReadOnly(
True)
1285 self.lineEdit_sh_lambda_sh.setObjectName(
"lineEdit_sh_lambda_sh")
1287 self.line_50.setGeometry(QtCore.QRect(20, 580, 881, 20))
1288 self.line_50.setFrameShape(QtWidgets.QFrame.HLine)
1289 self.line_50.setFrameShadow(QtWidgets.QFrame.Sunken)
1290 self.line_50.setObjectName(
"line_50")
1292 self.line_51.setGeometry(QtCore.QRect(450, 0, 20, 351))
1293 self.line_51.setFrameShape(QtWidgets.QFrame.VLine)
1294 self.line_51.setFrameShadow(QtWidgets.QFrame.Sunken)
1295 self.line_51.setObjectName(
"line_51")
1297 self.lineEdit_sh_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
1298 self.lineEdit_sh_warning_box.setReadOnly(
True)
1299 self.lineEdit_sh_warning_box.setObjectName(
"lineEdit_sh_warning_box")
1301 self.comboBox_sh_e.setGeometry(QtCore.QRect(740, 10, 111, 27))
1302 self.comboBox_sh_e.setObjectName(
"comboBox_sh_e")
1304 self.lineEdit_sh_e.setGeometry(QtCore.QRect(870, 10, 113, 27))
1305 self.lineEdit_sh_e.setReadOnly(
True)
1306 self.lineEdit_sh_e.setObjectName(
"lineEdit_sh_e")
1308 self.lineEdit_sh_b.setGeometry(QtCore.QRect(870, 90, 113, 27))
1309 self.lineEdit_sh_b.setReadOnly(
True)
1310 self.lineEdit_sh_b.setObjectName(
"lineEdit_sh_b")
1312 self.label_sh_show_section_i.setGeometry(QtCore.QRect(750, 150, 21, 31))
1313 font = QtGui.QFont()
1316 self.label_sh_show_section_i.setFont(font)
1317 self.label_sh_show_section_i.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1318 self.label_sh_show_section_i.setObjectName(
"label_sh_show_section_i")
1320 self.label_sh_show_section_length.setGeometry(QtCore.QRect(876, 150, 61, 31))
1321 font = QtGui.QFont()
1324 self.label_sh_show_section_length.setFont(font)
1325 self.label_sh_show_section_length.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1326 self.label_sh_show_section_length.setObjectName(
"label_sh_show_section_length")
1328 self.label_sh_section_i_val.setGeometry(QtCore.QRect(780, 150, 67, 31))
1329 self.label_sh_section_i_val.setText(
"")
1330 self.label_sh_section_i_val.setObjectName(
"label_sh_section_i_val")
1332 self.label_sh_show_section_length_val.setGeometry(QtCore.QRect(950, 150, 67, 31))
1333 self.label_sh_show_section_length_val.setText(
"")
1334 self.label_sh_show_section_length_val.setObjectName(
"label_sh_show_section_length_val")
1336 self.addButton_c_me_shafts.setGeometry(QtCore.QRect(925, 650, 125, 50))
1337 self.addButton_c_me_shafts.setObjectName(
"addButton_c_me_shafts")
1338 self.tabWidget_mechanical_equipments.addTab(self.
tab_shafts,
"")
1340 self.tab_electric_motors.setObjectName(
"tab_electric_motors")
1342 self.label_em_lambda_m_b.setGeometry(QtCore.QRect(0, 50, 191, 21))
1343 font = QtGui.QFont()
1346 self.label_em_lambda_m_b.setFont(font)
1347 self.label_em_lambda_m_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1348 self.label_em_lambda_m_b.setWordWrap(
True)
1349 self.label_em_lambda_m_b.setObjectName(
"label_em_lambda_m_b")
1351 self.comboBox_em_motor_type.setGeometry(QtCore.QRect(200, 20, 201, 27))
1352 self.comboBox_em_motor_type.setObjectName(
"comboBox_em_motor_type")
1354 self.label_em_motor_type.setGeometry(QtCore.QRect(100, 20, 91, 21))
1355 self.label_em_motor_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1356 self.label_em_motor_type.setObjectName(
"label_em_motor_type")
1358 self.lineEdit_em_lambda_mb.setGeometry(QtCore.QRect(200, 50, 201, 27))
1359 self.lineEdit_em_lambda_mb.setReadOnly(
True)
1360 self.lineEdit_em_lambda_mb.setObjectName(
"lineEdit_em_lambda_mb")
1362 self.label_em_insulation_class.setGeometry(QtCore.QRect(480, 240, 111, 21))
1363 self.label_em_insulation_class.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1364 self.label_em_insulation_class.setObjectName(
"label_em_insulation_class")
1366 self.lineEdit_em_v_r.setGeometry(QtCore.QRect(859, 60, 41, 27))
1367 self.lineEdit_em_v_r.setObjectName(
"lineEdit_em_v_r")
1369 self.comboBox_em_load_type.setGeometry(QtCore.QRect(190, 110, 211, 27))
1370 self.comboBox_em_load_type.setObjectName(
"comboBox_em_load_type")
1372 self.label_em_v_r.setGeometry(QtCore.QRect(819, 60, 31, 31))
1373 self.label_em_v_r.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1374 self.label_em_v_r.setObjectName(
"label_em_v_r")
1376 self.label_em_c_sf.setGeometry(QtCore.QRect(20, 130, 161, 51))
1377 font = QtGui.QFont()
1380 self.label_em_c_sf.setFont(font)
1381 self.label_em_c_sf.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1382 self.label_em_c_sf.setWordWrap(
True)
1383 self.label_em_c_sf.setObjectName(
"label_em_c_sf")
1385 self.lineEdit_em_li.setGeometry(QtCore.QRect(200, 230, 211, 27))
1386 self.lineEdit_em_li.setObjectName(
"lineEdit_em_li")
1388 self.lineEdit_em_operating_altitude.setGeometry(QtCore.QRect(620, 170, 61, 27))
1389 self.lineEdit_em_operating_altitude.setObjectName(
"lineEdit_em_operating_altitude")
1391 self.lineEdit_em_c_v.setGeometry(QtCore.QRect(859, 100, 113, 27))
1392 self.lineEdit_em_c_v.setReadOnly(
True)
1393 self.lineEdit_em_c_v.setObjectName(
"lineEdit_em_c_v")
1395 self.label_em_c_t.setGeometry(QtCore.QRect(930, 240, 41, 31))
1396 font = QtGui.QFont()
1399 self.label_em_c_t.setFont(font)
1400 self.label_em_c_t.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1401 self.label_em_c_t.setWordWrap(
True)
1402 self.label_em_c_t.setObjectName(
"label_em_c_t")
1404 self.lineEdit_em_c_sf.setGeometry(QtCore.QRect(190, 150, 211, 27))
1405 self.lineEdit_em_c_sf.setReadOnly(
True)
1406 self.lineEdit_em_c_sf.setObjectName(
"lineEdit_em_c_sf")
1408 self.lineEdit_em_lambda_wi.setGeometry(QtCore.QRect(850, 440, 171, 27))
1409 self.lineEdit_em_lambda_wi.setReadOnly(
True)
1410 self.lineEdit_em_lambda_wi.setObjectName(
"lineEdit_em_lambda_wi")
1412 self.label_em_operating_altitude.setGeometry(QtCore.QRect(450, 170, 161, 31))
1413 self.label_em_operating_altitude.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1414 self.label_em_operating_altitude.setObjectName(
"label_em_operating_altitude")
1416 self.lineEdit_em_v_u.setGeometry(QtCore.QRect(640, 100, 111, 27))
1417 self.lineEdit_em_v_u.setReadOnly(
True)
1418 self.lineEdit_em_v_u.setObjectName(
"lineEdit_em_v_u")
1420 self.label_em_t_0.setGeometry(QtCore.QRect(740, 240, 51, 31))
1421 self.label_em_t_0.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1422 self.label_em_t_0.setObjectName(
"label_em_t_0")
1424 self.line_100.setGeometry(QtCore.QRect(10, 200, 401, 3))
1425 self.line_100.setFrameShape(QtWidgets.QFrame.HLine)
1426 self.line_100.setFrameShadow(QtWidgets.QFrame.Sunken)
1427 self.line_100.setObjectName(
"line_100")
1429 self.lineEdit_em_v_d.setGeometry(QtCore.QRect(860, 20, 41, 27))
1430 self.lineEdit_em_v_d.setObjectName(
"lineEdit_em_v_d")
1432 self.label_em_v_u.setGeometry(QtCore.QRect(590, 100, 41, 31))
1433 font = QtGui.QFont()
1436 self.label_em_v_u.setFont(font)
1437 self.label_em_v_u.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1438 self.label_em_v_u.setObjectName(
"label_em_v_u")
1440 self.label_em_c_v.setGeometry(QtCore.QRect(809, 100, 41, 31))
1441 font = QtGui.QFont()
1444 self.label_em_c_v.setFont(font)
1445 self.label_em_c_v.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1446 self.label_em_c_v.setWordWrap(
True)
1447 self.label_em_c_v.setObjectName(
"label_em_c_v")
1449 self.label_em_v_d.setGeometry(QtCore.QRect(819, 20, 31, 31))
1450 self.label_em_v_d.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1451 self.label_em_v_d.setObjectName(
"label_em_v_d")
1453 self.label_em_li.setGeometry(QtCore.QRect(60, 220, 131, 41))
1454 self.label_em_li.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1455 self.label_em_li.setWordWrap(
True)
1456 self.label_em_li.setObjectName(
"label_em_li")
1458 self.lineEdit_em_c_alt.setGeometry(QtCore.QRect(750, 170, 113, 27))
1459 self.lineEdit_em_c_alt.setReadOnly(
True)
1460 self.lineEdit_em_c_alt.setObjectName(
"lineEdit_em_c_alt")
1462 self.label_em_lambda_wi.setGeometry(QtCore.QRect(650, 430, 191, 31))
1463 font = QtGui.QFont()
1466 self.label_em_lambda_wi.setFont(font)
1467 self.label_em_lambda_wi.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1468 self.label_em_lambda_wi.setWordWrap(
True)
1469 self.label_em_lambda_wi.setObjectName(
"label_em_lambda_wi")
1471 self.label_em_c_alt.setGeometry(QtCore.QRect(690, 170, 51, 31))
1472 font = QtGui.QFont()
1475 self.label_em_c_alt.setFont(font)
1476 self.label_em_c_alt.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1477 self.label_em_c_alt.setWordWrap(
True)
1478 self.label_em_c_alt.setObjectName(
"label_em_c_alt")
1480 self.lineEdit_em_lambda_wi_b.setGeometry(QtCore.QRect(200, 270, 211, 27))
1481 self.lineEdit_em_lambda_wi_b.setReadOnly(
True)
1482 self.lineEdit_em_lambda_wi_b.setObjectName(
"lineEdit_em_lambda_wi_b")
1484 self.lineEdit_em_c_t.setGeometry(QtCore.QRect(970, 240, 113, 27))
1485 self.lineEdit_em_c_t.setReadOnly(
True)
1486 self.lineEdit_em_c_t.setObjectName(
"lineEdit_em_c_t")
1488 self.line_101.setGeometry(QtCore.QRect(10, 90, 401, 16))
1489 self.line_101.setFrameShape(QtWidgets.QFrame.HLine)
1490 self.line_101.setFrameShadow(QtWidgets.QFrame.Sunken)
1491 self.line_101.setObjectName(
"line_101")
1493 self.groupBox_em_lambda_m.setGeometry(QtCore.QRect(435, 640, 230, 63))
1494 font = QtGui.QFont()
1495 font.setUnderline(
False)
1496 font.setStrikeOut(
False)
1497 self.groupBox_em_lambda_m.setFont(font)
1498 self.groupBox_em_lambda_m.setObjectName(
"groupBox_em_lambda_m")
1500 self.lineEdit_em_lambda_m.setGeometry(QtCore.QRect(15, 30, 200, 27))
1501 self.lineEdit_em_lambda_m.setReadOnly(
True)
1502 self.lineEdit_em_lambda_m.setObjectName(
"lineEdit_em_lambda_m")
1504 self.label_em_lambda_wi_b.setGeometry(QtCore.QRect(0, 260, 191, 31))
1505 font = QtGui.QFont()
1508 self.label_em_lambda_wi_b.setFont(font)
1509 self.label_em_lambda_wi_b.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1510 self.label_em_lambda_wi_b.setWordWrap(
True)
1511 self.label_em_lambda_wi_b.setObjectName(
"label_em_lambda_wi_b")
1513 self.lineEdit_em_t_0.setGeometry(QtCore.QRect(800, 240, 113, 27))
1514 self.lineEdit_em_t_0.setObjectName(
"lineEdit_em_t_0")
1516 self.comboBox_em_insulation_class.setGeometry(QtCore.QRect(600, 240, 111, 27))
1517 self.comboBox_em_insulation_class.setObjectName(
"comboBox_em_insulation_class")
1519 self.label_em_load_type.setGeometry(QtCore.QRect(90, 110, 91, 21))
1520 self.label_em_load_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1521 self.label_em_load_type.setObjectName(
"label_em_load_type")
1523 self.groupBox_em_gr_lambda_g.setGeometry(QtCore.QRect(125, 530, 200, 80))
1524 self.groupBox_em_gr_lambda_g.setObjectName(
"groupBox_em_gr_lambda_g")
1526 self.lineEdit_em_gr_lamda_g.setGeometry(QtCore.QRect(0, 30, 200, 27))
1527 self.lineEdit_em_gr_lamda_g.setReadOnly(
True)
1528 self.lineEdit_em_gr_lamda_g.setObjectName(
"lineEdit_em_gr_lamda_g")
1530 self.groupBox_em_be_lambda_be.setGeometry(QtCore.QRect(450, 530, 200, 63))
1531 font = QtGui.QFont()
1532 font.setUnderline(
False)
1533 font.setStrikeOut(
False)
1534 self.groupBox_em_be_lambda_be.setFont(font)
1535 self.groupBox_em_be_lambda_be.setObjectName(
"groupBox_em_be_lambda_be")
1537 self.lineEdit_em_be_lambda_be.setGeometry(QtCore.QRect(0, 30, 200, 27))
1538 self.lineEdit_em_be_lambda_be.setReadOnly(
True)
1539 self.lineEdit_em_be_lambda_be.setObjectName(
"lineEdit_em_be_lambda_be")
1541 self.groupBox_em_sh_lambda_sh.setGeometry(QtCore.QRect(775, 530, 200, 63))
1542 font = QtGui.QFont()
1543 font.setUnderline(
False)
1544 font.setStrikeOut(
False)
1545 self.groupBox_em_sh_lambda_sh.setFont(font)
1546 self.groupBox_em_sh_lambda_sh.setObjectName(
"groupBox_em_sh_lambda_sh")
1548 self.lineEdit_em_sh_lambda_sh.setGeometry(QtCore.QRect(0, 30, 200, 27))
1549 self.lineEdit_em_sh_lambda_sh.setReadOnly(
True)
1550 self.lineEdit_em_sh_lambda_sh.setObjectName(
"lineEdit_em_sh_lambda_sh")
1552 self.line_102.setGeometry(QtCore.QRect(20, 500, 1111, 16))
1553 self.line_102.setFrameShape(QtWidgets.QFrame.HLine)
1554 self.line_102.setFrameShadow(QtWidgets.QFrame.Sunken)
1555 self.line_102.setObjectName(
"line_102")
1557 self.line_103.setGeometry(QtCore.QRect(20, 600, 1101, 16))
1558 self.line_103.setFrameShape(QtWidgets.QFrame.HLine)
1559 self.line_103.setFrameShadow(QtWidgets.QFrame.Sunken)
1560 self.line_103.setObjectName(
"line_103")
1562 self.label_3.setGeometry(QtCore.QRect(520, 270, 141, 21))
1563 font = QtGui.QFont()
1566 self.label_3.setFont(font)
1567 self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1568 self.label_3.setObjectName(
"label_3")
1570 self.label_4.setGeometry(QtCore.QRect(430, 300, 231, 21))
1571 font = QtGui.QFont()
1574 self.label_4.setFont(font)
1575 self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1576 self.label_4.setObjectName(
"label_4")
1578 self.label_5.setGeometry(QtCore.QRect(460, 330, 201, 21))
1579 font = QtGui.QFont()
1582 self.label_5.setFont(font)
1583 self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1584 self.label_5.setObjectName(
"label_5")
1586 self.label_6.setGeometry(QtCore.QRect(520, 360, 141, 21))
1587 font = QtGui.QFont()
1590 self.label_6.setFont(font)
1591 self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1592 self.label_6.setObjectName(
"label_6")
1594 self.label_em_temp_rating.setGeometry(QtCore.QRect(670, 270, 67, 21))
1595 self.label_em_temp_rating.setText(
"")
1596 self.label_em_temp_rating.setObjectName(
"label_em_temp_rating")
1598 self.label_em_assumed_ambient_temp.setGeometry(QtCore.QRect(670, 300, 67, 21))
1599 self.label_em_assumed_ambient_temp.setText(
"")
1600 self.label_em_assumed_ambient_temp.setObjectName(
"label_em_assumed_ambient_temp")
1602 self.label_allowable_temp_rise.setGeometry(QtCore.QRect(670, 330, 67, 21))
1603 self.label_allowable_temp_rise.setText(
"")
1604 self.label_allowable_temp_rise.setObjectName(
"label_allowable_temp_rise")
1606 self.label_hot_spot_allow.setGeometry(QtCore.QRect(670, 360, 67, 21))
1607 self.label_hot_spot_allow.setText(
"")
1608 self.label_hot_spot_allow.setObjectName(
"label_hot_spot_allow")
1610 self.lineEdit_em_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
1611 self.lineEdit_em_warning_box.setReadOnly(
True)
1612 self.lineEdit_em_warning_box.setObjectName(
"lineEdit_em_warning_box")
1614 self.lineEdit_em_greatest_volt_diff.setGeometry(QtCore.QRect(640, 20, 113, 27))
1615 self.lineEdit_em_greatest_volt_diff.setObjectName(
"lineEdit_em_greatest_volt_diff")
1617 self.label_em_greatest_volt_diff.setGeometry(QtCore.QRect(430, 10, 201, 41))
1618 self.label_em_greatest_volt_diff.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1619 self.label_em_greatest_volt_diff.setWordWrap(
True)
1620 self.label_em_greatest_volt_diff.setObjectName(
"label_em_greatest_volt_diff")
1622 self.lineEdit_em_average_phase_volt.setGeometry(QtCore.QRect(640, 60, 113, 27))
1623 self.lineEdit_em_average_phase_volt.setObjectName(
"lineEdit_em_average_phase_volt")
1625 self.label_em_average_phase_volt.setGeometry(QtCore.QRect(470, 50, 161, 41))
1626 self.label_em_average_phase_volt.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1627 self.label_em_average_phase_volt.setWordWrap(
True)
1628 self.label_em_average_phase_volt.setObjectName(
"label_em_average_phase_volt")
1630 self.line_15.setGeometry(QtCore.QRect(420, 20, 20, 461))
1631 self.line_15.setFrameShape(QtWidgets.QFrame.VLine)
1632 self.line_15.setFrameShadow(QtWidgets.QFrame.Sunken)
1633 self.line_15.setObjectName(
"line_15")
1635 self.line_16.setGeometry(QtCore.QRect(10, 320, 401, 16))
1636 self.line_16.setFrameShape(QtWidgets.QFrame.HLine)
1637 self.line_16.setFrameShadow(QtWidgets.QFrame.Sunken)
1638 self.line_16.setObjectName(
"line_16")
1640 self.line_17.setGeometry(QtCore.QRect(450, 140, 681, 16))
1641 self.line_17.setFrameShape(QtWidgets.QFrame.HLine)
1642 self.line_17.setFrameShadow(QtWidgets.QFrame.Sunken)
1643 self.line_17.setObjectName(
"line_17")
1645 self.line_18.setGeometry(QtCore.QRect(450, 220, 681, 3))
1646 self.line_18.setFrameShape(QtWidgets.QFrame.HLine)
1647 self.line_18.setFrameShadow(QtWidgets.QFrame.Sunken)
1648 self.line_18.setObjectName(
"line_18")
1650 self.label_em_lambda_c.setGeometry(QtCore.QRect(0, 350, 191, 31))
1651 font = QtGui.QFont()
1654 self.label_em_lambda_c.setFont(font)
1655 self.label_em_lambda_c.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1656 self.label_em_lambda_c.setWordWrap(
True)
1657 self.label_em_lambda_c.setObjectName(
"label_em_lambda_c")
1659 self.lineEdit_em_lambda_c.setGeometry(QtCore.QRect(200, 360, 201, 27))
1660 self.lineEdit_em_lambda_c.setReadOnly(
False)
1661 self.lineEdit_em_lambda_c.setObjectName(
"lineEdit_em_lambda_c")
1663 self.addButton_c_me_electric_motors.setGeometry(QtCore.QRect(925, 650, 125, 50))
1664 self.addButton_c_me_electric_motors.setObjectName(
"addButton_c_me_electric_motors")
1667 self.tab_mechanical_couplings.setObjectName(
"tab_mechanical_couplings")
1669 self.groupBox_cp_gr_lambda_g.setGeometry(QtCore.QRect(420, 20, 301, 61))
1670 self.groupBox_cp_gr_lambda_g.setTitle(
"")
1671 self.groupBox_cp_gr_lambda_g.setObjectName(
"groupBox_cp_gr_lambda_g")
1673 self.lineEdit_cp_gr_lamda_g.setGeometry(QtCore.QRect(180, 10, 113, 27))
1674 self.lineEdit_cp_gr_lamda_g.setReadOnly(
True)
1675 self.lineEdit_cp_gr_lamda_g.setObjectName(
"lineEdit_cp_gr_lamda_g")
1677 self.label_cp_gr_lambda_g.setGeometry(QtCore.QRect(0, 10, 171, 20))
1678 font = QtGui.QFont()
1681 self.label_cp_gr_lambda_g.setFont(font)
1682 self.label_cp_gr_lambda_g.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1683 self.label_cp_gr_lambda_g.setObjectName(
"label_cp_gr_lambda_g")
1685 self.groupBox_cp_c_sf.setGeometry(QtCore.QRect(30, 10, 361, 131))
1686 self.groupBox_cp_c_sf.setTitle(
"")
1687 self.groupBox_cp_c_sf.setObjectName(
"groupBox_cp_c_sf")
1689 self.label_cp_driven_machinery.setGeometry(QtCore.QRect(10, 10, 131, 21))
1690 self.label_cp_driven_machinery.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1691 self.label_cp_driven_machinery.setObjectName(
"label_cp_driven_machinery")
1693 self.comboBox_cp_torque.setGeometry(QtCore.QRect(150, 40, 201, 27))
1694 self.comboBox_cp_torque.setObjectName(
"comboBox_cp_torque")
1696 self.label_cp_c_sf.setGeometry(QtCore.QRect(10, 60, 131, 61))
1697 font = QtGui.QFont()
1700 self.label_cp_c_sf.setFont(font)
1701 self.label_cp_c_sf.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1702 self.label_cp_c_sf.setWordWrap(
True)
1703 self.label_cp_c_sf.setObjectName(
"label_cp_c_sf")
1705 self.lineEdit_cp_c_sf.setGeometry(QtCore.QRect(150, 80, 91, 27))
1706 self.lineEdit_cp_c_sf.setReadOnly(
True)
1707 self.lineEdit_cp_c_sf.setObjectName(
"lineEdit_cp_c_sf")
1709 self.comboBox_cp_driven_machinery.setGeometry(QtCore.QRect(150, 10, 201, 27))
1710 self.comboBox_cp_driven_machinery.setObjectName(
"comboBox_cp_driven_machinery")
1712 self.groupBox_cp_se_lambda_se.setGeometry(QtCore.QRect(740, 20, 301, 61))
1713 self.groupBox_cp_se_lambda_se.setTitle(
"")
1714 self.groupBox_cp_se_lambda_se.setObjectName(
"groupBox_cp_se_lambda_se")
1716 self.lineEdit_cp_se_lambda_se.setGeometry(QtCore.QRect(180, 10, 113, 27))
1717 self.lineEdit_cp_se_lambda_se.setReadOnly(
True)
1718 self.lineEdit_cp_se_lambda_se.setObjectName(
"lineEdit_cp_se_lambda_se")
1720 self.label_cp_se_lambda_se.setGeometry(QtCore.QRect(0, 10, 171, 20))
1721 font = QtGui.QFont()
1724 self.label_cp_se_lambda_se.setFont(font)
1725 self.label_cp_se_lambda_se.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1726 self.label_cp_se_lambda_se.setObjectName(
"label_cp_se_lambda_se")
1728 self.lineEdit_cp_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
1729 self.lineEdit_cp_warning_box.setReadOnly(
True)
1730 self.lineEdit_cp_warning_box.setObjectName(
"lineEdit_cp_warning_box")
1732 self.groupBox_cp_lambda_cp.setGeometry(QtCore.QRect(450, 640, 200, 63))
1733 font = QtGui.QFont()
1734 font.setUnderline(
False)
1735 font.setStrikeOut(
False)
1736 self.groupBox_cp_lambda_cp.setFont(font)
1737 self.groupBox_cp_lambda_cp.setObjectName(
"groupBox_cp_lambda_cp")
1739 self.lineEdit_cp_lambda_cp.setGeometry(QtCore.QRect(0, 30, 200, 27))
1740 self.lineEdit_cp_lambda_cp.setReadOnly(
True)
1741 self.lineEdit_cp_lambda_cp.setObjectName(
"lineEdit_cp_lambda_cp")
1743 self.addButton_c_me_mechanical_couplings.setGeometry(QtCore.QRect(925, 650, 125, 50))
1744 self.addButton_c_me_mechanical_couplings.setObjectName(
"addButton_c_me_mechanical_couplings")
1747 self.tab_battery.setObjectName(
"tab_battery")
1749 self.groupBox_bat_lambda_bat.setGeometry(QtCore.QRect(450, 640, 200, 63))
1750 font = QtGui.QFont()
1751 font.setUnderline(
False)
1752 font.setStrikeOut(
False)
1753 self.groupBox_bat_lambda_bat.setFont(font)
1754 self.groupBox_bat_lambda_bat.setObjectName(
"groupBox_bat_lambda_bat")
1756 self.lineEdit_bat_lambda_bat.setGeometry(QtCore.QRect(0, 30, 200, 27))
1757 self.lineEdit_bat_lambda_bat.setReadOnly(
True)
1758 self.lineEdit_bat_lambda_bat.setObjectName(
"lineEdit_bat_lambda_bat")
1760 self.lineEdit_bat_warning_box.setGeometry(QtCore.QRect(10, 640, 330, 70))
1761 self.lineEdit_bat_warning_box.setReadOnly(
True)
1762 self.lineEdit_bat_warning_box.setObjectName(
"lineEdit_bat_warning_box")
1764 self.groupBox_bat_lambda_0.setGeometry(QtCore.QRect(20, 20, 361, 131))
1765 self.groupBox_bat_lambda_0.setTitle(
"")
1766 self.groupBox_bat_lambda_0.setObjectName(
"groupBox_bat_lambda_0")
1768 self.label_bat_device_type.setGeometry(QtCore.QRect(10, 10, 131, 21))
1769 self.label_bat_device_type.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1770 self.label_bat_device_type.setObjectName(
"label_bat_device_type")
1772 self.comboBox_bat_device_type_2.setGeometry(QtCore.QRect(150, 40, 201, 27))
1773 self.comboBox_bat_device_type_2.setObjectName(
"comboBox_bat_device_type_2")
1775 self.label_bat_lambda_0.setGeometry(QtCore.QRect(10, 60, 131, 61))
1776 font = QtGui.QFont()
1779 self.label_bat_lambda_0.setFont(font)
1780 self.label_bat_lambda_0.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
1781 self.label_bat_lambda_0.setWordWrap(
True)
1782 self.label_bat_lambda_0.setObjectName(
"label_bat_lambda_0")
1784 self.lineEdit_bat_lambda_0.setGeometry(QtCore.QRect(150, 80, 91, 27))
1785 self.lineEdit_bat_lambda_0.setReadOnly(
True)
1786 self.lineEdit_bat_lambda_0.setObjectName(
"lineEdit_bat_lambda_0")
1788 self.comboBox_bat_device_type.setGeometry(QtCore.QRect(150, 10, 201, 27))
1789 self.comboBox_bat_device_type.setObjectName(
"comboBox_bat_device_type")
1791 self.addButton_c_me_battery.setGeometry(QtCore.QRect(925, 650, 125, 50))
1792 self.addButton_c_me_battery.setObjectName(
"addButton_c_me_battery")
1793 self.tabWidget_mechanical_equipments.addTab(self.
tab_battery,
"")
1796 self.menubar.setGeometry(QtCore.QRect(0, 0, 1100, 25))
1797 self.menubar.setObjectName(
"menubar")
1798 MainWindow.setMenuBar(self.
menubar)
1800 self.statusbar.setObjectName(
"statusbar")
1812 self.tabWidget_mechanical_equipments.setCurrentIndex(0)
1813 QtCore.QMetaObject.connectSlotsByName(MainWindow)
1817 Retranslate Ui Function 1819 _translate = QtCore.QCoreApplication.translate
1820 MainWindow.setWindowTitle(_translate(
"MainWindow", self.
title_name))
1821 self.label_sp_material_type.setText(_translate(
"MainWindow",
"Material type:"))
1822 self.label_sp_material.setText(_translate(
"MainWindow",
"Material:"))
1823 self.label_sp_c_g.setText(_translate(
"MainWindow",
"Material rigidity modulus - CG →"))
1824 self.label_sp_d_w.setText(_translate(
"MainWindow",
"Wire diameter - Dw (in):"))
1825 self.label_sp_c_dw.setText(_translate(
"MainWindow",
"Effect of Dw - CDW →"))
1826 self.label_sp_c_dc.setText(_translate(
"MainWindow",
"Effect of Dc - CDC →"))
1827 self.label_sp_d_c.setText(_translate(
"MainWindow",
"Coil diameter - Dc (in):"))
1828 self.label_sp_c_n.setText(_translate(
"MainWindow",
"Effect of Na - CN →"))
1829 self.label_sp_n_a.setText(_translate(
"MainWindow",
"Active coils numb. - Na:"))
1830 self.label_sp_l_1.setText(_translate(
"MainWindow",
"Spring deflection - L1 (in):"))
1831 self.label_sp_l1_l2.setText(_translate(
"MainWindow",
"Effect of L1-L2 - CL →"))
1832 self.label_sp_l_2.setText(_translate(
"MainWindow",
"Spring deflection - L2 (in):"))
1833 self.label_sp_material_2.setText(_translate(
"MainWindow",
"Material:"))
1834 self.label_sp_c_y.setText(_translate(
"MainWindow",
"Effect of material strength - CY →"))
1835 self.label_sp_c_k.setText(_translate(
"MainWindow",
"Spring concentration factor - CK →"))
1836 self.label_sp_c_r.setText(_translate(
"MainWindow",
"Spring cycle rate - CR:"))
1837 self.label_sp_c_cs.setText(_translate(
"MainWindow",
"Effect of CR - CCS →"))
1838 self.label_sp_c_m.setText(_translate(
"MainWindow",
"CM:"))
1839 self.groupBox_sp_lambda_sp.setTitle(_translate(
"MainWindow",
"Spring failure rate - λSP"))
1840 self.addButton_c_me_springs.setText(_translate(
"MainWindow",
"Add Equipment"))
1841 self.tabWidget_mechanical_equipments.setTabText(self.tabWidget_mechanical_equipments.indexOf(self.
tab_springs), _translate(
"MainWindow",
"Springs"))
1842 self.groupBox_gr_lambda_g.setTitle(_translate(
"MainWindow",
"Gear failure rate - λG"))
1843 self.label_gr_revolutions.setText(_translate(
"MainWindow",
"Revolutions:"))
1844 self.label_gr_rpm.setText(_translate(
"MainWindow",
"RPM:"))
1845 self.label_gr_lambda_g_b.setText(_translate(
"MainWindow",
"Base failure rate - λG,B →"))
1846 self.label_gr_v_d.setText(_translate(
"MainWindow",
"Design speed - Vd:"))
1847 self.label_gr_v_0.setText(_translate(
"MainWindow",
"Operating speed - V0:"))
1848 self.label_gr_c_gs.setText(_translate(
"MainWindow",
"Multiplying factor - CGS →"))
1849 self.label_gr_l_d.setText(_translate(
"MainWindow",
"Design load - Ld:"))
1850 self.label_gr_l_0.setText(_translate(
"MainWindow",
"Operating load - L0:"))
1851 self.label_gr_c_gp.setText(_translate(
"MainWindow",
"Actual gear loading - CGP →"))
1852 self.label_gr_a_e.setText(_translate(
"MainWindow",
"Misalignment angle - AE (rad):"))
1853 self.label_gr_c_ga.setText(_translate(
"MainWindow",
"Misalignment - CGA →"))
1854 self.label_gr_vl.setText(_translate(
"MainWindow",
"Viscosity of lubricant used - VL:"))
1855 self.label_gr_v0.setText(_translate(
"MainWindow",
"Viscosity of specification lubricant - V0:"))
1856 self.label_gr_c_gl.setText(_translate(
"MainWindow",
"Lubrication deviation - CGL →"))
1857 self.label_gr_t_at.setText(_translate(
"MainWindow",
"Operationg temperature - TAT (F):"))
1858 self.label_gr_c_gt.setText(_translate(
"MainWindow",
"Operating temperature - CGT →"))
1859 self.label_gr_load_character.setText(_translate(
"MainWindow",
"Character of load:"))
1860 self.label_gr_prime_mover.setText(_translate(
"MainWindow",
"Prime mover:"))
1861 self.label_gr_c_gv.setText(_translate(
"MainWindow",
"AGMA Service factor - CGV →"))
1862 self.addButton_c_me_gears.setText(_translate(
"MainWindow",
"Add Equipment"))
1863 self.tabWidget_mechanical_equipments.setTabText(self.tabWidget_mechanical_equipments.indexOf(self.
tab_gears), _translate(
"MainWindow",
"Gears"))
1864 self.label_be_c_r.setText(_translate(
"MainWindow",
"Life adjustment factor for reliability - CR →"))
1865 self.label_be_r.setText(_translate(
"MainWindow",
"R:"))
1866 self.label_be_c_r_2.setText(_translate(
"MainWindow",
"Life adjustment factor for lubricant - CV →"))
1867 self.label_be_v0.setText(_translate(
"MainWindow",
"Viscosity of specification fluid - V0:"))
1868 self.label_be_vl.setText(_translate(
"MainWindow",
"Viscosity of lubricant used - VL:"))
1869 self.label_be_c_cw.setText(_translate(
"MainWindow",
"Multiplying factor for water contaminant level - CCW →"))
1870 self.label_be_cw.setText(_translate(
"MainWindow",
"Percentage of water in the lubricant - CW:"))
1871 self.label_be_c_t.setText(_translate(
"MainWindow",
"Multiplying factor for operating temperature - CT →"))
1872 self.label_be_t0.setText(_translate(
"MainWindow",
"Operating temperature of bearing - T0 (C):"))
1873 self.label_be_type_of_application.setText(_translate(
"MainWindow",
"Type of application:"))
1874 self.radioButton_be_ball_bearing.setText(_translate(
"MainWindow",
"Ball Bearing"))
1875 self.radioButton_be_roller_bearing.setText(_translate(
"MainWindow",
"Roller Bearing"))
1876 self.label_be_c_sf.setText(_translate(
"MainWindow",
"Bearing service factor - CSF →"))
1877 self.label_be_type_of_application_2.setText(_translate(
"MainWindow",
"Type of application:"))
1878 self.label_be_bearing_diameter.setText(_translate(
"MainWindow",
"Bearing diameter (mm):"))
1879 self.label_be_c_c.setText(_translate(
"MainWindow",
"Bearing contamination level - CC →"))
1880 self.label_be_c_y.setText(_translate(
"MainWindow",
"Multiplying factor applied load - CY →"))
1881 self.label_be_l_s.setText(_translate(
"MainWindow",
"Dynamic load rating - Ls:"))
1882 self.label_be_l_a.setText(_translate(
"MainWindow",
"Equivalent radial load - LA:"))
1883 self.label_be_n.setText(_translate(
"MainWindow",
"Operation speed - n:"))
1884 self.label_be_lambda_be_b.setText(_translate(
"MainWindow",
"Base failure rate - λBE,B →"))
1885 self.groupBox_be_lambda_be.setTitle(_translate(
"MainWindow",
"Bearing failure rate - λBE"))
1886 self.label_2.setText(_translate(
"MainWindow",
"Select the bearing type."))
1887 self.addButton_c_me_bearings.setText(_translate(
"MainWindow",
"Add Equipment"))
1888 self.tabWidget_mechanical_equipments.setTabText(self.tabWidget_mechanical_equipments.indexOf(self.
tab_bearings), _translate(
"MainWindow",
"Bearings"))
1889 self.groupBox_ac_lambda_ac.setTitle(_translate(
"MainWindow",
"Actuator failure rate - λAC"))
1890 self.label_ac_w_a.setText(_translate(
"MainWindow",
"Axial load - WA (Ibf):"))
1891 self.label_ac_n_o.setText(_translate(
"MainWindow",
"Number of cycles - No →"))
1892 self.label_ac_e_1.setText(_translate(
"MainWindow",
"Modulus of elasticity, cylinder - E1 (lbs/in^2):"))
1893 self.label_ac_mu_2.setText(_translate(
"MainWindow",
"Poisson\'s ratio, piston - η2:"))
1894 self.radioButton_ac_gama_0_54.setText(_translate(
"MainWindow",
"Wear factor (γ) = 0.54"))
1895 self.label_ac_e_2.setText(_translate(
"MainWindow",
"Modulus of elasticity, piston - E2 (lbs/in^2):"))
1896 self.label_ac_various_metals.setText(_translate(
"MainWindow",
"Various metals:"))
1897 self.label_ac_lambda_ac_b.setText(_translate(
"MainWindow",
"Base failure rate - λAC,B →"))
1898 self.label_ac_d_2.setText(_translate(
"MainWindow",
"Diameter of piston - D2(in):"))
1899 self.radioButton_ac_gama_0_2.setText(_translate(
"MainWindow",
"Wear factor (γ) = 0.20"))
1900 self.label_ac_f_y.setText(_translate(
"MainWindow",
"Yield strength - Fy:"))
1901 self.label_ac_d_1.setText(_translate(
"MainWindow",
"Diameter of cylinder - D1(in):"))
1902 self.label_ac_mu_1.setText(_translate(
"MainWindow",
"Poisson\'s ratio, cylinder - η1:"))
1903 self.label_ac_h_p.setText(_translate(
"MainWindow",
"Piston hardness - Hp:"))
1904 self.label_ac_material.setText(_translate(
"MainWindow",
"Material:"))
1905 self.radioButton_ac_piston.setText(_translate(
"MainWindow",
"Piston"))
1906 self.label_ac_h_c.setText(_translate(
"MainWindow",
"Cylinder hardness - Hc:"))
1907 self.label_ac_c_s.setText(_translate(
"MainWindow",
"Filtration multiplying factor - Cs:"))
1908 self.label_ac_c_cp.setText(_translate(
"MainWindow",
"Contaminant multiplying factor - Ccp →"))
1909 self.radioButton_ac_cylinder.setText(_translate(
"MainWindow",
"Cylinder"))
1910 self.label_ac_filter_size.setText(_translate(
"MainWindow",
"Filter size (micron):"))
1911 self.label_ac_c_t.setText(_translate(
"MainWindow",
"Temperature multiplying factor - CT →"))
1912 self.label_ac_t.setText(_translate(
"MainWindow",
"Operating temperature - T (K):"))
1913 self.label_ac_teta.setText(_translate(
"MainWindow",
"Activation energy constant - θ (K):"))
1914 self.addButton_c_me_actuators.setText(_translate(
"MainWindow",
"Add Equipment"))
1915 self.tabWidget_mechanical_equipments.setTabText(self.tabWidget_mechanical_equipments.indexOf(self.
tab_actuators), _translate(
"MainWindow",
"Actuators"))
1916 self.label_sh_lambda_sh_b.setText(_translate(
"MainWindow",
"Base failure rate - λSH,B →"))
1917 self.label_sh_n.setText(_translate(
"MainWindow",
"Number of cycles - N:"))
1918 self.label_sh_surface_finish.setText(_translate(
"MainWindow",
"Shaft surface finish:"))
1919 self.label_sh_c_f.setText(_translate(
"MainWindow",
"Shaft surface finish factor - Cf →"))
1920 self.label_sh_t_s.setText(_translate(
"MainWindow",
"Tensile strength of material - Ts:"))
1921 self.label_sh_t_at.setText(_translate(
"MainWindow",
"Operating temperature - TAT:"))
1922 self.label_sh_c_t.setText(_translate(
"MainWindow",
"Material temperature multiplying factor - CT→"))
1923 self.label_sh_e.setText(_translate(
"MainWindow",
"Modulus of elasticity of shaft material- E (Ibs/in^2):"))
1924 self.label_sh_f.setText(_translate(
"MainWindow",
"Fluid radial unbalance force or load weight - F (Ib):"))
1925 self.label_sh_b.setText(_translate(
"MainWindow",
"Shaft deflection - b (in):"))
1926 self.label.setText(_translate(
"MainWindow",
"Add shaft section."))
1927 self.pushButton_sh_add_section.setText(_translate(
"MainWindow",
"Add"))
1928 self.label_sh_section_i.setText(_translate(
"MainWindow",
"Moment of inertia - I (in^4):"))
1929 self.label_sh_section_length.setText(_translate(
"MainWindow",
"Length (in):"))
1930 self.pushButton_sh_set_section.setText(_translate(
"MainWindow",
"Set"))
1931 self.label_sh_c_dy.setText(_translate(
"MainWindow",
"Shaft displacement multiplying factor - CDY →"))
1932 self.label_sh_r.setText(_translate(
"MainWindow",
"Radius of fillet - r (in):"))
1933 self.label_sh_d.setText(_translate(
"MainWindow",
"Transitioned shaft diameter - d (in):"))
1934 self.label_sh_c_sc_r.setText(_translate(
"MainWindow",
"CSC-R→"))
1935 self.label_sh_D.setText(_translate(
"MainWindow",
"Initial shaft diameter - D (in):"))
1936 self.label_sh_c_sc_g.setText(_translate(
"MainWindow",
"CSC-G→"))
1937 self.label_sh_h_D.setText(_translate(
"MainWindow",
"h/D:"))
1938 self.label_sh_h_r.setText(_translate(
"MainWindow",
"h/r:"))
1939 self.label_sh_c_sc.setText(_translate(
"MainWindow",
"Shaft stress concentration factor factor - CSC→"))
1940 self.groupBox_sh_lambda_sh.setTitle(_translate(
"MainWindow",
"Shaft failure rate - λSH"))
1941 self.label_sh_show_section_i.setText(_translate(
"MainWindow",
"I:"))
1942 self.label_sh_show_section_length.setText(_translate(
"MainWindow",
"Length:"))
1943 self.addButton_c_me_shafts.setText(_translate(
"MainWindow",
"Add Equipment"))
1944 self.tabWidget_mechanical_equipments.setTabText(self.tabWidget_mechanical_equipments.indexOf(self.
tab_shafts), _translate(
"MainWindow",
"Shafts"))
1945 self.label_em_lambda_m_b.setText(_translate(
"MainWindow",
"Base failure rate - λM,B →"))
1946 self.label_em_motor_type.setText(_translate(
"MainWindow",
"Motor type:"))
1947 self.label_em_insulation_class.setText(_translate(
"MainWindow",
"Insulation class:"))
1948 self.label_em_v_r.setText(_translate(
"MainWindow",
"VR:"))
1949 self.label_em_c_sf.setText(_translate(
"MainWindow",
"Load service factor - CSF →"))
1950 self.label_em_c_t.setText(_translate(
"MainWindow",
"CT →"))
1951 self.label_em_operating_altitude.setText(_translate(
"MainWindow",
"Operating altitude (ft):"))
1952 self.label_em_t_0.setText(_translate(
"MainWindow",
"T0 (°C):"))
1953 self.label_em_v_u.setText(_translate(
"MainWindow",
"VU →"))
1954 self.label_em_c_v.setText(_translate(
"MainWindow",
"CV →"))
1955 self.label_em_v_d.setText(_translate(
"MainWindow",
"VD:"))
1956 self.label_em_li.setText(_translate(
"MainWindow",
"Expected winding life - LI (hours):"))
1957 self.label_em_lambda_wi.setText(_translate(
"MainWindow",
"Failure rate of elc. mot. wind. - λWI →"))
1958 self.label_em_c_alt.setText(_translate(
"MainWindow",
"Calt →"))
1959 self.groupBox_em_lambda_m.setTitle(_translate(
"MainWindow",
"Electric motors failure rate - λM"))
1960 self.label_em_lambda_wi_b.setText(_translate(
"MainWindow",
"Base failure rate of elc. mot. wind. - λWI,B →"))
1961 self.label_em_load_type.setText(_translate(
"MainWindow",
"Load type:"))
1962 self.groupBox_em_gr_lambda_g.setTitle(_translate(
"MainWindow",
"Gear failure rate - λG"))
1963 self.groupBox_em_be_lambda_be.setTitle(_translate(
"MainWindow",
"Bearing failure rate - λBE"))
1964 self.groupBox_em_sh_lambda_sh.setTitle(_translate(
"MainWindow",
"Shaft failure rate - λSH"))
1965 self.label_3.setText(_translate(
"MainWindow",
"Temperature rating:"))
1966 self.label_4.setText(_translate(
"MainWindow",
" Assumed ambient temperature:"))
1967 self.label_5.setText(_translate(
"MainWindow",
"Allowable temperature rise:"))
1968 self.label_6.setText(_translate(
"MainWindow",
"Hot spot allowance:"))
1969 self.label_em_greatest_volt_diff.setText(_translate(
"MainWindow",
"Greatest voltage difference:"))
1970 self.label_em_average_phase_volt.setText(_translate(
"MainWindow",
"Average phase voltage:"))
1971 self.label_em_lambda_c.setText(_translate(
"MainWindow",
"Failure rate of capacitor (if applicable)- λc →"))
1972 self.addButton_c_me_electric_motors.setText(_translate(
"MainWindow",
"Add Equipment"))
1973 self.tabWidget_mechanical_equipments.setTabText(self.tabWidget_mechanical_equipments.indexOf(self.
tab_electric_motors), _translate(
"MainWindow",
"Electric Motors"))
1974 self.label_cp_gr_lambda_g.setText(_translate(
"MainWindow",
"Gear failure rate - λG →"))
1975 self.label_cp_driven_machinery.setText(_translate(
"MainWindow",
"Driven Machinery:"))
1976 self.label_cp_c_sf.setText(_translate(
"MainWindow",
"Service factor for coupling - CSF →"))
1977 self.label_cp_se_lambda_se.setText(_translate(
"MainWindow",
"Seal failure rate - λSE →"))
1978 self.groupBox_cp_lambda_cp.setTitle(_translate(
"MainWindow",
"Coupling failure rate - λCP"))
1979 self.addButton_c_me_mechanical_couplings.setText(_translate(
"MainWindow",
"Add Equipment"))
1980 self.tabWidget_mechanical_equipments.setTabText(self.tabWidget_mechanical_equipments.indexOf(self.
tab_mechanical_couplings), _translate(
"MainWindow",
"Mechanical Couplings"))
1981 self.groupBox_bat_lambda_bat.setTitle(_translate(
"MainWindow",
"Battery hazard rate - λ"))
1982 self.label_bat_device_type.setText(_translate(
"MainWindow",
"Device type:"))
1983 self.label_bat_lambda_0.setText(_translate(
"MainWindow",
"λ0 →"))
1984 self.addButton_c_me_battery.setText(_translate(
"MainWindow",
"Add Equipment"))
1985 self.tabWidget_mechanical_equipments.setTabText(self.tabWidget_mechanical_equipments.indexOf(self.
tab_battery), _translate(
"MainWindow",
"Battery"))
1991 Mechanical Equipments Gui Main Functions 2009 Mechanical Equipments Gui Button Click Events Functions 2023 Set mechanical equipments value to PHM Gui functions 2025 create_object = eval(str(
"self.ui_class." + str(self.
data_path)))
2026 create_object.setText(str(set_data))
2029 self.ui_class.add_equipment_sub_module_window.close()
2032 self.ui_class.add_equipment_component_window.close()
2037 Set springs value function 2044 Set gears value function 2051 Set bearings value function 2058 Set actuators value function 2065 Set shafts value function 2072 Set electric_motors value function 2079 Set mechanical_couplings value function 2086 Set battery value function 2096 Mechanical Equipments General Events Func 2099 self.comboBox_sp_material_type.currentIndexChanged.connect(self.spring_tab_func_2)
2100 self.comboBox_sp_material.currentIndexChanged.connect(self.spring_c_g_func)
2101 self.lineEdit_sp_d_w.textChanged.connect(self.spring_c_dw_func)
2102 self.lineEdit_sp_d_w.textChanged.connect(self.spring_c_k_func)
2103 self.lineEdit_sp_d_c.textChanged.connect(self.spring_c_dc_func)
2104 self.lineEdit_sp_d_c.textChanged.connect(self.spring_c_k_func)
2105 self.lineEdit_sp_n_a.textChanged.connect(self.spring_c_n_func)
2106 self.lineEdit_sp_l_1.textChanged.connect(self.spring_c_l_func)
2107 self.lineEdit_sp_l_2.textChanged.connect(self.spring_c_l_func)
2108 self.comboBox_sp_material_2.currentIndexChanged.connect(self.spring_c_y_func)
2109 self.lineEdit_sp_c_r.textChanged.connect(self.spring_c_cs_func)
2110 self.lineEdit_sp_c_m.textChanged.connect(self.spring_c_m_func)
2111 self.lineEdit_sp_c_g.textChanged.connect(self.spring_hazard_rate_func)
2112 self.lineEdit_sp_c_dw.textChanged.connect(self.spring_hazard_rate_func)
2113 self.lineEdit_sp_c_dc.textChanged.connect(self.spring_hazard_rate_func)
2114 self.lineEdit_sp_c_k.textChanged.connect(self.spring_hazard_rate_func)
2115 self.lineEdit_sp_c_n.textChanged.connect(self.spring_hazard_rate_func)
2116 self.lineEdit_sp_l1_l2.textChanged.connect(self.spring_hazard_rate_func)
2117 self.lineEdit_sp_c_y.textChanged.connect(self.spring_hazard_rate_func)
2118 self.lineEdit_sp_c_r.textChanged.connect(self.spring_hazard_rate_func)
2119 self.lineEdit_sp_c_m.textChanged.connect(self.spring_hazard_rate_func)
2120 self.lineEdit_sp_c_cs.textChanged.connect(self.spring_hazard_rate_func)
2124 self.lineEdit_gr_revolutions.textChanged.connect(self.gear_lambda_gr_b_func)
2125 self.lineEdit_gr_rpm.textChanged.connect(self.gear_lambda_gr_b_func)
2126 self.lineEdit_gr_v0.textChanged.connect(self.gear_c_gs_func)
2127 self.lineEdit_gr_v_d.textChanged.connect(self.gear_c_gs_func)
2128 self.lineEdit_gr_l_0.textChanged.connect(self.gear_c_gp_func)
2129 self.lineEdit_gr_l_d.textChanged.connect(self.gear_c_gp_func)
2130 self.lineEdit_gr_a_e.textChanged.connect(self.gear_c_ga_func)
2131 self.lineEdit_gr_v0_4.textChanged.connect(self.gear_c_gl_func)
2132 self.lineEdit_gr_vl.textChanged.connect(self.gear_c_gl_func)
2133 self.lineEdit_gr_t_at.textChanged.connect(self.gear_c_gt_func)
2134 self.comboBox_gr_prime_mover.currentIndexChanged.connect(self.gear_c_gv_func)
2135 self.comboBox_gr_load_character.currentIndexChanged.connect(self.gear_c_gv_func_2)
2136 self.lineEdit_gr_lambda_g_b.textChanged.connect(self.gear_hazard_rate_func)
2137 self.lineEdit_gr_c_gs.textChanged.connect(self.gear_hazard_rate_func)
2138 self.lineEdit_gr_c_gp.textChanged.connect(self.gear_hazard_rate_func)
2139 self.lineEdit_gr_c_ga.textChanged.connect(self.gear_hazard_rate_func)
2140 self.lineEdit_gr_c_gl.textChanged.connect(self.gear_hazard_rate_func)
2141 self.lineEdit_gr_c_gt.textChanged.connect(self.gear_hazard_rate_func)
2142 self.lineEdit_gr_c_gv.textChanged.connect(self.gear_hazard_rate_func)
2146 self.radioButton_be_ball_bearing.toggled.connect(self.bearing_lambda_be_b_and_be_c_y_func)
2147 self.radioButton_be_roller_bearing.toggled.connect(self.bearing_lambda_be_b_and_be_c_y_func)
2148 self.lineEdit_be_l_a.textChanged.connect(self.bearing_lambda_be_b_and_be_c_y_func)
2149 self.lineEdit_be_l_s.textChanged.connect(self.bearing_lambda_be_b_and_be_c_y_func)
2150 self.lineEdit_be_n.textChanged.connect(self.bearing_lambda_be_b_and_be_c_y_func)
2151 self.lineEdit_be_r.textChanged.connect(self.bearing_c_r_func)
2152 self.lineEdit_be_v0.textChanged.connect(self.bearing_c_v_func)
2153 self.lineEdit_be_vl.textChanged.connect(self.bearing_c_v_func)
2154 self.lineEdit_be_cw.textChanged.connect(self.bearing_c_cw_func)
2155 self.lineEdit_be_t0.textChanged.connect(self.bearing_c_t_func)
2156 self.comboBox_be_type_of_application.currentIndexChanged.connect(self.bearing_c_sf_func)
2157 self.comboBox_be_type_of_application_2.currentIndexChanged.connect(self.bearing_c_c_func)
2158 self.lineEdit_be_bearing_diameter.textChanged.connect(self.bearing_c_c_func)
2159 self.lineEdit_be_lambda_be_b.textChanged.connect(self.bearing_hazard_rate_func)
2160 self.lineEdit_be_c_y.textChanged.connect(self.bearing_hazard_rate_func)
2161 self.lineEdit_be_c_r.textChanged.connect(self.bearing_hazard_rate_func)
2162 self.lineEdit_be_c_v.textChanged.connect(self.bearing_hazard_rate_func)
2163 self.lineEdit_be_c_cw.textChanged.connect(self.bearing_hazard_rate_func)
2164 self.lineEdit_be_c_t.textChanged.connect(self.bearing_hazard_rate_func)
2165 self.lineEdit_be_c_sf.textChanged.connect(self.bearing_hazard_rate_func)
2166 self.lineEdit_be_c_c.textChanged.connect(self.bearing_hazard_rate_func)
2170 self.radioButton_ac_gama_0_2.toggled.connect(self.actuatior_gama_func)
2171 self.radioButton_ac_gama_0_54.toggled.connect(self.actuatior_gama_func)
2172 self.comboBox_ac_various_metals.currentIndexChanged.connect(self.actuator_f_y_func)
2173 self.comboBox_ac_materials.currentIndexChanged.connect(self.actuator_tab_func_2)
2174 self.radioButton_ac_gama_0_2.toggled.connect(self.actuator_n_o_func)
2175 self.radioButton_ac_gama_0_54.toggled.connect(self.actuator_n_o_func)
2176 self.lineEdit_ac_f_y.textChanged.connect(self.actuator_n_o_func)
2177 self.lineEdit_ac_w_a.textChanged.connect(self.actuator_n_o_func)
2178 self.lineEdit_ac_d_1.textChanged.connect(self.actuator_n_o_func)
2179 self.lineEdit_ac_d_2.textChanged.connect(self.actuator_n_o_func)
2180 self.lineEdit_ac_mu_1.textChanged.connect(self.actuator_n_o_func)
2181 self.lineEdit_ac_mu_2.textChanged.connect(self.actuator_n_o_func)
2182 self.lineEdit_ac_e_1.textChanged.connect(self.actuator_n_o_func)
2183 self.lineEdit_ac_e_2.textChanged.connect(self.actuator_n_o_func)
2184 self.lineEdit_ac_n_o.textChanged.connect(self.actuator_lambda_ac_b_func)
2185 self.radioButton_ac_cylinder.toggled.connect(self.actuator_piston_cylinder_rad_but_control)
2186 self.radioButton_ac_piston.toggled.connect(self.actuator_piston_cylinder_rad_but_control)
2187 self.comboBox_ac_materials.currentIndexChanged.connect(self.actutor_hardness_func)
2188 self.comboBox_material_types.currentIndexChanged.connect(self.actutor_hardness_func)
2189 self.lineEdit_ac_h_c.textChanged.connect(self.actuator_c_h_func)
2190 self.lineEdit_ac_h_p.textChanged.connect(self.actuator_c_h_func)
2191 self.lineEdit_ac_filter_size.textChanged.connect(self.actuator_c_s_func)
2192 self.lineEdit_ac_h_c.textChanged.connect(self.actuator_c_cp_func)
2193 self.lineEdit_ac_h_p.textChanged.connect(self.actuator_c_cp_func)
2194 self.lineEdit_ac_c_s.textChanged.connect(self.actuator_c_cp_func)
2195 self.lineEdit_ac_t.textChanged.connect(self.actuator_c_t_func)
2196 self.lineEdit_ac_teta.textChanged.connect(self.actuator_c_t_func)
2197 self.lineEdit_ac_lambda_ac_b.textChanged.connect(self.actuator_hazard_rate_func)
2198 self.lineEdit_ac_c_cp.textChanged.connect(self.actuator_hazard_rate_func)
2199 self.lineEdit_ac_c_t.textChanged.connect(self.actuator_hazard_rate_func)
2203 self.lineEdit_sh_n.textChanged.connect(self.shaft_lambda_s_h_b_func)
2204 self.comboBox_sh_surface_finish.currentIndexChanged.connect(self.shaft_c_f_func)
2205 self.lineEdit_sh_t_s.textChanged.connect(self.shaft_c_f_func)
2206 self.lineEdit_sh_t_at.textChanged.connect(self.shaft_c_t_func)
2207 self.lineEdit_sh_r.textChanged.connect(self.shaft_c_sc_r_func)
2208 self.lineEdit_sh_D.textChanged.connect(self.shaft_c_sc_r_func)
2209 self.lineEdit_sh_d.textChanged.connect(self.shaft_c_sc_r_func)
2210 self.comboBox_sh_h_D.currentIndexChanged.connect(self.shaft_c_sc_g_func)
2211 self.comboBox_sh_h_r.currentIndexChanged.connect(self.shaft_c_sc_g_func_2)
2212 self.comboBox_sh_h_D.currentIndexChanged.connect(self.shaft_c_sc_func)
2213 self.comboBox_sh_h_r.currentIndexChanged.connect(self.shaft_c_sc_func)
2214 self.lineEdit_sh_r.textChanged.connect(self.shaft_c_sc_func)
2215 self.lineEdit_sh_D.textChanged.connect(self.shaft_c_sc_func)
2216 self.lineEdit_sh_d.textChanged.connect(self.shaft_c_sc_func)
2217 self.comboBox_sh_e.currentIndexChanged.connect(self.shaft_sh_e_control)
2218 self.comboBox_sh_b.currentIndexChanged.connect(self.shaft_sh_b_control)
2219 self.lineEdit_sh_f.textChanged.connect(self.shaft_sh_c_dy_func)
2220 self.pushButton_sh_add_section.clicked.connect(self.shaft_sh_add_section_control)
2221 self.pushButton_sh_set_section.clicked.connect(self.shaft_sh_set_section_control)
2222 self.pushButton_sh_set_section.clicked.connect(self.shaft_sh_c_dy_func)
2223 self.comboBox_sh_sections.currentIndexChanged.connect(self.shaft_sh_sections_show_values)
2227 self.comboBox_em_motor_type.currentIndexChanged.connect(self.em_lambda_m_b_func)
2228 self.comboBox_em_motor_type.currentIndexChanged.connect(self.em_c_v_func)
2229 self.comboBox_em_load_type.currentIndexChanged.connect(self.em_c_s_f_func)
2230 self.lineEdit_em_li.textChanged.connect(self.em_lambda_wi_b_func)
2231 self.comboBox_em_insulation_class.currentIndexChanged.connect(self.em_c_t_func)
2232 self.lineEdit_em_t_0.textChanged.connect(self.em_c_t_func)
2233 self.lineEdit_em_greatest_volt_diff.textChanged.connect(self.em_v_u_func)
2234 self.lineEdit_em_average_phase_volt.textChanged.connect(self.em_v_u_func)
2235 self.lineEdit_em_v_d.textChanged.connect(self.em_c_v_func)
2236 self.lineEdit_em_v_r.textChanged.connect(self.em_c_v_func)
2237 self.lineEdit_em_v_u.textChanged.connect(self.em_c_v_func)
2238 self.lineEdit_em_operating_altitude.textChanged.connect(self.em_c_alt_func)
2239 self.lineEdit_em_lambda_c.textChanged.connect(self.em_lambda_c_func)
2240 self.lineEdit_em_lambda_mb.textChanged.connect(self.em_hazard_rate_func)
2241 self.lineEdit_em_c_sf.textChanged.connect(self.em_hazard_rate_func)
2242 self.lineEdit_em_lambda_c.textChanged.connect(self.em_hazard_rate_func)
2243 self.lineEdit_em_lambda_wi.textChanged.connect(self.em_hazard_rate_func)
2244 self.lineEdit_em_gr_lamda_g.textChanged.connect(self.em_hazard_rate_func)
2245 self.lineEdit_em_be_lambda_be.textChanged.connect(self.em_hazard_rate_func)
2246 self.lineEdit_em_sh_lambda_sh.textChanged.connect(self.em_hazard_rate_func)
2250 self.comboBox_cp_driven_machinery.currentIndexChanged.connect(self.couplings_tab_func_2)
2251 self.comboBox_cp_torque.currentIndexChanged.connect(self.couplings_c_sf_func)
2252 self.lineEdit_cp_se_lambda_se.setText(str(0.0))
2253 self.lineEdit_cp_c_sf.textChanged.connect(self.couplings_hazard_rate_func)
2254 self.lineEdit_cp_gr_lamda_g.textChanged.connect(self.couplings_hazard_rate_func)
2255 self.lineEdit_cp_se_lambda_se.textChanged.connect(self.couplings_hazard_rate_func)
2259 self.comboBox_bat_device_type.currentIndexChanged.connect(self.bat_tab_func_2)
2260 self.comboBox_bat_device_type_2.currentIndexChanged.connect(self.bat_tab_func_3)
2261 self.lineEdit_bat_lambda_0.textChanged.connect(self.bat_hazard_rate_func)
2271 Springs Tab Function 2273 self.comboBox_sp_material_type.clear()
2274 self.comboBox_sp_material.clear()
2275 self.comboBox_sp_material_2.clear()
2277 self.comboBox_sp_material_type.addItem(
"None")
2278 self.comboBox_sp_material.addItem(
"None")
2279 self.comboBox_sp_material_2.addItem(
"None")
2289 Springs Tab Function 2 2291 self.comboBox_sp_material.clear()
2292 current_material_type = self.comboBox_sp_material_type.currentText()
2294 if current_material_type !=
"" and current_material_type !=
"None":
2295 self.comboBox_sp_material.addItems(self.
mechanical_equipments_dict[
'Springs'][
'Material c_g'][str(current_material_type)].keys())
2298 self.lineEdit_sp_c_g.clear()
2299 self.m_eq.sp_c_g = 1.0
2300 self.lineEdit_sp_c_g.setText(str(self.m_eq.sp_c_g))
2305 Springs C_g Function 2307 self.lineEdit_sp_c_g.clear()
2308 current_material_type = self.comboBox_sp_material_type.currentText()
2309 current_material = self.comboBox_sp_material.currentText()
2311 if current_material !=
"" and current_material_type !=
"" and current_material !=
'None' and current_material_type !=
'None':
2312 self.m_eq.sp_c_g = self.
mechanical_equipments_dict[
'Springs'][
'Material c_g'][str(current_material_type)][str(current_material)]
2315 self.m_eq.sp_c_g = 1.0
2317 self.lineEdit_sp_c_g.setText(str(self.m_eq.sp_c_g))
2322 Springs C_dw Function 2325 self.lineEdit_sp_c_dw.clear()
2326 sp_d_w = self.lineEdit_sp_d_w.text()
2329 self.m_eq.sp_c_dw_func(float(sp_d_w))
2330 self.lineEdit_sp_c_dw.setText(str(self.m_eq.get_sp_c_dw()))
2333 self.m_eq.sp_c_dw = 1.0
2334 self.lineEdit_sp_c_dw.setText(str(self.m_eq.get_sp_c_dw()))
2336 except Exception
as err:
2342 Springs C_dc Function 2345 self.lineEdit_sp_c_dc.clear()
2346 sp_d_c = self.lineEdit_sp_d_c.text()
2349 self.m_eq.sp_c_dc_func(float(sp_d_c))
2352 self.m_eq.sp_c_dc = 1.0
2354 self.lineEdit_sp_c_dc.setText(str(self.m_eq.get_sp_c_dc()))
2356 except Exception
as err:
2362 Springs C_n Function 2365 self.lineEdit_sp_c_n.clear()
2366 n_a = self.lineEdit_sp_n_a.text()
2369 self.m_eq.sp_c_n_func(float(n_a))
2371 self.m_eq.sp_c_n = 1.0
2373 self.lineEdit_sp_c_n.setText(str(self.m_eq.get_sp_c_n()))
2375 except Exception
as err:
2381 Springs C_l Function 2384 self.lineEdit_sp_l1_l2.clear()
2385 l1_value = self.lineEdit_sp_l_1.text()
2386 l2_value = self.lineEdit_sp_l_2.text()
2388 if l1_value !=
"" and l2_value !=
"":
2389 self.m_eq.sp_c_l_func(float(l1_value), float(l2_value))
2390 self.lineEdit_sp_l1_l2.setText(str(self.m_eq.get_sp_c_l()))
2392 self.m_eq.sp_c_l = 1.0
2393 self.lineEdit_sp_l1_l2.setText(str(self.m_eq.get_sp_c_l()))
2395 except Exception
as err:
2401 Springs C_y Function 2404 self.lineEdit_sp_c_y.clear()
2405 current_material_2 = self.comboBox_sp_material_2.currentText()
2406 if current_material_2 !=
"" and current_material_2 !=
"None":
2412 self.m_eq.sp_c_y = float(c_y)
2413 self.lineEdit_sp_c_y.setText(str(self.m_eq.sp_c_y))
2415 except Exception
as err:
2421 Springs C_k Function 2424 self.lineEdit_sp_c_k.clear()
2426 d_c = self.lineEdit_sp_d_c.text()
2427 d_w = self.lineEdit_sp_d_w.text()
2429 if d_c !=
"" and d_w !=
"":
2430 self.m_eq.sp_c_k_func(float(d_c), float(d_w))
2432 self.m_eq.sp_c_k = 1.0
2434 self.lineEdit_sp_c_k.setText(str(self.m_eq.get_sp_c_k()))
2436 except Exception
as err:
2442 Springs C_cs Function 2445 self.lineEdit_sp_c_cs.clear()
2446 c_r = self.lineEdit_sp_c_r.text()
2449 self.m_eq.sp_c_cs_func(float(c_r))
2450 self.m_eq.sp_c_r = float(c_r)
2453 self.m_eq.sp_c_cs_func(1.0)
2454 self.m_eq.sp_c_r = 1.0
2456 self.lineEdit_sp_c_cs.setText(str(self.m_eq.get_sp_c_cs()))
2458 except Exception
as err:
2464 Springs C_m Function 2467 c_m = self.lineEdit_sp_c_m.text()
2470 self.m_eq.sp_c_m = float(c_m)
2473 self.m_eq.sp_c_m = 1.0
2475 except Exception
as err:
2481 Springs Hazard Rate Function 2483 self.m_eq.lambda_sp_func()
2485 self.lineEdit_sp_lamda_sp.setText(str(self.m_eq.get_sp_lambda()))
2491 Gears Lambda_gr_b Function 2493 self.lineEdit_gr_warning_box.clear()
2494 gr_rpm = self.lineEdit_gr_rpm.text()
2495 gr_revolutions = self.lineEdit_gr_revolutions.text()
2498 if gr_rpm !=
"" and gr_revolutions !=
"":
2499 self.m_eq.gr_lambda_gr_b_func(float(gr_rpm), float(gr_revolutions),
True)
2502 self.m_eq.gr_lambda_gr_b_func(1, 1,
False)
2504 self.lineEdit_gr_lambda_g_b.setText(str(self.m_eq.get_gr_lambda_gr_b()))
2506 except ZeroDivisionError:
2507 self.lineEdit_gr_warning_box.setText(
"Revolutions 0'dan farklı bir değer olmalı.")
2509 except Exception
as err:
2517 self.lineEdit_gr_warning_box.clear()
2519 gr_v0 = self.lineEdit_gr_v0.text()
2520 gr_vd = self.lineEdit_gr_v_d.text()
2523 if gr_v0 !=
"" and gr_vd !=
"":
2524 self.m_eq.c_gs_func(float(gr_v0), float(gr_vd),
True)
2527 self.m_eq.c_gs_func(1, 1,
False)
2529 self.lineEdit_gr_c_gs.setText(str(self.m_eq.get_gr_c_gs()))
2531 except ZeroDivisionError:
2532 self.lineEdit_gr_warning_box.setText(
"Vd 0'dan farklı bir değer olmalı.")
2534 except Exception
as err:
2542 self.lineEdit_gr_warning_box.clear()
2544 gr_l0 = self.lineEdit_gr_l_0.text()
2545 gr_ld = self.lineEdit_gr_l_d.text()
2548 if gr_l0 !=
"" and gr_ld !=
"":
2549 self.m_eq.c_gp_func(float(gr_l0), float(gr_ld),
True)
2552 self.m_eq.c_gp_func(1, 1,
False)
2554 self.lineEdit_gr_c_gp.setText(str(self.m_eq.get_gr_c_gp()))
2556 except ZeroDivisionError:
2557 self.lineEdit_gr_warning_box.setText(
"Ld 0'dan farklı bir değer olmalı.")
2559 except Exception
as err:
2568 self.lineEdit_gr_warning_box.clear()
2570 gr_ae = self.lineEdit_gr_a_e.text()
2573 self.m_eq.c_ga_func(float(gr_ae),
True)
2576 self.m_eq.c_ga_func(1,
False)
2578 self.lineEdit_gr_c_ga.setText(str(self.m_eq.get_gr_c_ga()))
2580 except Exception
as err:
2588 self.lineEdit_gr_warning_box.clear()
2590 gr_v0 = self.lineEdit_gr_v0_4.text()
2591 gr_vl = self.lineEdit_gr_vl.text()
2594 if gr_v0 !=
"" and gr_vl !=
"":
2595 self.m_eq.c_gl_func(float(gr_v0), float(gr_vl),
True)
2598 self.m_eq.c_gl_func(float(gr_v0), float(gr_vl),
False)
2600 self.lineEdit_gr_c_gl.setText(str(self.m_eq.get_gr_c_gl()))
2602 except ZeroDivisionError:
2603 self.lineEdit_gr_warning_box.setText(
"Vl 0'dan farklı bir değer olmalı.")
2605 except Exception
as err:
2614 self.lineEdit_gr_warning_box.clear()
2616 gr_t_at = self.lineEdit_gr_t_at.text()
2619 self.m_eq.c_gt_func(float(gr_t_at))
2622 self.m_eq.c_gt_func(float(1))
2623 self.lineEdit_gr_c_gt.setText(str(self.m_eq.get_gr_c_gt()))
2625 except Exception
as err:
2633 self.comboBox_gr_prime_mover.clear()
2634 self.comboBox_gr_load_character.clear()
2636 self.comboBox_gr_prime_mover.addItem(
"None")
2637 self.comboBox_gr_load_character.addItem(
"None")
2648 self.comboBox_gr_load_character.clear()
2650 current_prime_mover = self.comboBox_gr_prime_mover.currentText()
2652 if current_prime_mover !=
"None" and current_prime_mover !=
"":
2655 self.m_eq.gr_c_gv = float(1.0)
2656 self.lineEdit_gr_c_gv.setText(str(self.m_eq.gr_c_gv))
2661 Gears C_gv Function 2 2663 self.lineEdit_gr_c_gv.clear()
2665 current_prime_mover = self.comboBox_gr_prime_mover.currentText()
2666 current_char_load = self.comboBox_gr_load_character.currentText()
2668 if current_char_load !=
"None" and current_prime_mover !=
"None" and current_char_load !=
"" and current_prime_mover !=
"":
2669 self.m_eq.gr_c_gv = self.
mechanical_equipments_dict[
'Gears'][
'Prime Mover'][str(current_prime_mover)][str(current_char_load)]
2670 self.lineEdit_gr_c_gv.setText(str(self.m_eq.gr_c_gv))
2673 self.m_eq.gr_c_gv = 1.0
2674 self.lineEdit_gr_c_gv.setText(str(self.m_eq.gr_c_gv))
2679 Gears Hazard Rate Function 2681 self.m_eq.lambda_gr_func()
2683 self.lineEdit_gr_lamda_g.setText(str(self.m_eq.get_gr_lambda()))
2684 self.lineEdit_em_gr_lamda_g.setText(str(self.m_eq.get_gr_lambda()))
2685 self.lineEdit_cp_gr_lamda_g.setText(str(self.m_eq.get_gr_lambda()))
2692 Bearings Lambda_be_b and Be_c_y Function 2694 self.lineEdit_be_warning_box.clear()
2696 be_l_s = str(self.lineEdit_be_l_s.text())
2697 be_l_a = str(self.lineEdit_be_l_a.text())
2698 be_n = str(self.lineEdit_be_n.text())
2700 if self.radioButton_be_ball_bearing.isChecked():
2702 elif self.radioButton_be_roller_bearing.isChecked():
2706 if be_l_s !=
"" and be_l_a !=
"":
2707 self.m_eq.be_c_y_func(float(self.
y), float(be_l_a), float(be_l_s))
2708 self.lineEdit_be_c_y.setText(str(self.m_eq.get_be_c_y()))
2711 self.m_eq.be_lambda_be_b_func(float(self.
y), float(be_l_s), float(be_l_a), float(be_n), 1)
2712 self.lineEdit_be_lambda_be_b.setText(str(self.m_eq.get_be_lambda_be_b()))
2715 self.m_eq.be_lambda_be_b_func(float(self.
y), float(be_l_s), float(be_l_a), float(1), 1)
2716 self.lineEdit_be_lambda_be_b.setText(str(self.m_eq.get_be_lambda_be_b()))
2719 self.m_eq.be_c_y_func(float(1), float(1), float(1))
2720 self.lineEdit_be_c_y.setText(str(self.m_eq.get_be_c_y()))
2722 self.m_eq.be_lambda_be_b_func(1, 1, 1,
None, 1)
2723 self.lineEdit_be_lambda_be_b.setText(str(self.m_eq.get_be_lambda_be_b()))
2726 except ZeroDivisionError:
2727 self.lineEdit_be_warning_box.setText(
"LS, LA ve n 0'dan farklı bir değer olmalı.")
2735 except Exception
as err:
2741 Bearings C_r Function 2744 self.lineEdit_be_warning_box.clear()
2745 self.lineEdit_be_c_r.clear()
2747 be_r = str(self.lineEdit_be_r.text())
2750 self.m_eq.be_c_r_func(float(be_r),
True)
2753 self.m_eq.be_c_r_func(1,
False)
2755 self.lineEdit_be_c_r.setText(str(self.m_eq.get_be_c_r()))
2757 except ZeroDivisionError:
2758 self.lineEdit_be_warning_box.setText(
"R 0 ve 100 arasında bir değer olmalı.")
2760 self.lineEdit_be_warning_box.setText(
"R 0 ve 100 arasında bir değer olmalı.")
2762 except Exception
as err:
2768 Bearings C_v Function 2771 self.lineEdit_be_warning_box.clear()
2772 self.lineEdit_be_c_v.clear()
2774 be_v_0 = self.lineEdit_be_v0.text()
2775 be_v_l = self.lineEdit_be_vl.text()
2777 if be_v_0 !=
"" and be_v_l !=
"":
2778 self.m_eq.be_c_v_func(float(be_v_0), float(be_v_l),
True)
2781 self.m_eq.be_c_v_func(1, 1,
False)
2783 self.lineEdit_be_c_v.setText(str(self.m_eq.get_be_c_v()))
2785 except ZeroDivisionError:
2786 self.lineEdit_be_warning_box.setText(
"VL 0'dan farklı bir değer olmalı.")
2788 except Exception
as err:
2794 Bearings C_cw Function 2797 self.lineEdit_be_warning_box.clear()
2798 self.lineEdit_be_c_cw.clear()
2800 be_c_w = self.lineEdit_be_cw.text()
2803 self.m_eq.be_c_cw_func(float(be_c_w),
True)
2806 self.m_eq.be_c_cw_func(1,
False)
2808 self.lineEdit_be_c_cw.setText(str(self.m_eq.get_be_c_cw()))
2811 self.lineEdit_be_warning_box.setText(str(ValueError))
2813 except Exception
as err:
2819 Bearings C_t Function 2822 self.lineEdit_be_warning_box.clear()
2823 self.lineEdit_be_c_t.clear()
2825 be_t0 = self.lineEdit_be_t0.text()
2828 self.m_eq.be_c_t_func(float(be_t0))
2831 self.m_eq.be_c_t_func(1)
2833 self.lineEdit_be_c_t.setText(str(self.m_eq.get_be_c_t()))
2836 self.lineEdit_be_warning_box.setText(str(ValueError))
2838 except Exception
as err:
2844 Bearings Tab Function 2846 self.comboBox_be_type_of_application.clear()
2847 self.comboBox_be_type_of_application_2.clear()
2849 self.comboBox_be_type_of_application.addItem(
"None")
2850 self.comboBox_be_type_of_application_2.addItem(
"None")
2853 self.comboBox_be_type_of_application_2.addItems(self.
mechanical_equipments_dict[
'Bearings'][
'Bearing Contamination Level'].keys())
2860 Bearings C_sf Function 2862 self.lineEdit_be_c_sf.clear()
2863 self.lineEdit_be_warning_box.clear()
2864 current_type = self.comboBox_be_type_of_application.currentText()
2866 if current_type !=
"None":
2868 if self.radioButton_be_ball_bearing.isChecked():
2870 self.m_eq.be_c_sf = self.
mechanical_equipments_dict[
'Bearings'][
'Bearing Service Factors'][str(current_type)][
'Ball bearing']
2871 self.lineEdit_be_c_sf.setText(str(self.m_eq.be_c_sf))
2873 self.lineEdit_be_warning_box.setText(
'{} has no {}.'.format(str(current_type),
'Ball bearing'))
2875 elif self.radioButton_be_roller_bearing.isChecked():
2877 self.m_eq.be_c_sf = self.
mechanical_equipments_dict[
'Bearings'][
'Bearing Service Factors'][str(current_type)][
'Roller bearing']
2878 self.lineEdit_be_c_sf.setText(str(self.m_eq.be_c_sf))
2880 self.lineEdit_be_warning_box.setText(
'{} has no {}.'.format(str(current_type),
'Roller bearing'))
2883 self.m_eq.be_c_sf = 1.0
2884 self.lineEdit_be_c_sf.setText(str(self.m_eq.be_c_sf))
2889 Bearings C_c Function 2891 self.lineEdit_be_warning_box.clear()
2892 current_type = self.comboBox_be_type_of_application_2.currentText()
2893 bearing_diameter = self.lineEdit_be_bearing_diameter.text()
2895 if current_type !=
"None":
2896 if bearing_diameter !=
"":
2897 if float(bearing_diameter) < 100:
2898 self.m_eq.be_c_c = self.
mechanical_equipments_dict[
'Bearings'][
'Bearing Contamination Level'][str(current_type)][
's_bearing_diameter_100_mm']
2899 self.lineEdit_be_c_c.setText(str(self.m_eq.be_c_c))
2901 self.m_eq.be_c_c = self.
mechanical_equipments_dict[
'Bearings'][
'Bearing Contamination Level'][str(current_type)][
'g_bearing_diameter_100_mm']
2902 self.lineEdit_be_c_c.setText(str(self.m_eq.be_c_c))
2904 self.m_eq.be_c_c = 1.0
2905 self.lineEdit_be_c_c.setText(str(self.m_eq.be_c_c))
2910 Bearings Hazard Rate Function 2912 self.m_eq.lambda_be_func()
2914 self.lineEdit_be_lambda_be.setText(str(self.m_eq.get_be_lambda()))
2915 self.lineEdit_em_be_lambda_be.setText(str(self.m_eq.get_be_lambda()))
2921 Actuators Tab Function 2923 self.comboBox_ac_various_metals.clear()
2924 self.comboBox_ac_materials.clear()
2926 self.comboBox_ac_various_metals.addItem(
"None")
2927 self.comboBox_ac_materials.addItem(
"None")
2937 Actuators Tab Function 2 2939 self.comboBox_material_types.clear()
2940 self.comboBox_material_types.addItem(
"None")
2942 current_material = self.comboBox_ac_materials.currentText()
2943 if current_material !=
"None" and current_material !=
"":
2944 self.comboBox_material_types.addItems(self.
mechanical_equipments_dict[
"Actuators"][
"Material hardness"][str(current_material)].keys())
2949 Actuators Gama Function 2951 if self.radioButton_ac_gama_0_2.isChecked():
2952 self.m_eq.ac_gama = float(0.2)
2953 elif self.radioButton_ac_gama_0_54.isChecked():
2954 self.m_eq.ac_gama = float(0.54)
2956 self.m_eq.ac_gama = float(1.0)
2961 Actuators F_y Function 2963 self.lineEdit_ac_f_y.clear()
2964 metal = self.comboBox_ac_various_metals.currentText()
2968 self.m_eq.ac_f_y = 1.0
2969 self.lineEdit_ac_f_y.setText(str(self.m_eq.ac_f_y))
2974 Actuators N_o Function 2976 self.lineEdit_ac_n_o.clear()
2978 w_a = self.lineEdit_ac_w_a.text()
2979 d_1 = self.lineEdit_ac_d_1.text()
2980 d_2 = self.lineEdit_ac_d_2.text()
2981 mu_1 = self.lineEdit_ac_mu_1.text()
2982 mu_2 = self.lineEdit_ac_mu_2.text()
2983 e_1 = self.lineEdit_ac_e_1.text()
2984 e_2 = self.lineEdit_ac_e_2.text()
2987 if (w_a !=
"")
and (d_1 !=
"")
and (d_2 !=
"")
and (mu_1 !=
"")
and (mu_2 !=
"")
and (e_1 !=
"")
and (e_2 !=
""):
2988 self.m_eq.ac_n_o_func(float(w_a), float(d_1), float(d_2), float(mu_1), float(mu_2), float(e_1), float(e_2))
2990 self.m_eq.ac_n_o = float(1.0)
2992 self.lineEdit_ac_n_o.setText(str(self.m_eq.ac_n_o))
2994 except ZeroDivisionError
as err:
2995 self.lineEdit_ac_warning_box.setText(str(err))
2997 except Exception
as err:
3003 Actuators Lambda_ac_b Function 3005 self.lineEdit_ac_lambda_ac_b.clear()
3006 if self.lineEdit_ac_n_o.text() !=
"":
3007 self.m_eq.ac_lambda_ac_b_func()
3008 self.lineEdit_ac_lambda_ac_b.setText(str(self.m_eq.get_ac_lambda_ac_b()))
3013 Actuators Piston Cylinder Function 3015 if self.radioButton_ac_cylinder.isChecked():
3016 self.lineEdit_ac_h_p.setDisabled(
True)
3017 self.label_ac_h_p.setDisabled(
True)
3018 self.lineEdit_ac_h_c.setDisabled(
False)
3019 self.label_ac_h_c.setDisabled(
False)
3021 elif self.radioButton_ac_piston.isChecked():
3022 self.lineEdit_ac_h_p.setDisabled(
False)
3023 self.label_ac_h_p.setDisabled(
False)
3024 self.lineEdit_ac_h_c.setDisabled(
True)
3025 self.label_ac_h_c.setDisabled(
True)
3030 Actuators Hardness Function 3033 current_material = self.comboBox_ac_materials.currentText()
3034 if current_material !=
"None" and current_material !=
"":
3035 current_material_type = self.comboBox_material_types.currentText()
3036 if current_material_type !=
"None" and current_material_type !=
"":
3039 if self.radioButton_ac_cylinder.isChecked():
3040 self.lineEdit_ac_h_c.setText(str(val))
3041 elif self.radioButton_ac_piston.isChecked():
3042 self.lineEdit_ac_h_p.setText(str(val))
3047 Actuators C_h Function 3050 h_p = self.lineEdit_ac_h_p.text()
3051 h_c = self.lineEdit_ac_h_c.text()
3053 if h_c !=
"" and h_p !=
"":
3054 self.m_eq.ac_c_h_func(float(h_p), float(h_c),
True)
3057 self.m_eq.ac_c_h_func(1, 1,
False)
3059 except Exception
as err:
3065 Actuators C_s Function 3068 self.lineEdit_ac_c_s.clear()
3069 filter_size = self.lineEdit_ac_filter_size.text()
3070 if filter_size !=
"":
3071 self.m_eq.ac_c_s_func(float(filter_size))
3074 self.m_eq.ac_c_s_func(10)
3076 self.lineEdit_ac_c_s.setText(str(self.m_eq.ac_c_s))
3078 except Exception
as err:
3084 Actuators C_cp Function 3087 h_p = self.lineEdit_ac_h_p.text()
3088 h_c = self.lineEdit_ac_h_c.text()
3089 c_s = self.lineEdit_ac_c_s.text()
3091 if h_c !=
"" and h_p !=
"" and c_s !=
"":
3092 self.m_eq.ac_c_cp_func(
True)
3095 self.m_eq.ac_c_cp_func(
False)
3097 self.lineEdit_ac_c_cp.setText(str(self.m_eq.get_ac_c_cp()))
3099 except Exception
as err:
3105 Actuators C_t Function 3107 self.lineEdit_ac_c_t.setText(str(1.0))
3112 Actuators Hazard Rate Function 3114 self.m_eq.lambda_ac_func()
3116 self.lineEdit_ac_lambda_ac.setText(str(self.m_eq.get_ac_lambda()))
3123 Shafts Sh_b Function 3125 self.lineEdit_sh_lambda_sh_b.clear()
3126 self.lineEdit_sh_warning_box.clear()
3128 sh_n = self.lineEdit_sh_n.text()
3132 self.m_eq.sh_lambda_sh_b_func(float(sh_n))
3135 self.m_eq.sh_lambda_sh_b_func(1)
3137 self.lineEdit_sh_lambda_sh_b.setText(str(self.m_eq.get_sh_lambda_sh_b()))
3139 except ZeroDivisionError:
3140 self.lineEdit_sh_warning_box.setText(
"N 0'dan farklı olmalı.")
3142 except Exception
as err:
3151 self.comboBox_sh_surface_finish.clear()
3152 self.comboBox_sh_surface_finish.addItem(
"None")
3153 self.comboBox_sh_surface_finish.addItems(list(self.
mechanical_equipments_dict[
'Shafts'][
'Shaft surface finish factor'].keys()))
3155 self.comboBox_sh_h_D.clear()
3156 self.comboBox_sh_h_r.clear()
3157 self.comboBox_sh_h_D.addItem(
"None")
3158 self.comboBox_sh_h_r.addItem(
"None")
3161 for item
in hd_list:
3162 temp_hd = item.split(
'h_D_')
3163 self.comboBox_sh_h_D.addItem(temp_hd[1].replace(
'_',
'.'))
3165 self.comboBox_sh_e.clear()
3166 self.comboBox_sh_e.addItem(
"None")
3169 self.comboBox_sh_b.clear()
3170 self.comboBox_sh_b.addItem(
"None")
3173 self.comboBox_sh_sections.clear()
3174 self.comboBox_sh_sections.addItem(
"None")
3183 self.lineEdit_sh_warning_box.clear()
3184 self.lineEdit_sh_c_f.clear()
3186 current_finish = self.comboBox_sh_surface_finish.currentText()
3187 t_s = self.lineEdit_sh_t_s.text()
3191 if current_finish ==
'None':
3195 elif current_finish ==
'Hot Rolled':
3199 elif current_finish ==
'Machined or Cold Drawn':
3203 elif current_finish ==
'Forged':
3211 self.m_eq.sh_c_f_func(temp, select)
3212 self.lineEdit_sh_c_f.setText(str(self.m_eq.get_sh_c_f()))
3215 if current_finish ==
"None":
3216 self.m_eq.sh_c_f_func(0, 9)
3220 self.m_eq.sh_c_f_func(temp, 0)
3222 self.lineEdit_sh_c_f.setText(str(self.m_eq.get_sh_c_f()))
3224 except Exception
as err:
3234 self.lineEdit_sh_warning_box.clear()
3235 self.lineEdit_sh_c_t.clear()
3237 t_at = self.lineEdit_sh_t_at.text()
3241 self.m_eq.sh_c_t_func(float(t_at))
3244 self.m_eq.sh_c_t_func(1)
3246 self.lineEdit_sh_c_t.setText(str(self.m_eq.get_sh_c_t()))
3248 except Exception
as err:
3256 Shafts C_sc_r Function 3258 self.lineEdit_sh_warning_box.clear()
3259 self.lineEdit_sh_c_sc_r.clear()
3261 r_value = self.lineEdit_sh_r.text()
3262 b_d = self.lineEdit_sh_D.text()
3263 s_d = self.lineEdit_sh_d.text()
3266 if r_value !=
"" and b_d !=
"" and s_d !=
"":
3267 self.m_eq.sh_c_sc_r_func(float(r_value), float(b_d), float(s_d),
True)
3270 self.m_eq.sh_c_sc_r_func(1, 1, 1,
False)
3272 self.lineEdit_sh_c_sc_r.setText(str(self.m_eq.get_sh_c_sc_r()))
3274 except Exception
as err:
3282 Shafts C_sc_g Function 3284 self.comboBox_sh_h_r.clear()
3285 self.lineEdit_sh_c_sc_g.clear()
3287 current_h_d = self.comboBox_sh_h_D.currentText()
3289 if current_h_d !=
"None":
3290 temp_h_d =
'h_D_' + str(current_h_d.replace(
'.',
'_'))
3293 for item
in csf_list:
3294 temp_csf = item.split(
'h_r_')
3295 self.comboBox_sh_h_r.addItem(temp_csf[1].replace(
'_',
'.'))
3297 self.m_eq.sh_c_sc_g = 0.0
3298 self.lineEdit_sh_c_sc_g.setText(str(self.m_eq.get_sh_c_sc_g()))
3305 Shafts C_sc_g Function 2 3307 self.lineEdit_sh_c_sc_g.clear()
3309 current_h_d = self.comboBox_sh_h_D.currentText()
3310 current_h_r = self.comboBox_sh_h_r.currentText()
3312 if current_h_d !=
"None" and current_h_r !=
"None" and current_h_d !=
"" and current_h_r !=
"":
3313 temp_h_r = str(
'h_r_' + str(current_h_r.replace(
'.',
'_')))
3314 temp_h_d = str(
'h_D_' + str(current_h_d.replace(
'.',
'_')))
3319 self.m_eq.sh_c_sc_g = 0.0
3321 self.lineEdit_sh_c_sc_g.setText(str(self.m_eq.get_sh_c_sc_g()))
3327 Shafts C_sc Function 3329 self.lineEdit_sh_c_sc.clear()
3331 self.m_eq.sh_c_sc_func()
3332 self.lineEdit_sh_c_sc.setText(str(self.m_eq.get_sh_c_sc()))
3339 Shafts Sh_e Control Function 3341 e_value = self.comboBox_sh_e.currentText()
3342 if e_value !=
"None" and e_value !=
"":
3345 self.lineEdit_sh_e.setText(str(1))
3350 Shafts Sh_b Control Function 3352 b_value = self.comboBox_sh_b.currentText()
3353 if b_value !=
"None" and b_value !=
"":
3356 self.lineEdit_sh_b.setText(str(0.007))
3361 Shafts Sh Add Section Control Function 3363 self.comboBox_sh_sections.clear()
3364 section = self.lineEdit_sh_add_section.text()
3369 self.comboBox_sh_sections.addItems(self.shaft_sections_dict.keys())
3374 Shafts Sh Set Section Control Function 3376 inertia = self.lineEdit_sh_section_i.text()
3377 length = self.lineEdit_section_length.text()
3379 if inertia !=
"" and length !=
"":
3380 current_section = self.comboBox_sh_sections.currentText()
3385 self.label_sh_section_i_val.setText(str(inertia))
3386 self.label_sh_show_section_length_val.setText(str(length))
3388 self.lineEdit_sh_section_i.clear()
3389 self.lineEdit_section_length.clear()
3394 Shafts Sh Section Show Values Function 3396 current_section = self.comboBox_sh_sections.currentText()
3398 if current_section !=
"":
3402 self.label_sh_section_i_val.setText(str(inertia))
3403 self.label_sh_show_section_length_val.setText(str(length))
3408 Shafts C_dy Function 3411 e_value = self.lineEdit_sh_e.text()
3412 f_value = self.lineEdit_sh_f.text()
3413 b_value = self.lineEdit_sh_b.text()
3417 for item
in list(new_dict.keys()):
3418 inertia = new_dict[str(item)][
'I']
3419 length = new_dict[str(item)][
'length']
3421 if inertia ==
"None" and length ==
"None":
3422 del new_dict[str(item)]
3425 self.m_eq.sh_c_dy_func(float(e_value), float(f_value), float(b_value), new_dict)
3426 self.lineEdit_sh_c_dy.setText(str(self.m_eq.get_sh_c_dy()))
3428 except Exception
as err:
3435 Shafts Hazard Rate Function 3437 self.m_eq.lambda_sh_func()
3439 self.lineEdit_sh_lambda_sh.setText(str(self.m_eq.get_sh_lambda()))
3440 self.lineEdit_em_sh_lambda_sh.setText(str(self.m_eq.get_sh_lambda()))
3447 Electric Motors Tab Function 3449 self.comboBox_em_motor_type.clear()
3450 self.comboBox_em_motor_type.addItem(
"None")
3453 self.comboBox_em_load_type.clear()
3454 self.comboBox_em_load_type.addItem(
"None")
3457 self.comboBox_em_insulation_class.clear()
3458 self.comboBox_em_insulation_class.addItem(
"None")
3459 self.comboBox_em_insulation_class.addItems(list(self.
mechanical_equipments_dict[
'Electric Motors'][
'Insulation Class'].keys()))
3466 Electric Motors Lambda_m_b Function 3468 motor_type = self.comboBox_em_motor_type.currentText()
3470 if motor_type !=
"None" and motor_type !=
"":
3474 self.m_eq.lambda_m_b = float(1.0)
3476 self.lineEdit_em_lambda_mb.setText(str(self.m_eq.lambda_m_b))
3481 Electric Motors C_s_f Function 3483 load_type = self.comboBox_em_load_type.currentText()
3485 if load_type !=
"None" and load_type !=
"":
3489 self.m_eq.c_sf = float(1.0)
3491 self.lineEdit_em_c_sf.setText(str(self.m_eq.c_sf))
3496 Electric Motors Lambda_wi_b Function 3499 l_i = self.lineEdit_em_li.text()
3501 if l_i !=
"" and l_i !=
"None":
3502 self.m_eq.elec_mot_lambda_wi_b_func(float(l_i))
3505 self.m_eq.elec_mot_lambda_wi_b_func(float(1.0))
3507 self.lineEdit_em_lambda_wi_b.setText(str(self.m_eq.get_em_lambda_wi_b()))
3509 except Exception
as err:
3516 Electric Motors C_t Function 3518 ins_class = self.comboBox_em_insulation_class.currentText()
3520 if ins_class !=
"" and ins_class !=
"None":
3521 self.label_em_temp_rating.setText(str(self.
mechanical_equipments_dict[
'Electric Motors'][
'Insulation Class'][str(ins_class)][
'Temperature rating']) +
"°C")
3522 self.label_em_assumed_ambient_temp.setText(str(self.
mechanical_equipments_dict[
'Electric Motors'][
'Insulation Class'][str(ins_class)][
'Assumed ambient temperature']) +
"°C")
3523 self.label_allowable_temp_rise.setText(str(self.
mechanical_equipments_dict[
'Electric Motors'][
'Insulation Class'][str(ins_class)][
'Allowable temperature rise']) +
"°C")
3524 self.label_hot_spot_allow.setText(str(self.
mechanical_equipments_dict[
'Electric Motors'][
'Insulation Class'][str(ins_class)][
'Hot spot allowance']) +
"°C")
3527 self.label_em_temp_rating.clear()
3528 self.label_em_assumed_ambient_temp.clear()
3529 self.label_allowable_temp_rise.clear()
3530 self.label_hot_spot_allow.clear()
3533 t_0 = self.lineEdit_em_t_0.text()
3536 self.m_eq.elec_mot_c_t_func(float(t_0))
3539 self.m_eq.elec_mot_c_t_func(str(
None))
3541 self.lineEdit_em_c_t.setText(str(self.m_eq.get_em_c_t()))
3543 except Exception
as err:
3550 Electric Motors V_u Function 3552 self.lineEdit_em_v_u.clear()
3553 self.lineEdit_em_warning_box.clear()
3555 gvd = self.lineEdit_em_greatest_volt_diff.text()
3556 apv = self.lineEdit_em_average_phase_volt.text()
3559 if gvd !=
"" and apv !=
"":
3560 self.m_eq.elec_mot_v_u_func(float(gvd), float(apv),
True)
3563 self.m_eq.elec_mot_v_u_func(1, 1,
False)
3565 self.lineEdit_em_v_u.setText(str(self.m_eq.get_em_v_u()))
3567 except ZeroDivisionError:
3568 self.lineEdit_em_warning_box.setText(
"Average phase voltage cannot be zero.")
3570 except Exception
as err:
3578 Electric Motors C_v Function 3580 self.lineEdit_em_c_v.clear()
3581 self.lineEdit_em_warning_box.clear()
3584 v_d = self.lineEdit_em_v_d.text()
3585 v_r = self.lineEdit_em_v_r.text()
3586 v_u = self.lineEdit_em_v_u.text()
3588 motor_type = self.comboBox_em_motor_type.currentText()
3590 if motor_type !=
"None" and v_d !=
"" and v_r !=
"" and v_u !=
"":
3591 if motor_type ==
'AC Polyphase':
3592 self.m_eq.em_motor_phase = 3
3595 self.m_eq.em_motor_phase = 1
3597 self.m_eq.elec_mot_c_v_func(v_d, v_r, v_u,
True)
3600 self.m_eq.elec_mot_c_v_func(1, 1, 1,
False)
3602 self.lineEdit_em_c_v.setText(str(self.m_eq.get_em_c_v()))
3604 except ZeroDivisionError:
3605 self.lineEdit_em_warning_box.setText(
"VR deÄŸeri 0 olamaz.")
3607 except Exception
as err:
3615 Electric Motors C_alt Function 3617 self.lineEdit_em_c_alt.clear()
3618 self.lineEdit_em_warning_box.clear()
3621 altitude = self.lineEdit_em_operating_altitude.text()
3624 self.m_eq.elec_mot_alt_func(float(altitude))
3625 self.lineEdit_em_c_alt.setText(str(self.m_eq.get_em_c_alt()))
3627 except Exception
as err:
3635 Electric Motors Lambda_wi Function 3637 self.m_eq.elec_mot_lambda_wi_func()
3638 self.lineEdit_em_lambda_wi.setText(str(self.m_eq.get_em_lambda_wi_func()))
3643 Electric Motors Lambda_c Function 3645 self.lineEdit_em_warning_box.clear()
3646 em_lambda_c = self.lineEdit_em_lambda_c.text()
3648 if em_lambda_c !=
"":
3649 self.m_eq.elec_mot_lambda_c_func(float(em_lambda_c))
3652 self.m_eq.elec_mot_lambda_c_func(float(0.0))
3654 except ValueError
as e:
3655 self.lineEdit_em_warning_box.setText(str(e))
3657 except Exception
as err:
3663 Electric Motors Hazard Rate Function 3665 self.m_eq.electric_motor_system_failure_rate_func()
3667 self.lineEdit_em_lambda_m.setText(str(self.m_eq.get_em_lambda()))
3673 Mechanical Couplings Tab Function 3675 self.comboBox_cp_driven_machinery.clear()
3676 self.comboBox_cp_driven_machinery.addItem(
"None")
3677 self.comboBox_cp_driven_machinery.addItems(self.
mechanical_equipments_dict[
"Mechanical Couplings"][
"Driven Machinery"].keys())
3684 Mechanical Couplings Tab Function 2 3686 self.comboBox_cp_torque.clear()
3687 current_mach = self.comboBox_cp_driven_machinery.currentText()
3689 if current_mach !=
"None" and current_mach !=
"":
3690 self.comboBox_cp_torque.addItems(self.
mechanical_equipments_dict[
"Mechanical Couplings"][
"Driven Machinery"][str(current_mach)].keys())
3693 self.m_eq.cp_c_sf = float(1.0)
3694 self.lineEdit_cp_c_sf.setText(str(self.m_eq.cp_c_sf))
3699 Mechanical Couplings C_sf Function 3701 current_mach = self.comboBox_cp_driven_machinery.currentText()
3702 current_torque = self.comboBox_cp_torque.currentText()
3704 if current_mach !=
"None" and current_mach !=
"" and current_torque !=
"None" and current_torque !=
"":
3705 self.m_eq.cp_c_sf = self.
mechanical_equipments_dict[
"Mechanical Couplings"][
"Driven Machinery"][str(current_mach)][str(current_torque)]
3708 self.m_eq.cp_c_sf = float(1.0)
3710 self.lineEdit_cp_c_sf.setText(str(self.m_eq.cp_c_sf))
3715 Mechanical Couplings Hazard Rate Function 3717 self.m_eq.lambda_cp_func()
3719 self.lineEdit_cp_lambda_cp.setText(str(self.m_eq.get_cp_lambda()))
3725 Battery Tab Function 3727 self.lineEdit_bat_lambda_0.clear()
3728 self.comboBox_bat_device_type.clear()
3729 self.comboBox_bat_device_type.addItem(
"None")
3737 Battery Tab Function 2 3739 self.comboBox_bat_device_type_2.clear()
3740 current_dev_type = self.comboBox_bat_device_type.currentText()
3742 if current_dev_type !=
"" and current_dev_type !=
"None":
3746 if type(val)
is int:
3747 self.m_eq.bat_lambda_0 = float(val)
3748 self.lineEdit_bat_lambda_0.setText(str(val))
3751 self.comboBox_bat_device_type_2.addItems(val.keys())
3754 self.m_eq.bat_lambda_0 = float(1.0)
3755 self.lineEdit_bat_lambda_0.setText(str(self.m_eq.bat_lambda_0))
3760 Battery Tab Function 3 3762 current_dev_type = self.comboBox_bat_device_type.currentText()
3763 current_dev_type_2 = self.comboBox_bat_device_type_2.currentText()
3765 if current_dev_type_2 !=
"" and current_dev_type_2 !=
"None":
3768 if type(val)
is int:
3769 self.m_eq.bat_lambda_0 = float(val)
3770 self.lineEdit_bat_lambda_0.setText(str(val))
3773 self.m_eq.bat_lambda_0 = float(1.0)
3774 self.lineEdit_bat_lambda_0.setText(str(self.m_eq.bat_lambda_0))
3779 Battery Hazard Rate Function 3781 self.m_eq.lambda_bat_func()
3783 self.lineEdit_bat_lambda_bat.setText(str(self.m_eq.get_bat_lambda()))
label_be_bearing_diameter
def spring_tab_func(self)
def shaft_sh_set_section_control(self)
label_em_assumed_ambient_temp
def actuatior_gama_func(self)
comboBox_sh_surface_finish
def actuator_piston_cylinder_rad_but_control(self)
tabWidget_mechanical_equipments
label_em_operating_altitude
def bearing_c_r_func(self)
def shaft_sh_e_control(self)
def spring_c_m_func(self)
def shaft_sh_sections_show_values(self)
def shaft_sh_b_control(self)
comboBox_be_type_of_application
def spring_c_y_func(self)
def shaft_c_sc_r_func(self)
radioButton_be_roller_bearing
label_be_type_of_application_2
def clicked_button_c_me_actuators_func(self)
def em_lambda_c_func(self)
label_cp_driven_machinery
def spring_c_g_func(self)
def clicked_button_c_me_bearings_func(self)
def clicked_main_func(self, set_data)
pushButton_sh_add_section
def clicked_button_c_me_gears_func(self)
def bat_hazard_rate_func(self)
comboBox_cp_driven_machinery
def spring_c_n_func(self)
def couplings_tab_func_2(self)
def clicked_button_c_me_mechanical_couplings_func(self)
def clicked_button_c_me_shafts_func(self)
def actuator_c_t_func(self)
comboBox_gr_load_character
def shaft_c_sc_g_func_2(self)
def bearing_c_c_func(self)
label_em_average_phase_volt
def em_hazard_rate_func(self)
def actuator_hazard_rate_func(self)
def gear_c_gv_func_2(self)
def bearing_lambda_be_b_and_be_c_y_func(self)
label_em_greatest_volt_diff
def spring_c_l_func(self)
lineEdit_em_greatest_volt_diff
def bearing_c_v_func(self)
label_sh_show_section_length
def clicked_button_c_me_electric_motors_func(self)
def mechanical_equipments_button_click_event_func(self)
def actutor_hardness_func(self)
def actuator_f_y_func(self)
addButton_c_me_mechanical_couplings
def spring_hazard_rate_func(self)
def shaft_c_sc_g_func(self)
def shaft_sh_add_section_control(self)
def couplings_c_sf_func(self)
def gear_hazard_rate_func(self)
def actuator_c_s_func(self)
def actuator_n_o_func(self)
def clicked_button_c_me_springs_func(self)
comboBox_em_insulation_class
lineEdit_em_operating_altitude
def shaft_hazard_rate_func(self)
def em_lambda_wi_b_func(self)
label_allowable_temp_rise
label_be_type_of_application
def em_lambda_wi_func(self)
label_sh_show_section_length_val
def couplings_hazard_rate_func(self)
def actuator_tab_func_2(self)
def em_lambda_m_b_func(self)
def spring_c_dw_func(self)
def mechanical_equipments_general_events_func(self)
comboBox_ac_various_metals
def spring_c_dc_func(self)
def shaft_sh_c_dy_func(self)
comboBox_be_type_of_application_2
def actuator_lambda_ac_b_func(self)
def retranslateUi(self, MainWindow)
def clicked_button_c_me_battery_func(self)
def actuator_c_cp_func(self)
lineEdit_be_bearing_diameter
label_em_insulation_class
pushButton_sh_set_section
def bearing_c_sf_func(self)
def __init__(self, ui_class, data_path, equipment_type)
def gear_lambda_gr_b_func(self)
comboBox_bat_device_type_2
mechanical_equipments_dict
def shaft_lambda_s_h_b_func(self)
def bearing_c_t_func(self)
def spring_c_cs_func(self)
addButton_c_me_electric_motors
def spring_c_k_func(self)
lineEdit_em_average_phase_volt
comboBox_sp_material_type
def bearing_hazard_rate_func(self)
def bearing_c_cw_func(self)
def setupUi(self, MainWindow)
def spring_tab_func_2(self)
def actuator_tab_func(self)
def shaft_c_sc_func(self)
radioButton_be_ball_bearing
def bearing_tab_func(self)
def actuator_c_h_func(self)
def couplings_tab_func(self)