|
@@ -224,16 +224,16 @@ public class FormulaTurnPoint implements FormulaStrategy {
|
|
|
|
|
|
g8.put("dx", dataFc.apply(e -> TurnPoint.CE.equals(e.getType()),tp -> CustomFunction.xN(tp.getDx(), 1000)));
|
|
|
g8.put("dxv", dataFc.apply(e -> TurnPoint.CE.equals(e.getType()) && e.getVertical(),tp -> CustomFunction.xN(tp.getDx(), 1000)));
|
|
|
- g8.put("dxnv", data.stream().filter(e -> TurnPoint.CE.equals(e.getType()) && !e.getVertical()).map(tp -> CustomFunction.xN(tp.getDx(), 1000)).collect(Collectors.toList()));
|
|
|
- g8.put("sc", data.stream().filter(e -> TurnPoint.CE.equals(e.getType())).map(TurnPoint::getSc).collect(Collectors.toList()));
|
|
|
- g8.put("scv", data.stream().filter(e -> TurnPoint.CE.equals(e.getType()) && e.getVertical()).map(TurnPoint::getSc).collect(Collectors.toList()));
|
|
|
- g8.put("scnv", data.stream().filter(e -> TurnPoint.CE.equals(e.getType()) && !e.getVertical()).map(TurnPoint::getSc).collect(Collectors.toList()));
|
|
|
- g8.put("sj", data.stream().filter(e -> TurnPoint.CE.equals(e.getType())).map(TurnPoint::getSj).collect(Collectors.toList()));
|
|
|
- g8.put("sjv", data.stream().filter(e -> TurnPoint.CE.equals(e.getType()) && e.getVertical()).map(TurnPoint::getSj).collect(Collectors.toList()));
|
|
|
- g8.put("sjnv", data.stream().filter(e -> TurnPoint.CE.equals(e.getType()) && !e.getVertical()).map(TurnPoint::getSj).collect(Collectors.toList()));
|
|
|
- g8.put("cd", data.stream().filter(e -> TurnPoint.CE.equals(e.getType())).map(TurnPoint::getName).collect(Collectors.toList()));
|
|
|
- g8.put("cdv", data.stream().filter(e -> TurnPoint.CE.equals(e.getType()) && e.getVertical()).map(TurnPoint::getName).collect(Collectors.toList()));
|
|
|
- g8.put("cdnv", data.stream().filter(e -> TurnPoint.CE.equals(e.getType()) && !e.getVertical()).map(TurnPoint::getName).collect(Collectors.toList()));
|
|
|
+ g8.put("dxnv", dataFc.apply(e -> TurnPoint.CE.equals(e.getType()) && !e.getVertical(),tp -> CustomFunction.xN(tp.getDx(), 1000)));
|
|
|
+ g8.put("sc", dataFc.apply(e -> TurnPoint.CE.equals(e.getType()),TurnPoint::getSc));
|
|
|
+ g8.put("scv", dataFc.apply(e -> TurnPoint.CE.equals(e.getType()) && e.getVertical(),TurnPoint::getSc));
|
|
|
+ g8.put("scnv", dataFc.apply(e -> TurnPoint.CE.equals(e.getType()) && !e.getVertical(),TurnPoint::getSc));
|
|
|
+ g8.put("sj", dataFc.apply(e -> TurnPoint.CE.equals(e.getType()),TurnPoint::getSj));
|
|
|
+ g8.put("sjv", dataFc.apply(e -> TurnPoint.CE.equals(e.getType()) && e.getVertical(),TurnPoint::getSj));
|
|
|
+ g8.put("sjnv", dataFc.apply(e -> TurnPoint.CE.equals(e.getType()) && !e.getVertical(),TurnPoint::getSj));
|
|
|
+ g8.put("cd",dataFc.apply(e -> TurnPoint.CE.equals(e.getType()),TurnPoint::getName));
|
|
|
+ g8.put("cdv", dataFc.apply(e -> TurnPoint.CE.equals(e.getType()) && e.getVertical(),TurnPoint::getName));
|
|
|
+ g8.put("cdnv", dataFc.apply(e -> TurnPoint.CE.equals(e.getType()) && !e.getVertical(),TurnPoint::getName));
|
|
|
List<NodeTable> nodeTableList=tec.getTableAll();
|
|
|
/*c8.103*/
|
|
|
c8103(data,nodeTableList, tec);
|