개정판 d694c9e8
issue #1048 : 화면/메뉴/툴바 개발
Change-Id: I8115115547537d9488ddac674624ca174aebc2d5
HYTOS/HYTOS/Valve_Control.py | ||
---|---|---|
44 | 44 |
def opening(self): |
45 | 45 |
# Validation Check |
46 | 46 |
if not self.ui.radioButton_Linear.isChecked() and not self.ui.radioButton_Equal_Percentage.isChecked(): |
47 |
QMessageBox.information(self, self.tr('Notice'), self.tr('Select Flow Character !\nLinear or Equal Percentage'))
|
|
47 |
QMessageBox.information(self, self.tr('Information'), self.tr('Select Flow Character !\nLinear or Equal Percentage'))
|
|
48 | 48 |
return |
49 | 49 |
rangerability = self.ui.lineEdit_Rangerability.text() |
50 | 50 |
calculated_cv = self.ui.lineEdit_Calculated_Cv.text() |
51 | 51 |
rated_cv = self.ui.lineEdit_Rated_Cv.text() |
52 | 52 |
|
53 | 53 |
if is_blank(rangerability): |
54 |
QMessageBox.information(self, self.tr("Notice"), self.tr("Please input [Rangerability Data] !"))
|
|
54 |
QMessageBox.information(self, self.tr("Information"), self.tr("Please input [Rangerability Data] !"))
|
|
55 | 55 |
return |
56 | 56 |
elif is_blank(calculated_cv): |
57 |
QMessageBox.information(self, self.tr("Notice"), self.tr("Please input [Calculated Cv Data] !"))
|
|
57 |
QMessageBox.information(self, self.tr("Information"), self.tr("Please input [Calculated Cv Data] !"))
|
|
58 | 58 |
return |
59 | 59 |
elif is_blank(rated_cv): |
60 |
QMessageBox.information(self, self.tr("Notice"), self.tr("Please input [Calculated Cv Data] !"))
|
|
60 |
QMessageBox.information(self, self.tr("Information"), self.tr("Please input [Calculated Cv Data] !"))
|
|
61 | 61 |
return |
62 | 62 |
|
63 | 63 |
if rangerability == '1': |
내보내기 Unified diff