Changeset 5282 for trunk/MagicSoft


Ignore:
Timestamp:
10/18/04 18:47:17 (20 years ago)
Author:
merck
Message:
MMerck: Changed format of report to CC to include flag indicating
MMerck: infinity focusing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/amcreportsocket.cpp

    r3401 r5282  
    1414extern AMCState*        g_pAMCState;
    1515extern HEATState* g_pHEATState;
     16extern bool                             g_zInfinityFocus;
    1617
    1718//////////////////////////////////////////////////////////////////////
     
    123124        QString cmd;
    124125        QDateTime amcTime = QDateTime::currentDateTime();
    125         cmd.sprintf("AMC-REPORT %02d %04d %02d %02d %02d %02d %02d %03d %02d %04d %02d %02d %02d %02d %02d %03d %02d PANELS %03d %03d OVER\n",
     126        cmd.sprintf("AMC-REPORT %02d %04d %02d %02d %02d %02d %02d %03d %02d %04d %02d %02d %02d %02d %02d %03d %02d PANELS %03d %03d INF %01d OVER\n",
    126127                                 g_pAMCState->getState(),
    127128                                 amcTime.date().year(), amcTime.date().month(), amcTime.date().day(),
     
    132133         m_qtComTime.time().msec(),
    133134                                 g_pHEATState->getState(),
    134                                  g_pAMCState->installedPanels(), g_pAMCState->errorPanels() );
     135                                 g_pAMCState->installedPanels(), g_pAMCState->errorPanels(),
     136         ( g_zInfinityFocus ? 1 : 0 ) );
    135137        emit reportDelivered( amcTime, cmd );
    136138        if( m_zConnected )
Note: See TracChangeset for help on using the changeset viewer.