Change-Id: I72abe9b4c2deb08e58ce69786f853ccc4b385a5d
This commit is contained in:
Enrico Faulhaber
2017-09-11 15:22:33 +02:00
parent 9a402857f3
commit 357056d478
12 changed files with 71 additions and 34 deletions

View File

@@ -24,12 +24,12 @@ import time
import random
import threading
from secop.modules import Readable, Driveable, PARAM
from secop.modules import Readable, Drivable, PARAM
from secop.datatypes import EnumType, FloatRange, IntRange, ArrayOf, StringType, TupleOf, StructOf, BoolType
from secop.protocol import status
class Switch(Driveable):
class Switch(Drivable):
"""switch it on or off....
"""
PARAMS = {
@@ -94,7 +94,7 @@ class Switch(Driveable):
return info
class MagneticField(Driveable):
class MagneticField(Drivable):
"""a liquid magnet
"""
PARAMS = {
@@ -194,7 +194,7 @@ class CoilTemp(Readable):
return round(2.3 + random.random(), 3)
class SampleTemp(Driveable):
class SampleTemp(Drivable):
"""a sample temperature
"""
PARAMS = {