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) + +