Files
x12sa/script/local.py
2016-08-09 14:33:23 +02:00

17 lines
535 B
Python

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