SICS-697 Decorate LS-370 with permlink

This commit is contained in:
Douglas Clowes
2014-08-01 16:44:23 +10:00
parent 94beedd885
commit 5112af83fd

View File

@ -4,9 +4,13 @@ driver lakeshore_m370 = {
sobj_priv_type = 'user float'
class = environment
simulation_group = environment_simulation
add_args = 'tol'
make_args = 'tol'
add_args = 'id tol'
make_args = 'id tol'
code mkDriver = {%%
mk_sct_driver $sct_controller environment $name $tol
::scobj::lakeshore_370::mk_sct_driver $sct_controller environment $name $tol
hsetprop ${scobj_hpath}/setpoint permlink data_set T[format "%02d" ${id}]SP01
hsetprop ${scobj_hpath}/setpoint @description T[format "%02d" ${id}]SP01
hsetprop ${scobj_hpath}/Sensor/value permlink data_set T[format "%02d" ${id}]S01
hsetprop ${scobj_hpath}/Sensor/value @description T[format "%02d" ${id}]S01
%%}
}