📄 leresult.java
字号:
/**
* 定位引擎返回的结果类型
* @author chenxin
* @version1.0
*/
package ffcs.lbp.common;
import ffcs.lbp.le.message.tlv.TLVTable;
public class LeResult {
private String Isdn ="";
private int RetType;
private int ShapeType;
private String ShapeDesc=null;
public static final int Shape =0;//数字描述(几何形状表示的范围)
public static final int Text =1;//文本描述
public static final int Shape_Text =2;//数字+文本
public static final int Image =3;//图片描述
public static final int Shape_Image =4;//数字+图形
public static final int Text_Image =5;//文本+图形
public static final int Shape_Text_Image =6;//数字+文本+图形
public static final int Run_test_desc =7;//拨测的数字描述
public static final int Follow_desc =8;//跟踪的数字描述
public static final int Error =9;//错误
public static final int Point =0;//点
public static final int LineString =1;//折线
public static final int Polygon =2;//多边形
public static final int Box =3; //矩形
public static final int CircularArea =4;//环
public static final int CircularArcArea =5;//扇
public static final int EllipticalArea =6;//椭圆
public static final int GeometryCollection =7;//地理集合
public static final int MultiLineString =8;//多个折线
public static final int MultiPoint =9;//多个点
public static final int MultiPolygon =10;//多个多边形
public static final int Round =11;//圆
public LeResult() {
}
public LeResult(String isdn,int rettype,int shapetype,String shapedesc) {
this.Isdn=isdn;
this.RetType=rettype;
this.ShapeType=shapetype;
this.ShapeDesc=shapedesc;
}
/**
* @param args
*/
public static void main(String[] args) {
}
public String getIsdn() {
return Isdn;
}
public void setIsdn(String isdn) {
Isdn = isdn;
}
public int getRetType() {
return RetType;
}
public void setRetType(int retType) {
RetType = retType;
}
public String getShapeDesc() {
return ShapeDesc;
}
public void setShapeDesc(String shapeDesc) {
ShapeDesc = shapeDesc;
}
public int getShapeType() {
return ShapeType;
}
public void setShapeType(int shapeType) {
ShapeType = shapeType;
}
public String toString() {
StringBuffer sb=new StringBuffer("LeResult:");
sb.append(super.toString());
sb.append("Isdn");
sb.append("=");
sb.append(Isdn);
sb.append(" ");
sb.append("RetType");
sb.append("=");
sb.append(RetType);
sb.append(" ");
sb.append("ShapeType");
sb.append("=");
sb.append(ShapeType);
sb.append(" ");
sb.append("ShapeDesc");
sb.append("=");
sb.append(ShapeDesc);
sb.append(" ");
return sb.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -