| | |
| | | /** |
| | | * 5.属性检查:*dlg*.gdb + *地形图*.dwg |
| | | */ |
| | | public void checkAttrs(FmeReqEntity fme, HttpServletRequest req) { |
| | | public String checkAttrs(FmeReqEntity fme, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/A5成果质检_属性检查", req); |
| | | |
| | | List<NameValueEntity> list = getKeyValues(fme.name); |
| | | list.add(new NameValueEntity("XMMC", fme.xmmc)); |
| | | list.add(new NameValueEntity("SJZY", fme.sjzy)); |
| | | list.add(new NameValueEntity("GCXMYSB", fme.zipPath)); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |
| | | * 6.拓扑检查:*地形图*.dwg |
| | | */ |
| | | public void checkTopology(FmeReqEntity fme, HttpServletRequest req) { |
| | | public String checkTopology(FmeReqEntity fme, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/A4成果质检_拓扑检查", req); |
| | | |
| | | List<NameValueEntity> list = getKeyValues(fme.name); |
| | | list.add(new NameValueEntity("XMMC", fme.xmmc)); |
| | | list.add(new NameValueEntity("GCXMYSB", fme.zipPath)); |
| | | list.add(new NameValueEntity("S_MCDRC", fme.polyTolerance)); |
| | | list.add(new NameValueEntity("S_XCDRC", fme.lineTolerance)); |
| | | list.add(new NameValueEntity("S_DCDRC", fme.pointTolerance)); |
| | | list.add(new NameValueEntity("OFFSET_GCD", fme.gcdOffset)); |
| | | list.add(new NameValueEntity("OFFSET_KZD", fme.kzdOffset)); |
| | | list.add(new NameValueEntity("Range_OFFSET", fme.rangeOffset)); |
| | | list.add(new NameValueEntity("XG_MAX", fme.xgMax)); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |
| | | * 7.图面整饰检查:.dwg |
| | | */ |
| | | public void checkDecorate(FmeReqEntity fme, HttpServletRequest req) { |
| | | public String checkDecorate(FmeReqEntity fme, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/A10成果质检_图面整饰检查", req); |
| | | |
| | | List<NameValueEntity> list = getKeyValues(fme.name); |
| | | list.add(new NameValueEntity("XMMC", fme.xmmc)); |
| | | list.add(new NameValueEntity("GCXMYSB", fme.zipPath)); |
| | | list.add(new NameValueEntity("S_XLS2", fme.xlsList)); |
| | | list.add(new NameValueEntity("S_XLS", "$(OrgUserStorage)\\质检配置文件\\质检配置表总.xlsx")); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |
| | | * 8.原点检查:*剖面图*.dwg |
| | | */ |
| | | public void checkOrigin(FmeReqEntity fme, HttpServletRequest req) { |
| | | public String checkOrigin(FmeReqEntity fme, HttpServletRequest req) { |
| | | String url = getUrl("datax/task/run/A11成果质检_原点检查", req); |
| | | |
| | | List<NameValueEntity> list = getKeyValues(fme.name); |
| | | list.add(new NameValueEntity("XMMC", fme.xmmc)); |
| | | list.add(new NameValueEntity("GCXMYSB", fme.zipPath)); |
| | | |
| | | return RestHelper.postForRest(url, list); |
| | | } |
| | | |
| | | /** |