again modified alias handling

This commit is contained in:
2022-05-02 18:11:01 +02:00
parent 410a590d0f
commit 32292b0ba1
2 changed files with 44 additions and 40 deletions

View File

@ -6,8 +6,6 @@ modules = ['nicos_sinq.frappy_sinq.commands']
devices = dict(
frappy_config = device(
'nicos_sinq.frappy_sinq.devices.FrappyConfig',
# frappy_config does not need to be visible
visibility = [],
# the possible SECoP connections
nodes = ['se_main', 'se_stick', 'se_addons'],
#
@ -19,25 +17,22 @@ devices = dict(
# the devices with the names given by key are added to determine the
# device, using the given importance number, with similar values as
# given by the SECoP standard (10: instrument, 20: cryostat, 30: insert)
# for the name of the created aliases see the instrument specific
# setup 'frappy_aliases'
temperature = { # the SECoP meaning
'alias': 'Ts', # the name(s) to be given to the alias
'targets': # possible devices in addition with importance
{'se_ts': 20, 'se_tt': 19, 'se_tm': 18},
# possible devices in addition to SECoP meaning (with importance)
'targets': {'se_ts': 20, 'se_tt': 19, 'se_tm': 18},
},
temperature_regulation = {
'alias': 'Tr',
'targets': {'se_tt': 20, 'se_tm': 19},
'targets': {'se_tt': 20, 'se_tm': 19},
},
temperature_drivable = {
'alias': 'T',
'envlist': False,
'envlist': False, # do not put into env list
},
magneticfield = {
'alias': 'B',
'targets': {'se_mf': 20},
},
rotation_z = {
'alias': 'stickrot',
'envlist': False,
'targets': {'se_om': 20},
}