Changeset 14415 for trunk/FACT++/src


Ignore:
Timestamp:
09/19/12 21:21:26 (12 years ago)
Author:
tbretz
Message:
Better check for outside temperature difference warning; fixed the 'Idle []' problem
File:
1 edited

Legend:

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

    r14372 r14415  
    22712271                           "Wind gusts exceed 50km/h during tracking");
    22722272
    2273         newerr |= SetError(fFscControlTemperatureHist.size()>0 && fFscControlTemperatureHist.back()>8,
     2273        newerr |= SetError(fDimFscControl.state()>=FSC::State::kConnected && fFscControlTemperatureHist.size()>0 && fFscControlTemperatureHist.back()>8,
    22742274                           "Sensor temperature exceeds outside temperature by more than 8°C");
    22752275
     
    23832383            if (!other)
    23842384            {
     2385                const string conf = fMcpConfigurationName.length()>0?" ["+fMcpConfigurationName+"]":"";
    23852386                switch (fMcpConfigurationState)
    23862387                {
    23872388                case MCP::State::kIdle:
    2388                     out << "Idle [" << fMcpConfigurationName << "]";
     2389                    out << "Idle" << conf;
    23892390                    break;
    23902391                case MCP::State::kConfiguring1:
    23912392                case MCP::State::kConfiguring2:
    23922393                case MCP::State::kConfiguring3:
    2393                     out << "Configuring [" << fMcpConfigurationName << "]";
     2394                    out << "Configuring" << conf;
    23942395                    break;
    23952396                case MCP::State::kConfigured:
    2396                     out << "Configured [" << fMcpConfigurationName << "]";
     2397                    out << "Configured" << conf;
    23972398                    break;
    23982399                case MCP::State::kTriggerOn:
Note: See TracChangeset for help on using the changeset viewer.