| | |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | @Override |
| | | public void readDatData() throws Exception { |
| | | File file2d = new File(datFilePathConfig.getFilePath2d()); |
| | |
| | | public List<MonitorPointPosition> getCheckPoints2d() { |
| | | return checkPoints2d; |
| | | } |
| | | |
| | | public List<MonitorPointPosition> getCheckPoints3d() { |
| | | return checkPoints3d; |
| | | } |
| | |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public MonitorPointPosition select3dCheckPointByName(String name) { |
| | | for (MonitorPointPosition monitorPointPosition : checkPoints3d) { |
| | |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public MonitorPointPosition select2dCheckPointById(String id) { |
| | | for (MonitorPointPosition monitorPointPosition : checkPoints2d) { |
| | |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | @Override |
| | | public MonitorPointPosition select3dCheckPointById(String id) { |
| | | for (MonitorPointPosition monitorPointPosition : checkPoints3d) { |
| | | if (monitorPointPosition.getId().equals(id)) { |
| | | //if (monitorPointPosition.getId().equals(id)) { |
| | | String subId = id.substring(0, id.lastIndexOf("_") + 1); |
| | | if (monitorPointPosition.getId().contains(subId)) { |
| | | return monitorPointPosition; |
| | | } |
| | | } |