| | |
| | | private String returnPointCoordinates; |
| | | // 往返路径坐标(割草机完成割草作业返回的路径坐标,格式:X1,Y1;X2,Y2;...;XN,YN) |
| | | private String returnPathCoordinates; |
| | | // 往返路径原始坐标 |
| | | private String returnPathRawCoordinates; |
| | | // 边界点间隔 |
| | | private String boundaryPointInterval; |
| | | // 角度阈值 |
| | |
| | | dikuai.plannedPath = landProps.getProperty("plannedPath", "-1"); |
| | | dikuai.returnPointCoordinates = landProps.getProperty("returnPointCoordinates", "-1"); |
| | | dikuai.returnPathCoordinates = landProps.getProperty("returnPathCoordinates", "-1"); |
| | | dikuai.returnPathRawCoordinates = landProps.getProperty("returnPathRawCoordinates", "-1"); |
| | | dikuai.boundaryPointInterval = landProps.getProperty("boundaryPointInterval", "-1"); |
| | | dikuai.angleThreshold = landProps.getProperty("angleThreshold", "-1"); |
| | | dikuai.intelligentSceneAnalysis = landProps.getProperty("intelligentSceneAnalysis", "-1"); |
| | |
| | | case "returnPathCoordinates": |
| | | this.returnPathCoordinates = value; |
| | | return true; |
| | | case "returnPathRawCoordinates": |
| | | this.returnPathRawCoordinates = value; |
| | | return true; |
| | | case "boundaryPointInterval": |
| | | this.boundaryPointInterval = value; |
| | | return true; |
| | |
| | | if (dikuai.plannedPath != null) properties.setProperty(landNumber + ".plannedPath", dikuai.plannedPath); |
| | | if (dikuai.returnPointCoordinates != null) properties.setProperty(landNumber + ".returnPointCoordinates", dikuai.returnPointCoordinates); |
| | | if (dikuai.returnPathCoordinates != null) properties.setProperty(landNumber + ".returnPathCoordinates", dikuai.returnPathCoordinates); |
| | | if (dikuai.returnPathRawCoordinates != null) properties.setProperty(landNumber + ".returnPathRawCoordinates", dikuai.returnPathRawCoordinates); |
| | | if (dikuai.boundaryPointInterval != null) properties.setProperty(landNumber + ".boundaryPointInterval", dikuai.boundaryPointInterval); |
| | | if (dikuai.angleThreshold != null) properties.setProperty(landNumber + ".angleThreshold", dikuai.angleThreshold); |
| | | if (dikuai.intelligentSceneAnalysis != null) properties.setProperty(landNumber + ".intelligentSceneAnalysis", dikuai.intelligentSceneAnalysis); |
| | |
| | | this.returnPathCoordinates = returnPathCoordinates; |
| | | } |
| | | |
| | | public String getReturnPathRawCoordinates() { |
| | | return returnPathRawCoordinates; |
| | | } |
| | | |
| | | public void setReturnPathRawCoordinates(String returnPathRawCoordinates) { |
| | | this.returnPathRawCoordinates = returnPathRawCoordinates; |
| | | } |
| | | |
| | | public String getBoundaryPointInterval() { |
| | | return boundaryPointInterval; |
| | | } |
| | |
| | | ", plannedPath='" + plannedPath + '\'' + |
| | | ", returnPointCoordinates='" + returnPointCoordinates + '\'' + |
| | | ", returnPathCoordinates='" + returnPathCoordinates + '\'' + |
| | | ", returnPathRawCoordinates='" + returnPathRawCoordinates + '\'' + |
| | | ", boundaryPointInterval='" + boundaryPointInterval + '\'' + |
| | | ", angleThreshold='" + angleThreshold + '\'' + |
| | | ", intelligentSceneAnalysis='" + intelligentSceneAnalysis + '\'' + |