Пример #1
0
    def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice,
                 execparams):
        print("--> AVS4000_base.__init__()")

        FrontendTunerDevice.__init__(self, devmgr, uuid, label,
                                     softwareProfile, compositeDevice,
                                     execparams)
        ThreadedComponent.__init__(self)

        self.listeners = {}
        # self.auto_start is deprecated and is only kept for API compatibility
        # with 1.7.X and 1.8.0 devices.  This variable may be removed
        # in future releases
        self.auto_start = False
        # Instantiate the default implementations for all ports on this device
        self.port_RFInfo_in = frontend.InRFInfoPort("RFInfo_in", self)
        self.port_RFInfo_in._portLog = self._baseLog.getChildLogger(
            'RFInfo_in', 'ports')
        self.port_DigitalTuner_in = frontend.InDigitalTunerPort(
            "DigitalTuner_in", self)
        self.port_DigitalTuner_in._portLog = self._baseLog.getChildLogger(
            'DigitalTuner_in', 'ports')
        self.port_dataShort_out = bulkio.OutShortPort("dataShort_out")
        self.port_dataShort_out._portLog = self._baseLog.getChildLogger(
            'dataShort_out', 'ports')
        self.device_kind = "FRONTEND::TUNER"
        self.device_model = "AVS-4000"
        self.frontend_listener_allocation = frontend.fe_types.frontend_listener_allocation(
        )
        self.frontend_tuner_allocation = frontend.fe_types.frontend_tuner_allocation(
        )

        print("<-- AVS4000_Base.__init__()")
Пример #2
0
    def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice,
                 execparams):
        FrontendTunerDevice.__init__(self, devmgr, uuid, label,
                                     softwareProfile, compositeDevice,
                                     execparams)
        ThreadedComponent.__init__(self)

        self.listeners = {}
        # self.auto_start is deprecated and is only kept for API compatibility
        # with 1.7.X and 1.8.0 devices.  This variable may be removed
        # in future releases
        self.auto_start = False
        # Instantiate the default implementations for all ports on this device
        self.port_RFInfo_in = frontend.InRFInfoPort("RFInfo_in", self)
        self.port_DigitalTuner_in = frontend.InDigitalScanningTunerPort(
            "DigitalTuner_in", self)
        self.port_GPS_in = frontend.InGPSPort("GPS_in", self)
        self.port_NavData_in = frontend.InNavDataPort("NavData_in", self)
        self.port_RFSource_in = frontend.InRFSourcePort("RFSource_in", self)
        self.port_dataDouble_out = bulkio.OutDoublePort("dataDouble_out")
        self.addPropertyChangeListener('connectionTable',
                                       self.updated_connectionTable)
        self.device_kind = "FRONTEND::TUNER"
        self.frontend_listener_allocation = frontend.fe_types.frontend_listener_allocation(
        )
        self.frontend_tuner_allocation = frontend.fe_types.frontend_tuner_allocation(
        )
 def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams):
     FrontendTunerDevice.__init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams)
     self.threadControlLock = threading.RLock()
     self.process_thread = None
     # self.auto_start is deprecated and is only kept for API compatibility
     # with 1.7.X and 1.8.0 devices.  This variable may be removed
     # in future releases
     self.auto_start = False
        def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams):
            FrontendTunerDevice.__init__(self, devmgr, uuid, label, softwareProfile, compositeDevice, execparams)
            ThreadedComponent.__init__(self)

            self.listeners={}
            # self.auto_start is deprecated and is only kept for API compatibility
            # with 1.7.X and 1.8.0 devices.  This variable may be removed
            # in future releases
            self.auto_start = False
            # Instantiate the default implementations for all ports on this device
            self.port_RFInfo_in = frontend.InRFInfoPort("RFInfo_in", self)
            self.port_DigitalTuner_in = frontend.InDigitalTunerPort("DigitalTuner_in", self)
            self.port_dataShort_out = bulkio.OutShortPort("dataShort_out",logger=self._log)
            self.addPropertyChangeListener('connectionTable',self.updated_connectionTable)
            self.device_kind = "FRONTEND::TUNER"
            self.frontend_listener_allocation = frontend.fe_types.frontend_listener_allocation()
            self.frontend_tuner_allocation = frontend.fe_types.frontend_tuner_allocation()
Пример #5
0
    def __init__(self, devmgr, uuid, label, softwareProfile, compositeDevice,
                 execparams):
        FrontendTunerDevice.__init__(self, devmgr, uuid, label,
                                     softwareProfile, compositeDevice,
                                     execparams)
        ThreadedComponent.__init__(self)

        self.listeners = {}
        # self.auto_start is deprecated and is only kept for API compatibility
        # with 1.7.X and 1.8.0 devices.  This variable may be removed
        # in future releases
        self.auto_start = False
        # Instantiate the default implementations for all ports on this device
        self.port_RFInfo_in = frontend.InRFInfoPort("RFInfo_in")
        self.port_AnalogTuner_in = frontend.InAnalogTunerPort("AnalogTuner_in")
        self.port_RFInfo_out = frontend.OutRFInfoPort("RFInfo_out")
        self.device_kind = "FRONTEND::TUNER"
        self.frontend_listener_allocation = frontend.fe_types.frontend_listener_allocation(
        )
        self.frontend_tuner_allocation = frontend.fe_types.frontend_tuner_allocation(
        )