Adding reference scripts

This commit is contained in:
reiche authored and Sven committed 2026-01-26 12:51:49 +01:00
1 parent 897bf75127
commit d11a57f446
7 files changed
+144 -77

No files matched your search

+3 -2
View File
@@ -15,10 +15,11 @@ from sandbox import Sandbox
from matching import Matching
class OpticsTools(QtWidgets.QMainWindow, Ui_OpticsGUI):
def __init__(self,phase=0, office = False):
def __init__(self,phase=0, office= 1):
super(OpticsTools, self).__init__()
self.setupUi(self)
office = office== 1
self.version = '1.0.1'
self.setWindowIcon(QtGui.QIcon("rsc/iconoptics.png"))
@@ -99,7 +100,7 @@ if __name__ == '__main__':
QtWidgets.QApplication.setStyle(QtWidgets.QStyleFactory.create("plastique"))
parser = ArgumentParser()
parser.add_argument('-phase', type=int, help='Disable any action on the machine', default=0)
parser.add_argument('-offline', type=int, help='Excludes any connection to control system', default=0)
parser.add_argument('-offline', type=int, help='Excludes any connection to control system', default=1)
args = parser.parse_args()
app = QtWidgets.QApplication(sys.argv)