diff --git a/src/EEHGMaster.py b/src/EEHGMaster.py index 62e066ee9fa7b3e6251fa15ab479d1eb9e7347ad..6c911be44d61fde753290751e22a26968be61bd6 100755 --- a/src/EEHGMaster.py +++ b/src/EEHGMaster.py @@ -624,6 +624,12 @@ class EEHGMaster(Device): doc="current value", ) + lambda_s1_curr = attribute( + dtype='DevDouble', + access=AttrWriteType.READ_WRITE, + memorized=True, + ) + bunc_sol = attribute( dtype=('DevLong64',), max_dim_x=32, @@ -1465,6 +1471,18 @@ class EEHGMaster(Device): pass # PROTECTED REGION END # // EEHGMaster.pow_s2_curr_write + def read_lambda_s1_curr(self): + # PROTECTED REGION ID(EEHGMaster.lambda_s1_curr_read) ENABLED START # + """Return the lambda_s1_curr attribute.""" + return self._lambda_s1_curr + # PROTECTED REGION END # // EEHGMaster.lambda_s1_curr_read + + def write_lambda_s1_curr(self, value): + # PROTECTED REGION ID(EEHGMaster.lambda_s1_curr_write) ENABLED START # + """Set the lambda_s1_curr attribute.""" + pass + # PROTECTED REGION END # // EEHGMaster.lambda_s1_curr_write + def read_bunc_sol(self): # PROTECTED REGION ID(EEHGMaster.bunc_sol_read) ENABLED START # """Return the bunc_sol attribute.""" diff --git a/src/EEHGMaster.xmi b/src/EEHGMaster.xmi index 54be15cb1248d38ca1cd5c655d52031539827a50..a50914cdb8e811f004bbd20ecb98eef2132af7d9 100644 --- a/src/EEHGMaster.xmi +++ b/src/EEHGMaster.xmi @@ -602,6 +602,14 @@ <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> <properties description="current value" label="pow_s2_curr" unit="" standardUnit="" displayUnit="" format="" maxValue="" minValue="" maxAlarm="" minAlarm="" maxWarning="" minWarning="" deltaTime="" deltaValue=""/> </attributes> + <attributes name="lambda_s1_curr" attType="Scalar" rwType="READ_WRITE" displayLevel="OPERATOR" polledPeriod="0" maxX="" maxY="" memorized="true" allocReadMember="true" isDynamic="false"> + <dataType xsi:type="pogoDsl:DoubleType"/> + <changeEvent fire="false" libCheckCriteria="false"/> + <archiveEvent fire="false" libCheckCriteria="false"/> + <dataReadyEvent fire="false" libCheckCriteria="true"/> + <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> + <properties description="" label="" unit="" standardUnit="" displayUnit="" format="" maxValue="" minValue="" maxAlarm="" minAlarm="" maxWarning="" minWarning="" deltaTime="" deltaValue=""/> + </attributes> <attributes name="bunc_sol" attType="Spectrum" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="32" maxY="" allocReadMember="true" isDynamic="false"> <dataType xsi:type="pogoDsl:LongType"/> <changeEvent fire="false" libCheckCriteria="false"/> @@ -625,6 +633,9 @@ <states name="ALARM" description="No solutions avaliable"> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> </states> + <states name="UNKNOWN" description="Condizione in cui non si conosce li stato dei device sotto."> + <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> + </states> <preferences docHome="./doc_html" makefileHome="/usr/local/tango-9.3.4/share/pogo/preferences"/> </classes> </pogoDsl:PogoSystem>