function update_aircraft_eids() {
  for(var i=0; i<prop.aircraft.list.length; i++) {
    prop.aircraft.list[i].eid = i;  // update eid in aircraft
    prop.aircraft.list[i].fms.my_aircrafts_eid = i; // update eid in aircraft's fms
  }
}
// adjust all aircraft's eid values
adjust all aircraft's eid values
adjust all aircraft ' s eid values
function update_aircraft_eids() {
  for(var i=0; i<prop.aircraft.list.length; i++) {
    prop.aircraft.list[i].eid = i;  
    prop.aircraft.list[i].fms.my_aircrafts_eid = i; 's fms
  }
}
function update_aircraft_eids ( ) { for ( var i = 0 ; i < prop . aircraft . list . length ; i ++ ) { prop . aircraft . list [ i ] . eid = i ; prop . aircraft . list [ i ] . fms . my_aircrafts_eid = i ; } }
adjust all aircraft's eid values
adjust all aircraft ' s eid values
// update eid in aircraft // update eid in aircraft's fms