tool/CommandConfig.cpp
changeset 1148 1762296870bd
parent 1147 0eac1ee8512a
child 1156 ecaf2a896ea3
equal deleted inserted replaced
1147:0eac1ee8512a 1148:1762296870bd
   126             << "Attached slave: ";
   126             << "Attached slave: ";
   127         
   127         
   128         if (configIter->slave_position != -1) {
   128         if (configIter->slave_position != -1) {
   129             m.getSlave(&slave, configIter->slave_position);
   129             m.getSlave(&slave, configIter->slave_position);
   130             cout << configIter->slave_position
   130             cout << configIter->slave_position
   131                 << " (" << alStateString(slave.state) << ")" << endl;
   131                 << " (" << alStateString(slave.al_state) << ")" << endl;
   132         } else {
   132         } else {
   133             cout << "none" << endl;
   133             cout << "none" << endl;
   134         }
   134         }
   135 
   135 
   136         for (j = 0; j < EC_MAX_SYNC_MANAGERS; j++) {
   136         for (j = 0; j < EC_MAX_SYNC_MANAGERS; j++) {
   243             str << configIter->slave_position;
   243             str << configIter->slave_position;
   244             info.slavePos = str.str();
   244             info.slavePos = str.str();
   245             str.clear();
   245             str.clear();
   246             str.str("");
   246             str.str("");
   247 
   247 
   248             str << alStateString(slave.state);
   248             str << alStateString(slave.al_state);
   249             info.state = str.str();
   249             info.state = str.str();
   250             str.clear();
   250             str.clear();
   251             str.str("");
   251             str.str("");
   252         } else {
   252         } else {
   253             str << "-";
   253             str << "-";