Implement a variant of the Demo protocol from Markus

include LOTs of bugfixes as well

todo: documentation!

Change-Id: I52252ade34966d24990afd9672f38049882c3199
This commit is contained in:
Enrico Faulhaber
2016-08-26 14:03:43 +02:00
parent 92cf6f34a1
commit 8c825a93ed
20 changed files with 1093 additions and 178 deletions

39
etc/demo.cfg Normal file
View File

@ -0,0 +1,39 @@
[server]
bindto=0.0.0.0
bindport=10767
interface = tcp
framing=demo
encoding=demo
[device heatswitch]
class=devices.demo.Switch
switch_on_time=3
switch_off_time=5
[device mf]
class=devices.demo.MagneticField
heatswitch = heatswitch
[device ts]
class=devices.demo.SampleTemp
sensor = 'Q1329V7R3'
ramp = 4
target = 10
default = 10
[device tc1]
class=devices.demo.CoilTemp
sensor="X34598T7"
[device tc2]
class=devices.demo.CoilTemp
sensor="X39284Q8'
[device label]
class=devices.demo.Label
system=Cryomagnet MX15
subdev_mf=mf
subdev_ts=ts
[device vt]
class=devices.demo.ValidatorTest