| | |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | System.out.println(staNos1.indexOf(129)); |
| | | System.out.println(staNos1.size()); |
| | | for (int i = 0; i < staNos1.size(); i++) { |
| | | // System.out.println(i*2); |
| | | // System.out.println(i*2 + 200); |
| | | // System.out.println(i); |
| | | } |
| | | int index = staNos1.indexOf(128); |
| | | System.out.println(index * 2); |
| | | System.out.println(index * 2 + 200); |
| | | StaProtocol staProtocol = new StaProtocol(); |
| | | staProtocol.setWorkNo((short) 6071); |
| | | short i = (short) 6071; |
| | | System.out.println(staProtocol.getWorkNo().equals(i)); |
| | | // System.out.println(staNos1.indexOf(129)); |
| | | // System.out.println(staNos1.size()); |
| | | // for (int i = 0; i < staNos1.size(); i++) { |
| | | //// System.out.println(i*2); |
| | | //// System.out.println(i*2 + 200); |
| | | //// System.out.println(i); |
| | | // } |
| | | // int index = staNos1.indexOf(128); |
| | | // System.out.println(index * 2); |
| | | // System.out.println(index * 2 + 200); |
| | | } |
| | | |
| | | // public static void main(String[] args) throws Exception { |