Ignore:
Timestamp:
06/07/12 16:22:30 (12 years ago)
Author:
tbretz
Message:
Do not display bias current warnings if bias crate is switched off.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/smartfact.cc

    r14110 r14111  
    22142214
    22152215            string col = fBiasControlVoltageMed>3?HTML::kGreen:HTML::kWhite;
    2216             if (fBiasControlCurrentMed>60 || fBiasControlCurrentMax>80)
    2217                 col = HTML::kYellow;
    2218             if (fBiasControlCurrentMed>70 || fBiasControlCurrentMax>90)
    2219                 col = HTML::kRed;
     2216            if (fDimBiasControl.state()!=BIAS::State::kVoltageOff)
     2217            {
     2218                if (fBiasControlCurrentMed>60 || fBiasControlCurrentMax>80)
     2219                    col = HTML::kYellow;
     2220                if (fBiasControlCurrentMed>70 || fBiasControlCurrentMax>90)
     2221                    col = HTML::kRed;
     2222            }
    22202223
    22212224            // Bias in overcurrent => Red
Note: See TracChangeset for help on using the changeset viewer.