allow multiple names for SE aliases

This commit is contained in:
2022-05-02 15:56:19 +02:00
parent 70cf0b6715
commit b9370eb206
2 changed files with 24 additions and 16 deletions

View File

@ -20,7 +20,7 @@ devices = dict(
# device, using the given importance number, with similar values as
# given by the SECoP standard (10: instrument, 20: cryostat, 30: insert)
temperature = { # the SECoP meaning
'alias': 'Ts', # the name to be given to the alias
'alias': ['Ts', 'temperature'], # 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},
},
@ -33,7 +33,7 @@ devices = dict(
'envlist': False,
},
magneticfield = {
'alias': 'B',
'alias': ['B', 'magfield'],
'targets': {'se_mf': 20},
},
rotation_z = {