| | |
| | | |
| | | //问题2 周俊杰 |
| | | public static final List<Integer> MERGE_STA_NO_One = new ArrayList<Integer>() {{ |
| | | add(113);add(119); |
| | | // add(113);add(119); |
| | | }}; |
| | | |
| | | public static final List<Integer> MERGE_STA_NO_TWO = new ArrayList<Integer>() {{ |
| | | // add(116);add(117); |
| | | // add(100);add(101); |
| | | }}; |
| | | |
| | | public static final List<Integer> MERGE_STA_NO_THREE = new ArrayList<Integer>() {{ |
| | | // add(116);add(117); |
| | | // add(106);add(107); |
| | | }}; |
| | | |
| | | public static final List<Integer> MERGE_STA_NO_FOUR = new ArrayList<Integer>() {{ |
| | |
| | | |
| | | // 正序 |
| | | public static final List<Integer> TRACK_POSITION_POSITIVE_SEQUENCE = new ArrayList<Integer>() {{ |
| | | add(161);add(157);add(153);add(149);add(124);add(119);add(113);add(112);add(107);add(106);add(101);add(100); |
| | | add(161);add(157);add(153);add(149);add(119);add(124);add(113);add(112);add(107);add(106);add(101);add(100); |
| | | }}; |
| | | // 反序 |
| | | public static final List<Integer> TRACK_POSITION_REVERSE_SEQUENCE = new ArrayList<Integer>() {{ |
| | | add(100);add(101);add(106);add(107);add(112);add(113);add(119);add(124);add(149);add(153);add(157);add(161); |
| | | add(100);add(101);add(106);add(107);add(112);add(113);add(124);add(119);add(149);add(153);add(157);add(161); |
| | | }}; |
| | | |
| | | public static String zerofill(String msg, Integer count){ |
| | |
| | | } |
| | | |
| | | public static Short CrnStaEnd(Integer endSta,Integer souSta) { |
| | | if (souSta == 118){ |
| | | return (short)119; |
| | | } |
| | | switch (endSta) { |
| | | case 100: |
| | | return (short)149; |
| | | case 102: |
| | | case 111: |
| | | if (souSta == 118 || souSta == 127){ |
| | | return (short)119; |
| | | } |
| | | return 149; |
| | | default: |
| | | return endSta.shortValue(); |