Skip to content
Snippets Groups Projects
Commit 467623d1 authored by Claudio Scafuri's avatar Claudio Scafuri :speech_balloon:
Browse files

correcte attribute name: MCPLLStatus_S7_7 -> MCPLLStatus_S5_7

parent 49a680e4
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ class GofGateway(Device):
label="BPM S1.7/MCPPLStatus",
)
MCPLLStatus_S7_7 = attribute(
MCPLLStatus_S5_7 = attribute(
dtype='bool',
label="BPM S5.7/MCPPLStatus",
)
......@@ -193,15 +193,15 @@ class GofGateway(Device):
return self.get_state() not in [DevState.UNKNOWN,DevState.INIT]
# PROTECTED REGION END # // GofGateway.is_MCPLLStatus_S1_7_allowed
def read_MCPLLStatus_S7_7(self):
# PROTECTED REGION ID(GofGateway.MCPLLStatus_S7_7_read) ENABLED START #
def read_MCPLLStatus_S5_7(self):
# PROTECTED REGION ID(GofGateway.MCPLLStatus_S5_7_read) ENABLED START #
return self.bpm57.read().value
# PROTECTED REGION END # // GofGateway.MCPLLStatus_S7_7_read
# PROTECTED REGION END # // GofGateway.MCPLLStatus_S5_7_read
def is_MCPLLStatus_S7_7_allowed(self, attr):
# PROTECTED REGION ID(GofGateway.is_MCPLLStatus_S7_7_allowed) ENABLED START #
def is_MCPLLStatus_S5_7_allowed(self, attr):
# PROTECTED REGION ID(GofGateway.is_MCPLLStatus_S5_7_allowed) ENABLED START #
return self.get_state() not in [DevState.UNKNOWN,DevState.INIT]
# PROTECTED REGION END # // GofGateway.is_MCPLLStatus_S7_7_allowed
# PROTECTED REGION END # // GofGateway.is_MCPLLStatus_S5_7_allowed
def read_MCPLLStatus_S9_7(self):
# PROTECTED REGION ID(GofGateway.MCPLLStatus_S9_7_read) ENABLED START #
......
......@@ -37,7 +37,7 @@
<readExcludedStates>UNKNOWN</readExcludedStates>
<readExcludedStates>INIT</readExcludedStates>
</attributes>
<attributes name="MCPLLStatus_S7_7" attType="Scalar" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="" maxY="" allocReadMember="true" isDynamic="false">
<attributes name="MCPLLStatus_S5_7" attType="Scalar" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="" maxY="" allocReadMember="true" isDynamic="false">
<dataType xsi:type="pogoDsl:BooleanType"/>
<changeEvent fire="false" libCheckCriteria="false"/>
<archiveEvent fire="false" libCheckCriteria="false"/>
......
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