| | |
| | | add(1); add(2);add(3);add(4);add(5); |
| | | }}; |
| | | |
| | | public static final ArrayList<Integer> BarcodeList2 = new ArrayList<Integer>() {{ |
| | | /* public static final ArrayList<Integer> BarcodeList2 = new ArrayList<Integer>() {{ |
| | | add(6);add(7);add(8);add(9); |
| | | add(10); add(11); add(12); add(13); |
| | | }}; |
| | | }};*/ |
| | | /*public static final ArrayList<Integer> staNosErrList2 = new ArrayList<Integer>() {{ |
| | | add(102); add(105);add(107);add(109); |
| | | add(203);add(205);add(208);add(211); |
| | |
| | | }}; |
| | | |
| | | public static final ArrayList<Integer> staNoWeight1 = new ArrayList<Integer>() {{ |
| | | add(223);add(225);add(228);add(231); |
| | | add(101);add(102);add(103);add(104);add(105); |
| | | }}; |
| | | |
| | | public static final ArrayList<Integer> staNoWeight2 = new ArrayList<Integer>() {{ |
| | | /*public static final ArrayList<Integer> staNoWeight2 = new ArrayList<Integer>() {{ |
| | | add(102);add(105);add(107);add(109); |
| | | add(203);add(205);add(208);add(211); |
| | | }}; |
| | | }};*/ |
| | | |
| | | private Integer count=0; |
| | | |
| | |
| | | switch (slave.getId()) { |
| | | case 1: |
| | | return staNoWeight1; |
| | | case 2: |
| | | return staNoWeight2; |
| | | /*case 2: |
| | | return staNoWeight2;*/ |
| | | default: |
| | | throw new CoolException("服务器异常"); |
| | | } |
| | |
| | | switch (slave.getId()) { |
| | | case 1: |
| | | return BarcodeList1; |
| | | case 2: |
| | | return BarcodeList2; |
| | | /*case 2: |
| | | return BarcodeList2;*/ |
| | | default: |
| | | throw new CoolException("获取站点失败!"); |
| | | } |