Commit fa5803a1 authored by Marco De Marco's avatar Marco De Marco
Browse files

Alarm state added

parent 8f0250e7
Loading
Loading
Loading
Loading
+96 −96
Original line number Diff line number Diff line
@@ -686,14 +686,14 @@ void FitsImporter::on()
    }
    catch(std::exception& ex)
    {
        set_state(Tango::FAULT);
        set_state(Tango::ALARM);
        std::stringstream error_stream;
        error_stream << "FitsImporter::On() " << ex.what() << std::endl;
        set_status(error_stream.str());
    }
    catch(...)
    {
        set_state(Tango::FAULT);
        set_state(Tango::ALARM);
        set_status("FitsImporter::On() unknown error");
    }

@@ -718,14 +718,14 @@ void FitsImporter::off()
    }
    catch(std::exception& ex)
    {
        set_state(Tango::FAULT);
        set_state(Tango::ALARM);
        std::stringstream error_stream;
        error_stream << "FitsImporter::Off() " << ex.what() << std::endl;
        set_status(error_stream.str());
    }
    catch(...)
    {
        set_state(Tango::FAULT);
        set_state(Tango::ALARM);
        set_status("FitsImporter::Off() unknown error");
    }

+1 −1
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@
    <states name="FAULT" description="Fits importer is in FAULT state (not ready to ingest data)">
      <status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
    </states>
    <states name="ALARM" description="">
    <states name="ALARM" description="Fits importer is in ALARM state (not ready to ingest data)">
      <status abstract="false" inherited="false" concrete="true" concreteHere="true"/>
    </states>
    <preferences docHome="./doc_html" makefileHome="/usr/local/tango-8.1.2/share/pogo/preferences"/>
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@
//  OFF     |  Fits importer is not active (not ready ingest data)
//  ON      |  Fits importer is in ON state (ready to ingest data)
//  FAULT   |  Fits importer is in FAULT state (not ready to ingest data)
//  ALARM   |  
//  ALARM   |  Fits importer is in ALARM state (not ready to ingest data)


namespace FitsImporter_ns