resuidao.java

来自「基于Java的地图数据管理软件。使用MySQL数据库管理系统。」· Java 代码 · 共 49 行

JAVA
49
字号
package net.aetherial.gis.jiaotongbu.output.tocheck.type;

import net.aetherial.gis.jiaotongbu.output.type.Suidao;
import org.w3c.dom.Node;
import net.aetherial.gis.publicuse.wpt.getWptZhuanghao;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2004</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
public class ReSuidao extends Suidao{
  public ReSuidao(Node wpt) {
    super(wpt);
  }

  private String getRefZhuanghao(){
    getWptZhuanghao getzhuanghao = new getWptZhuanghao();
    getzhuanghao.setWaypoint(this.wpt);
    getzhuanghao.setTrack(this.hisTrack);

    return getzhuanghao.getWaypointZhuanghao();
  }

  private String getLXbianma(String sdBianma) {
    if (sdBianma.equals("")) {
      return "";
    }
    else {
      try {
        return sdBianma.substring(0, 10);
      }
      catch (Exception ex) {
        return "";
      }
    }

  }


}

⌨️ 快捷键说明

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