17 lines
535 B
Python
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)
|
|
|
|
|