Skip to content
Snippets Groups Projects
Commit a8b1a1ce authored by Samuel GARNIER's avatar Samuel GARNIER
Browse files

Add command clear_error

parent 0f8eb53f
No related branches found
No related tags found
No related merge requests found
...@@ -593,6 +593,18 @@ class DG_PY_FOFBTool(Device): ...@@ -593,6 +593,18 @@ class DG_PY_FOFBTool(Device):
self.error_stream("Failed to configure COMCORR on {}".format(cn)) self.error_stream("Failed to configure COMCORR on {}".format(cn))
# PROTECTED REGION END # // DG_PY_FOFBTool.disable_comcorr # PROTECTED REGION END # // DG_PY_FOFBTool.disable_comcorr
@command(
)
@DebugIt()
def clear_error(self):
# PROTECTED REGION ID(DG_PY_FOFBTool.clear_error) ENABLED START #
"""
:return:None
"""
self.parent.d_status.pop('error')
# PROTECTED REGION END # // DG_PY_FOFBTool.clear_error
# ---------- # ----------
# Run server # Run server
# ---------- # ----------
......
...@@ -141,6 +141,15 @@ ...@@ -141,6 +141,15 @@
</argout> </argout>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
</commands> </commands>
<commands name="clear_error" description="" execMethod="clear_error" displayLevel="OPERATOR" polledPeriod="0" isDynamic="false">
<argin description="">
<type xsi:type="pogoDsl:VoidType"/>
</argin>
<argout description="">
<type xsi:type="pogoDsl:VoidType"/>
</argout>
<status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
</commands>
<attributes name="FofbToolVersion" attType="Scalar" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="" maxY="" allocReadMember="true" isDynamic="false"> <attributes name="FofbToolVersion" attType="Scalar" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="" maxY="" allocReadMember="true" isDynamic="false">
<dataType xsi:type="pogoDsl:StringType"/> <dataType xsi:type="pogoDsl:StringType"/>
<changeEvent fire="false" libCheckCriteria="false"/> <changeEvent fire="false" libCheckCriteria="false"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment