Skip to content
Snippets Groups Projects
Commit 1233cb9e authored by Gianluca Marotta's avatar Gianluca Marotta
Browse files

CT-206 Implemented Transaction ID in CSP Subarray ConfigurationScan and AssignResources methods

parent 5d0e2199
Branches
Tags
1 merge request!11CT-206 - Implement transaction IDs in CSP prototype
......@@ -41,6 +41,7 @@ from ska.base.commands import ActionCommand, ResultCode
from ska.base.faults import CapabilityValidationError
from ska.base.control_model import HealthState, AdminMode, ObsState, ObsMode
from .utils.cspcommons import CmdExecState
from .utils.decorators import transaction_id
from . import release
# PROTECTED REGION END # // CspSubarray.additionnal_import
......@@ -370,8 +371,16 @@ class CspSubarray(SKASubarray):
self.logger.info(message)
return (ResultCode.OK, message)
class AssignResourcesCommand(SKASubarray.AssignResourcesCommand):
@transaction_id
def do(self,argin):
return super().do(argin)
self.logger.warning("Assign Resource Command not yet implemented in CSP Subarray. This is an instance of the lmcbaseclasses")
class ConfigureCommand(SKASubarray.ConfigureCommand):
@transaction_id
def do(self, argin):
# checks on State, adminMode and obsState values are performed inside the
# python decorators
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment