Changeset 153 in tmcsimulator for branches/BasicFEPClient/DataPacker.cpp


Ignore:
Timestamp:
10/20/2017 12:46:53 PM (9 years ago)
Author:
jtorres
Message:

BasicFEPClient now showing single yellow dot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BasicFEPClient/DataPacker.cpp

    r142 r153  
    6262                else 
    6363                    return -1; 
    64  
     64                 
     65                // if we have data (strcmp returns 0 if a string match) 
    6566                if (haveData == 0) { 
    6667                    LOOP *currLoop = station->loops.at(lane); 
    6768                    vol = currLoop->vol; 
    6869                    occ = (int) (currLoop->occ * 900 + 0.5); 
    69  
     70                    cout << "Volume: " << vol << endl; 
     71                    cout << "OCC : " << occ << endl; 
    7072                    VOLOCC packedVOLOCC = packVOLOCC(vol, occ); 
    7173                    pos++; 
     
    7375                    pos++; 
    7476                    msg[pos - 1] = packedVOLOCC.low; 
    75  
     77                     
    7678                    if (packNo == 5) { 
    7779                        station->MlTotVol += vol; 
Note: See TracChangeset for help on using the changeset viewer.