renamed commandhandler to iohandler
the name commandhandler might be misleading, as it has nothing to do with SECoP commands Change-Id: I31bbe1cefd49927fc591619dc7f41f332cca2c14 Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/22084 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
@ -28,7 +28,7 @@ from secop.datatypes import *
|
||||
from secop.modules import Module, Readable, Writable, Drivable, Communicator, Attached
|
||||
from secop.params import Parameter, Command, Override
|
||||
from secop.metaclass import Done
|
||||
from secop.commandhandler import CmdHandler, CmdHandlerBase
|
||||
from secop.iohandler import IOHandler, IOHandlerBase
|
||||
from secop.stringio import StringIO, HasIodev
|
||||
|
||||
|
||||
|
6
secop/commandhandler.py → secop/iohandler.py
Executable file → Normal file
6
secop/commandhandler.py → secop/iohandler.py
Executable file → Normal file
@ -18,7 +18,7 @@
|
||||
# Module authors:
|
||||
# Markus Zolliker <markus.zolliker@psi.ch>
|
||||
# *****************************************************************************
|
||||
"""command handler
|
||||
"""IO handler
|
||||
|
||||
Utility class for cases, where multiple parameters are treated with a common command.
|
||||
The support for LakeShore and similar protocols is already included.
|
||||
@ -177,7 +177,7 @@ class Change:
|
||||
return self._reply
|
||||
|
||||
|
||||
class CmdHandlerBase:
|
||||
class IOHandlerBase:
|
||||
"""generic command handler"""
|
||||
|
||||
def __init__(self, group):
|
||||
@ -302,7 +302,7 @@ class CmdHandlerBase:
|
||||
setattr(module, k, v)
|
||||
|
||||
|
||||
class CmdHandler(CmdHandlerBase):
|
||||
class IOHandler(IOHandlerBase):
|
||||
"""more evolved command handler
|
||||
|
||||
This command handler works for a syntax, where the reply of a query command has
|
Reference in New Issue
Block a user