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

📄 createcommand.java

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

import java.io.File;
import net.aetherial.gis.surface.CreateFile;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2004</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class CreateCommand {
  private boolean isCreateXian = false;
  public CreateCommand() {

  }

  public void create_7_路线走向确认表(){
    CommandTxt command = new CommandTxt();
    command.setInputPath("E:\\农村公路通达情况调查\\数据\\报省数据\\通达情况专项调查\\安徽省");
    if (!this.isCreateXian) {
      command.setOutputPath("E:\\核对工作\\程序\\脚本\\分市运行脚本"); //
    }else{
      command.setOutputPath("E:\\核对工作\\程序\\脚本\\分县运行脚本"); //
    }
    command.setShowShi(false);
    command.setShowXian(true);
    command.setFileAddname("走向生成表");
    command.setPara_input("E:\\核对工作\\数据\\操作数据");
    command.setPara_output("E:\\核对工作\\数据\\操作数据");
    command.setJavaClass("net.aetherial.gis.output.toTable.zouxiang.ToZXTable");//
    if (!this.isCreateXian) {
      command.create();
    }else{
      command.createXian();
    }
  }

  public void create调整方向程序(){
    CommandTxt command = new CommandTxt();
    command.setInputPath("E:\\农村公路通达情况调查\\数据\\报省数据\\通达情况专项调查\\安徽省");
    if (!this.isCreateXian) {
      command.setOutputPath("E:\\核对工作\\程序\\脚本\\分市运行脚本"); //
    }else{
      command.setOutputPath("E:\\核对工作\\程序\\脚本\\分县运行脚本"); //
    }

    command.setShowShi(false);
    command.setShowXian(false);
    command.setFileAddname("调整路线走向");
    command.setPara_input("E:\\核对工作\\数据\\操作数据");
    command.setPara_output("E:\\核对工作\\数据\\临时数据");
    command.setJavaClass("net.aetherial.gis.jiaotongbu.input.publicuse.ReFangxiang");//
    if (!this.isCreateXian) {
      command.create();
    }else{
      command.createXian();
    }


  }
  public void create_5_异型路及断头路表(){
    CommandTxt command = new CommandTxt();
    command.setInputPath("E:\\农村公路通达情况调查\\数据\\报省数据\\通达情况专项调查\\安徽省");
    if (!this.isCreateXian) {
      command.setOutputPath("E:\\核对工作\\程序\\脚本\\分市运行脚本"); //
    }else{
      command.setOutputPath("E:\\核对工作\\程序\\脚本\\分县运行脚本"); //
    }

    command.setShowShi(false);
    command.setShowXian(false);
    command.setFileAddname("异型路及图片");
    command.setPara_input("E:\\核对工作\\数据\\操作数据");
    command.setPara_output("E:\\核对工作\\数据\\操作数据");
    command.setJavaClass("net.aetherial.gis.our.search.Search");//
    if (!this.isCreateXian) {
      command.create();
    }else{
      command.createXian();
    }

  }

  public void create_行政村统计(){
    CommandTxt command = new CommandTxt();
    command.setInputPath("E:\\农村公路通达情况调查\\数据\\报省数据\\村村通数据\\安徽省");
    if (!this.isCreateXian) {
      command.setOutputPath("E:\\核对工作\\程序\\脚本\\分市运行脚本"); //
    }else{
      command.setOutputPath("E:\\核对工作\\程序\\脚本\\分县运行脚本"); //
    }

    command.setShowShi(false);
    command.setShowXian(true);
    command.setFileAddname("行政村统计");
    command.setPara_input("E:\\核对工作\\数据\\操作数据");
    command.setPara_output("E:\\核对工作\\数据\\操作数据");
    command.setJavaClass("net.aetherial.gis.test.tongji.ToTongji");//
    if (!this.isCreateXian) {
      command.create();
    }else{
      command.createXian();
    }

  }


  public void create_qiaoliang(){
    CommandTxt command = new CommandTxt();
    command.setInputPath("E:\\农村公路通达情况调查\\数据\\报省数据\\通达情况专项调查\\安徽省");
    if (!this.isCreateXian) {
      command.setOutputPath("E:\\核对工作\\程序\\脚本\\分市运行脚本"); //
    }else{
      command.setOutputPath("E:\\核对工作\\程序\\脚本\\分县运行脚本"); //
    }

    command.setShowShi(true);
    command.setShowXian(true);
    command.setFileAddname("桥梁生成表");
    command.setPara_input("E:\\核对工作\\数据\\操作数据");
    command.setPara_output("E:\\核对工作\\数据\\操作数据");
    command.setJavaClass("net.aetherial.gis.jiaotongbu.output.publicuse.CreateQSD");//
    if (!this.isCreateXian) {
      command.create();
    }else{
      command.createXian();
    }

  }

  public void create_Reqiaoliang(){
    CommandTxt command = new CommandTxt();
    command.setInputPath("E:\\农村公路通达情况调查\\数据\\报省数据\\通达情况专项调查\\安徽省");
    if (!this.isCreateXian) {
      command.setOutputPath("E:\\核对工作\\程序\\脚本\\分市运行脚本"); //
    }else{
      command.setOutputPath("E:\\核对工作\\程序\\脚本\\分县运行脚本"); //
    }

    command.setShowShi(true);
    command.setShowXian(true);
    command.setFileAddname("桥梁校正数据后再生成表");
    command.setPara_input("E:\\核对工作\\数据\\临时数据");
    command.setPara_output("E:\\核对工作\\数据\\临时数据");
    command.setJavaClass("net.aetherial.gis.jiaotongbu.output.publicuse.ReCreateQSD");//
    if (!this.isCreateXian) {
      command.create();
    }else{
      command.createXian();
    }

  }

  public void create_补充桥梁数据(){
      CommandTxt command = new CommandTxt();
      command.setInputPath("E:\\农村公路通达情况调查\\数据\\报省数据\\通达情况专项调查\\安徽省");
      if (!this.isCreateXian) {
        command.setOutputPath("E:\\核对工作\\程序\\脚本\\分市运行脚本"); //
      }else{
        command.setOutputPath("E:\\核对工作\\程序\\脚本\\分县运行脚本"); //
      }

      command.setShowShi(true);
      command.setShowXian(true);
      command.setFileAddname("补充桥梁数据");
      command.setPara_input("E:\\核对工作\\数据\\操作数据");
      command.setPara_output("E:\\核对工作\\数据\\临时数据");
      command.setJavaClass("net.aetherial.gis.jiaotongbu.input.publicuse.QiaoliangToGPS");//
      if (!this.isCreateXian) {
        command.create();
      }else{
        command.createXian();
      }

  }

  public void setIsCreateXian(boolean isCreateXian) {
    this.isCreateXian = isCreateXian;
  }


  public static void main(String args[]) {
    CreateCommand cc = new CreateCommand();
    cc.setIsCreateXian(true);
    cc.create_补充桥梁数据();

  }
}

⌨️ 快捷键说明

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