etCarNo() != CarNo) {Р outSide.Push(ca);Р info += "编号为" + ca.getCarNo() + "的车出站让路\n";Р ca = inSide.Pop();Р }Р ca.setOutTime(outTime);Р info += "找到编号为" + ca.getCarNo() + "的车\n";Р // 让车回来Р while (!outSide.isEmpty()) {Р inSide.Push(outSide.Pop());Р }Р info += "停车场剩余位置" + (size1 - inSide.size()) + "\n";Р inSideinfo.setText("还剩" + (size1 - inSide.size()) + "个车位");Р // 如果侯车场有车,让候车区的车停入Р if (!wait.isEmpty()) {Р CarInfo waitIn=wait.deQueue();Р waitIn.setinTime(outTime);Р inSide.Push(waitIn);Р info += "候车场编号为"+waitIn.getCarNo()+"的车进入停车场,侯车场现在有" + wait.size() + "辆车\n";Р inSideinfo.setText("还剩" + (size1 - inSide.size()) + "个车位");Р }Р waitInfo.setText("还剩" + (size2 - wait.size()) + "个位置");Р }Р String[] model=new String[inSide.size()];Р CarInfo[] mod=inSide.toArray();Р for(int i=0;i<inSide.size();i++){