add hvolt_short
This commit is contained in:
parent
c40033a816
commit
c69fe1571a
12
cfg/sea/hvolt_short.stick.json
Normal file
12
cfg/sea/hvolt_short.stick.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{"hcp": {"base": "/hcp", "params": [
|
||||||
|
{"path": "", "type": "float", "kids": 10},
|
||||||
|
{"path": "send", "type": "text", "readonly": false, "cmd": "hcp send", "visibility": 3},
|
||||||
|
{"path": "status", "type": "text", "visibility": 3},
|
||||||
|
{"path": "set", "type": "float", "readonly": false, "cmd": "hcp set"},
|
||||||
|
{"path": "on", "type": "bool", "readonly": false, "cmd": "hcp on"},
|
||||||
|
{"path": "setcurrent", "type": "float", "readonly": false, "cmd": "hcp setcurrent"},
|
||||||
|
{"path": "ramp", "type": "float", "readonly": false, "cmd": "hcp ramp"},
|
||||||
|
{"path": "rampmode", "type": "enum", "enum": {"no ramp": 0, "always ramp": 1, "ramp up only": 2}, "readonly": false, "cmd": "hcp rampmode"},
|
||||||
|
{"path": "workset", "type": "float"},
|
||||||
|
{"path": "current", "type": "float"},
|
||||||
|
{"path": "currentlimit", "type": "float", "readonly": false, "cmd": "hcp currentlimit"}]}}
|
24
cfg/stick/hvolt_short_cfg.py
Normal file
24
cfg/stick/hvolt_short_cfg.py
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
Node('cfg/stick/hvolt_short.cfg',
|
||||||
|
'high voltage stick',
|
||||||
|
)
|
||||||
|
|
||||||
|
Mod('sea_stick',
|
||||||
|
'frappy_psi.sea.SeaClient',
|
||||||
|
'stick sea connection for hvolt_short.stick',
|
||||||
|
config='hvolt_short.stick',
|
||||||
|
service='stick',
|
||||||
|
)
|
||||||
|
|
||||||
|
Mod('ts',
|
||||||
|
'frappy_psi.sea.SeaReadable', '',
|
||||||
|
io='sea_stick',
|
||||||
|
sea_object='tt',
|
||||||
|
json_file='ma10.config.json',
|
||||||
|
rel_paths=['ts'],
|
||||||
|
)
|
||||||
|
|
||||||
|
Mod('hcp',
|
||||||
|
'frappy_psi.sea.SeaReadable', '',
|
||||||
|
io='sea_stick',
|
||||||
|
sea_object='hcp',
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user