def setUp(self):
        # We will need a AGProbeAngleLimitCs object, so create one here
        self.angleLimit = AngleLimit.AGProbeAngleLimitCs()
        # Call our parent's setUp method.
        super(AGProbeAngleLimitCsTest, self).setUp()
        self.focalStations = '^CS_'

        self.alarmFuncs['AGProbeAngleLimit_CS'] = {}
        for severity in self.alarmFuncs['AGProbeAngleLimit']:
            self.alarmFuncs['AGProbeAngleLimit_CS'][severity] = self.alarmFuncs['AGProbeAngleLimit'][severity]
Beispiel #2
0
    def setUp(self):
        # We will need a RotAngleLimitP_OPT object, so create one here
        self.angleLimit = AngleLimit.RotAngleLimitP_OPT()
        # Call our parent's setUp method.
        super(RotAngleLimitP_OPTTest, self).setUp()
        self.focalStations = 'P_OPT'

        self.alarmFuncs['RotAngleLimit_P_OPT'] = {}
        for severity in self.alarmFuncs['RotAngleLimit']:
            self.alarmFuncs['RotAngleLimit_P_OPT'][severity] = self.alarmFuncs[
                'RotAngleLimit'][severity]
Beispiel #3
0
    def setUp(self):
        # We will need an AzAngleLimit object, so create one here
        self.angleLimit = AngleLimit.AzAngleLimit()
        super(AzAngleLimitTest, self).setUp()

        self.alarmFuncs = {
            'AzAngleLimit': {
                'WarningLo': self.angleLimit.azAngleLimitWarningLo,
                'CriticalLo': self.angleLimit.azAngleLimitCriticalLo,
                'WarningHi': self.angleLimit.azAngleLimitWarningHi,
                'CriticalHi': self.angleLimit.azAngleLimitCriticalHi
            }
        }