Пример #1
0
  @Override
  public boolean writeInitCheliang() throws RemoteException {
    // TODO Auto-generated method stub
    try {
      BusinessHall fs = new BusinessHall();
      CarMespo[] ap;
      ap = fs.AllSearch();
      if (ap.length == 0) return false;
      else {
        for (int i = 0; i < ap.length; i++) {
          boolean a = fs.addInitCheliang(ap[i]);
          if (a == false) return false;
        }
        HostLog.addMes("进行期初车辆信息设置" + "\n");
        return true;
      }
    } catch (Exception e) {

      e.printStackTrace();
    }
    return false;
  }