| | |
| | | |
| | | private String ip; |
| | | private int port; |
| | | private String mapPath;//绝对路径包含文件名的path |
| | | private String carPath;//绝对路径包含文件名的path |
| | | |
| | | public static ExamPlatformData getInstance() { |
| | | return ourInstance; |
| | |
| | | public int getExam_id() { |
| | | return exam_id; |
| | | } |
| | | |
| | | public void setNewMapPath(String path) { |
| | | this.mapPath = path; |
| | | SPUtils.put(app.getAppContext(),SPUtils.MAP_PATH,mapPath); |
| | | } |
| | | |
| | | public String getMapPath(){ |
| | | mapPath = (String) SPUtils.get(app.getAppContext(),SPUtils.MAP_PATH,""); |
| | | return mapPath; |
| | | } |
| | | |
| | | /** |
| | | * 设置保存地图模型文件(坐标点—)的路径 |
| | | * @param car_path |
| | | */ |
| | | public void setCarModelPath(String car_path) { |
| | | this.carPath = car_path; |
| | | SPUtils.put(app.getAppContext(),SPUtils.CAR_PATH,car_path); |
| | | } |
| | | |
| | | public String getCarModelPath(){ |
| | | carPath = (String) SPUtils.get(app.getAppContext(),SPUtils.CAR_PATH,""); |
| | | return carPath; |
| | | } |
| | | } |