16 lines
501 B
Python
16 lines
501 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() |