Commit b4596f01 authored by Marco Buttu's avatar Marco Buttu
Browse files

Remove isTracking() method

parent 14c672c4
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -12,13 +12,6 @@

module Antenna {
 
    struct SupervisorDataBlock {
        ACS::Time timeMark;
        boolean tracking;
    };

    const string SUPERVISOR_DATA_CHANNEL = "SupervisorData";

    interface Supervisor: 
        ACS::CharacteristicComponent,
        Management::CommandInterpreter
@@ -131,14 +124,6 @@ module Antenna {
        double getSunSafeLimit() raises (ComponentErrors::ComponentErrorsEx);

         
        /** Return true when the Supervisor is not setting any offset related
         * to the Sun avoidance
         *
         * @throw ComponentErrors::ComponentErrorsEx
         */
        boolean isTracking() raises (ComponentErrors::ComponentErrorsEx);


        /** This property reports the status of the Supervisor.
         *  The returned pattern is a 3 bits field with the following meaning:
         *
+0 −9
Original line number Diff line number Diff line
@@ -44,10 +44,8 @@ class SupervisorImpl(POA, cc, services, lcycle):
        'supervisorGetSunSafeLimit': ('getSunSafeLimit', ()), 
        'supervisorGetSunDistance': ('getSunDistance', ()),
        'supervisorGetWind': ('getAverageWind', ()),
        'supervisorIsTracking': ('isTracking', ()), 
    }


    def __init__(self):
        cc.__init__(self)
        services.__init__(self)
@@ -61,10 +59,6 @@ class SupervisorImpl(POA, cc, services, lcycle):
            t = Thread(target=thread, daemon=True)
            t.start()

    def initialize(self):
        # addProperty(self, 'status', devio_ref=StatusDevIO())
        pass

    def cleanUp(self):
        self.stop_threads = True

@@ -133,9 +127,6 @@ class SupervisorImpl(POA, cc, services, lcycle):
    def getAverageWind(self):
        return self.wind

    def isTracking(self):
        return True

    def loadWindClient(self):
        try:
            if self.windClient and self.windClient.isLoggedIn():