private void procFunctions0_4(int currCabId,int c){
  if ((c & NceCmdStationMemory.FUNC_L_F0) != 0) {
    cabData[currCabId].F0=true;
  }
 else {
    cabData[currCabId].F0=false;
  }
  if ((c & NceCmdStationMemory.FUNC_L_F1) != 0) {
    cabData[currCabId].F1=true;
  }
 else {
    cabData[currCabId].F1=false;
  }
  if ((c & NceCmdStationMemory.FUNC_L_F2) != 0) {
    cabData[currCabId].F2=true;
  }
 else {
    cabData[currCabId].F2=false;
  }
  if ((c & NceCmdStationMemory.FUNC_L_F3) != 0) {
    cabData[currCabId].F3=true;
  }
 else {
    cabData[currCabId].F3=false;
  }
  if ((c & NceCmdStationMemory.FUNC_L_F4) != 0) {
    cabData[currCabId].F4=true;
  }
 else {
    cabData[currCabId].F4=false;
  }
}

private void procFunctions0_4 ( int currCabId , int c ) { if ( ( c & NceCmdStationMemory . FUNC_L_F0 ) != 0 ) { cabData [ currCabId ] . F0 = true ; } else { cabData [ currCabId ] . F0 = false ; } if ( ( c & NceCmdStationMemory . FUNC_L_F1 ) != 0 ) { cabData [ currCabId ] . F1 = true ; } else { cabData [ currCabId ] . F1 = false ; } if ( ( c & NceCmdStationMemory . FUNC_L_F2 ) != 0 ) { cabData [ currCabId ] . F2 = true ; } else { cabData [ currCabId ] . F2 = false ; } if ( ( c & NceCmdStationMemory . FUNC_L_F3 ) != 0 ) { cabData [ currCabId ] . F3 = true ; } else { cabData [ currCabId ] . F3 = false ; } if ( ( c & NceCmdStationMemory . FUNC_L_F4 ) != 0 ) { cabData [ currCabId ] . F4 = true ; } else { cabData [ currCabId ] . F4 = false ; } }
process for functions f0 - f4
