diff --git a/src/Socket2.xmi b/src/Socket2.xmi index 7393bf5c875b2e8e603298605ecd16306116b47f..43d71478e087e045eaf7a04c043de226cd993a8c 100644 --- a/src/Socket2.xmi +++ b/src/Socket2.xmi @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="ASCII"?> <pogoDsl:PogoSystem xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pogoDsl="http://www.esrf.fr/tango/pogo/PogoDsl"> <classes name="Socket2" pogoRevision="9.7"> - <description description="" title="" sourcePath="/home/alessio.bogani/Sources/git-trees/linkstabilizer/deps/socket2/src" language="Cpp" filestogenerate="XMI file,Code files,Protected Regions" license="GPL" hasMandatoryProperty="true" hasConcreteProperty="true" hasAbstractCommand="false" hasAbstractAttribute="false"> + <description description="" title="" sourcePath="/home/alessio/Sources/git-trees/socket2/src" language="Cpp" filestogenerate="XMI file,Code files,Protected Regions" license="GPL" hasMandatoryProperty="true" hasConcreteProperty="true" hasAbstractCommand="false" hasAbstractAttribute="false"> <inheritances classname="Device_Impl" sourcePath=""/> <identification contact="at elettra.eu> - Alessio Igor Bogani <alessio.bogani" author="Alessio Igor Bogani <alessio.bogani" emailDomain="elettra.eu>" classFamily="Communication" siteSpecific="" platform="Unix Like" bus="Socket" manufacturer="none" reference=""/> </description> @@ -34,7 +34,6 @@ <type xsi:type="pogoDsl:VoidType"/> </argout> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> - <excludedStates>FAULT</excludedStates> <excludedStates>INIT</excludedStates> </commands> <commands name="Read" description="" execMethod="read" displayLevel="OPERATOR" polledPeriod="0"> @@ -45,7 +44,6 @@ <type xsi:type="pogoDsl:CharArrayType"/> </argout> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> - <excludedStates>FAULT</excludedStates> <excludedStates>INIT</excludedStates> </commands> <commands name="ReadUntil" description="" execMethod="read_until" displayLevel="OPERATOR" polledPeriod="0"> @@ -56,7 +54,6 @@ <type xsi:type="pogoDsl:CharArrayType"/> </argout> <status abstract="false" inherited="false" concrete="true" concreteHere="true"/> - <excludedStates>FAULT</excludedStates> <excludedStates>INIT</excludedStates> </commands> <attributes name="InputLength" attType="Scalar" rwType="READ" displayLevel="OPERATOR" polledPeriod="0" maxX="" maxY="" allocReadMember="true" isDynamic="false"> diff --git a/src/Socket2StateMachine.cpp b/src/Socket2StateMachine.cpp index b7e8e1d6c59f7f61c3db986397e5575cce2ab26a..fbfeb043515278c7b81ac6b32046ba5030a2d331 100644 --- a/src/Socket2StateMachine.cpp +++ b/src/Socket2StateMachine.cpp @@ -114,8 +114,7 @@ bool Socket2::is_Reconnections_allowed(TANGO_UNUSED(Tango::AttReqType type)) bool Socket2::is_Write_allowed(TANGO_UNUSED(const CORBA::Any &any)) { // Compare device state with not allowed states. - if (get_state()==Tango::FAULT || - get_state()==Tango::INIT) + if (get_state()==Tango::INIT) { /*----- PROTECTED REGION ID(Socket2::WriteStateAllowed) ENABLED START -----*/ @@ -134,8 +133,7 @@ bool Socket2::is_Write_allowed(TANGO_UNUSED(const CORBA::Any &any)) bool Socket2::is_Read_allowed(TANGO_UNUSED(const CORBA::Any &any)) { // Compare device state with not allowed states. - if (get_state()==Tango::FAULT || - get_state()==Tango::INIT) + if (get_state()==Tango::INIT) { /*----- PROTECTED REGION ID(Socket2::ReadStateAllowed) ENABLED START -----*/ @@ -154,8 +152,7 @@ bool Socket2::is_Read_allowed(TANGO_UNUSED(const CORBA::Any &any)) bool Socket2::is_ReadUntil_allowed(TANGO_UNUSED(const CORBA::Any &any)) { // Compare device state with not allowed states. - if (get_state()==Tango::FAULT || - get_state()==Tango::INIT) + if (get_state()==Tango::INIT) { /*----- PROTECTED REGION ID(Socket2::ReadUntilStateAllowed) ENABLED START -----*/