From 55c67f5c8e4964643ea69c1af79d77abe237b8a5 Mon Sep 17 00:00:00 2001 From: Leonardo Sala Date: Tue, 9 Aug 2016 14:33:23 +0200 Subject: [PATCH] Closedown --- script/local.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/script/local.py b/script/local.py index f564001..5fba8b3 100644 --- a/script/local.py +++ b/script/local.py @@ -2,3 +2,15 @@ # Deployment specific global definitions - executed after startup.py ################################################################################################### +class PicoAmp(DeviceBase): + def __init__(self, name, prefix): + DeviceBase.__init__(self, name) + self.prefix = prefix + + def do_something(): + print "OK" + + +add_device(PicoAmp("pico_amp", "X12SA-PC-BPM5:AH501:"), force = True) + +