| | |
| | | |
| | | private Long codeId; |
| | | |
| | | private Long segId; |
| | | |
| | | private Double[] xy = new Double[2]; |
| | | |
| | | private PosType posType; |
| | |
| | | this.brief = brief; |
| | | } |
| | | |
| | | public static PosType of(String posTypeStr) { |
| | | if (Cools.isEmpty(posTypeStr)) { |
| | | return null; |
| | | } |
| | | for (PosType type : PosType.values()) { |
| | | if (type.toString().equals(posTypeStr)) { |
| | | return type; |
| | | } |
| | | } |
| | | throw new IllegalArgumentException(posTypeStr); |
| | | } |
| | | |
| | | } |
| | | |
| | | public static void packagePosGroup(Map<String, List<TaskPosDto>> groups, Task task, Code code, PosType posType, String sameGroupXy) { |