Wrapper templates to load syringe pump and mvp valve via sics_config.ini.

This commit is contained in:
Ferdi Franceschini
2014-10-17 08:59:35 +11:00
parent a6ff6346ed
commit 73181a43d9
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# vim: ts=8 sts=2 sw=2 expandtab autoindent smartindent nocindent
driver mvp_valve = {
protocol = hamilton
wrapper_property nosctcontroller = True
class = environment
simulation_group = environment_simulation
add_args = 'id datype'
make_args = 'id datype'
code mkWrapper = {%%
add_mvp $name $ip_address $tcp_port a
%%}
}

View File

@ -0,0 +1,11 @@
# vim: ts=8 sts=2 sw=2 expandtab autoindent smartindent nocindent
driver syringe_pump = {
protocol = syringe
class = environment
simulation_group = environment_simulation
add_args = 'id datype'
make_args = 'id datype'
code mkWrapper = {%%
::scobj::syr::mk_sct_syr $sct_controller environment $name
%%}
}