Adding reference scripts
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user