Commit eb7d213a authored by Matias Guijarro's avatar Matias Guijarro

use latest device impl instead of sticking to a particular version

parent dbcb07dd
......@@ -56,12 +56,12 @@ try:
except ImportError:
graypy = None
class MetaExperiment (tango.Device_5Impl):
class MetaExperiment (tango.LatestDeviceImpl):
"""Metadata for high level experiment"""
def __init__(self, cl, name):
tango.Device_5Impl.__init__(self,cl,name)
tango.LatestDeviceImpl.__init__(self,cl,name)
self.debug_stream("In __init__()")
MetaExperiment.init_device(self)
......@@ -211,7 +211,7 @@ class MetaExperiment (tango.Device_5Impl):
self.Connect()
#----- PROTECTED REGION END -----# // MetaExperiment.State
if argout != tango.DevState.ALARM:
tango.Device_5Impl.dev_state(self)
tango.LatestDeviceImpl.dev_state(self)
return self.get_state()
def dev_status(self):
......@@ -223,7 +223,7 @@ class MetaExperiment (tango.Device_5Impl):
#----- PROTECTED REGION ID(MetadataManager.Status) ENABLED START -----#
self.Connect()
#----- PROTECTED REGION END -----# // MetadataManager.Status
self.__status = tango.Device_5Impl.dev_status(self)
self.__status = tango.LatestDeviceImpl.dev_status(self)
return self.__status
#----- PROTECTED REGION ID(MetaExperiment.programmer_methods) ENABLED START -----#
......
......@@ -87,7 +87,7 @@ from metadata_manager import tangoworker
## RUNNING : Dataset currently recorded
class MetadataManager (tango.Device_5Impl):
class MetadataManager (tango.LatestDeviceImpl):
""""""
def info(self, message):
self.info_stream(message)
......@@ -99,7 +99,7 @@ class MetadataManager (tango.Device_5Impl):
self.error_stream(message)
def __init__(self, cl, name):
tango.Device_5Impl.__init__(self,cl,name)
tango.LatestDeviceImpl.__init__(self,cl,name)
self.metadataWorker = MetadataWorker(self.get_name())
MetadataManager.init_device(self)
......@@ -486,7 +486,7 @@ class MetadataManager (tango.Device_5Impl):
self.Connect()
#----- PROTECTED REGION END -----# // MetadataManager.State
if argout != tango.DevState.ALARM:
tango.Device_5Impl.dev_state(self)
tango.LatestDeviceImpl.dev_state(self)
return self.get_state()
def dev_status(self):
......@@ -498,7 +498,7 @@ class MetadataManager (tango.Device_5Impl):
#----- PROTECTED REGION ID(MetadataManager.Status) ENABLED START -----#
self.Connect()
#----- PROTECTED REGION END -----# // MetadataManager.Status
self.__status = tango.Device_5Impl.dev_status(self)
self.__status = tango.LatestDeviceImpl.dev_status(self)
return self.__status
def IngestTomodbXML(self, argin):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment