From 2fdc8f07c581bdd42c27bc5080e737c8100f15aa Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Wed, 26 Sep 2018 11:52:32 +0200 Subject: [PATCH] Closedown --- script/local.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/script/local.py b/script/local.py index b21805b..61d052d 100644 --- a/script/local.py +++ b/script/local.py @@ -1,3 +1,16 @@ ################################################################################################### # 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() \ No newline at end of file