@@ -1090,20 +1090,11 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||
|
1090 | 1090 | if self.volGraphCebshow.isChecked(): |
|
1091 | 1091 | name_operation = 'Scope' |
|
1092 | 1092 | optype = 'other' |
|
1093 | name_parameter = 'type' | |
|
1094 | value = 'Scope' | |
|
1095 | if self.idImagscope == 0: | |
|
1096 | self.idImagscope = 100 | |
|
1097 | else: | |
|
1098 | self.idImagscope = self.idImagscope + 1 | |
|
1099 | 1093 | |
|
1100 | 1094 | name_parameter1 = 'id' |
|
1101 | value1 = int(self.idImagscope) | |
|
1102 | 1095 | format1 = 'int' |
|
1103 | format = 'str' | |
|
1104 | 1096 | |
|
1105 | 1097 | opObj = puObj.addOperation(name=name_operation, optype=optype) |
|
1106 | # opObj.addParameter(name=name_parameter, value=value, format=format) | |
|
1107 | 1098 | opObj.addParameter(name=name_parameter1, value=opObj.id, format=format1) |
|
1108 | 1099 | |
|
1109 | 1100 | channelList = str(self.volGraphChannelList.text()).strip() |
@@ -1202,6 +1193,11 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||
|
1202 | 1193 | |
|
1203 | 1194 | return 1 |
|
1204 | 1195 | |
|
1196 | @pyqtSignature("") | |
|
1197 | def on_volGraphClear_clicked(self): | |
|
1198 | ||
|
1199 | self.console.clear() | |
|
1200 | ||
|
1205 | 1201 | """ |
|
1206 | 1202 | Voltage Graph |
|
1207 | 1203 | """ |
@@ -2016,6 +2012,12 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||
|
2016 | 2012 | |
|
2017 | 2013 | return 1 |
|
2018 | 2014 | |
|
2015 | ||
|
2016 | @pyqtSignature("") | |
|
2017 | def on_specGraphClear_clicked(self): | |
|
2018 | ||
|
2019 | self.console.clear() | |
|
2020 | ||
|
2019 | 2021 | """ |
|
2020 | 2022 | Spectra Graph |
|
2021 | 2023 | """ |
@@ -2132,10 +2134,6 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||
|
2132 | 2134 | return |
|
2133 | 2135 | |
|
2134 | 2136 | @pyqtSignature("") |
|
2135 | def on_specGraphClear_clicked(self): | |
|
2136 | return | |
|
2137 | ||
|
2138 | @pyqtSignature("") | |
|
2139 | 2137 | def on_specHeisGraphToolPath_clicked(self): |
|
2140 | 2138 | """ |
|
2141 | 2139 | """ |
@@ -2203,7 +2201,6 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||
|
2203 | 2201 | time_range = str(self.specHeisGgraphTminTmax.text()) |
|
2204 | 2202 | timerange = str(self.specHeisGgraphTimeRange.text()) |
|
2205 | 2203 | |
|
2206 | # ---- Spectra Plot----- | |
|
2207 | 2204 | if self.specHeisGraphCebSpectraplot.isChecked(): |
|
2208 | 2205 | |
|
2209 | 2206 | name_operation = 'SpectraHeisScope' |
@@ -2249,7 +2246,6 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||
|
2249 | 2246 | opObj.addParameter(name=name1, value=value1, format=format) |
|
2250 | 2247 | opObj.addParameter(name=name2, value=value2, format=format) |
|
2251 | 2248 | |
|
2252 | #------specHeisGgraphYmin-Ymax--- | |
|
2253 | 2249 | if not power_range == '': |
|
2254 | 2250 | yvalueList = power_range.split(",") |
|
2255 | 2251 | |
@@ -2414,6 +2410,12 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||
|
2414 | 2410 | self._enable_play_button() |
|
2415 | 2411 | |
|
2416 | 2412 | return 1 |
|
2413 | ||
|
2414 | @pyqtSignature("") | |
|
2415 | def on_specHeisGraphClear_clicked(self): | |
|
2416 | ||
|
2417 | self.console.clear() | |
|
2418 | ||
|
2417 | 2419 | @pyqtSignature("int") |
|
2418 | 2420 | def on_specHeisGraphCebSpectraplot_stateChanged(self, p0): |
|
2419 | 2421 | |
@@ -2474,10 +2476,6 class BasicWindow(QMainWindow, Ui_BasicWindow): | |||
|
2474 | 2476 | if p0 == 2: |
|
2475 | 2477 | self.specHeisGgraphftpratio.setEnabled(True) |
|
2476 | 2478 | |
|
2477 | @pyqtSignature("") | |
|
2478 | def on_specHeisGraphClear_clicked(self): | |
|
2479 | pass | |
|
2480 | ||
|
2481 | 2479 | def __checkSpecGraphSaving(self): |
|
2482 | 2480 | |
|
2483 | 2481 | enable = False |
General Comments 0
You need to be logged in to leave comments.
Login now