⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 checknowpt.java

📁 基于Java的地图数据管理软件。使用MySQL数据库管理系统。
💻 JAVA
字号:
package net.aetherial.gis.our.auto.extend;

import net.aetherial.gis.our.auto.Auto;
import net.aetherial.gis.our.FrameOur;
import org.w3c.dom.Node;
import net.aetherial.gis.surface.ItemValue;
import java.util.Vector;
import net.aetherial.gis.dataType.GPSFile;
import java.io.File;
import net.aetherial.gis.surface.CreateFile;
import net.aetherial.gis.dataType.WptType;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2004</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class CheckNoWPT extends Auto{
  private String directory = "";
  private String n ="";
  public CheckNoWPT(FrameOur fo) {
    this.setFrameOur(fo);
  }
  public void setSavedDirectory(String path){
    this.directory = path;
  }
  public void checkAllFile() {
    if (super.input == null) {
      print("super.input == null");
      return;
    }
    for (int i = 0; i < this.input.length; i++) {
      this.open(this.input[i]);
      print(this.input[i].getName() + "************************************************");
      this.checkAFile();
      //this.saveMemory(this.directory + this.input[i].getName());
      this.setMemoryReset();
    }
    this.createLog(this.directory + "log//"+ItemValue.getDayTimeNumber() + ".log",this.getlog());
  }
  private void checkAFile(){
    Node[] trk = ItemValue.getTracks();
    Node[] wpt = null;
    for(int i =0;i<trk.length;i++){
      wpt = ItemValue.getTracksWaypoint(trk[i]);
      if(wpt ==null){
        this.print("[" + ItemValue.getTracksName(trk[i]) +"] >>>>>>>>>>>>>>>>>>没有关联的航点!");
      }
    }
  }




}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -