Files
x04sa-es3/script/local.py
gac-x04sa bca1f6987e
2018-10-18 18:43:55 +02:00

30 lines
653 B
Python

###################################################################################################
# Deployment specific global definitions - executed after startup.py
###################################################################################################
class MyInterlock1 (Interlock):
def __init__(self):
Interlock.__init__(self, (alpha, gamma))
def check(self, (a, g)):
if a>=g:
return False
return True
#interlock1 = MyInterlock1()
def open_shutter():
"""
"""
shutter.write("On")
time.sleep(0.1)
def close_shutter():
"""
"""
shutter.write("Off")