| | |
| | | agvTaskParam.setTaskPriority(agvWrkMast.getIoPri().intValue()); |
| | | |
| | | //AgvTaskkDescribeParam |
| | | if(agvWrkMast.getSourceLocNo().contains("C")){ |
| | | if(agvWrkMast.getSourceLocNo().contains("CS") || agvWrkMast.getSourceLocNo().contains("SK")){ |
| | | agvTaskkDescribeParam.setFromLocationCode(agvWrkMast.getSourceLocNo()); |
| | | } |
| | | agvTaskkDescribeParam.setFromLocationCode(agvWrkMast.getSourceLocNo()); |
| | | agvTaskkDescribeParam.setToLocationCode(agvWrkMast.getLocNo()); |
| | | agvTaskkDescribeParam.setContainerCode(agvWrkMast.getBarcode()); |
| | | return agvTaskParam; |
| | |
| | | ); |
| | | } |
| | | |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | String locationCode = "301-1"; |
| | | if(locationCode.contains("C")){ |
| | | System.out.println(true); |
| | | }else { |
| | | System.out.println(false); |
| | | } |
| | | } |
| | | |
| | | } |