| | |
| | | dataBytes[6] = rfidBytes[13]; |
| | | dataBytes[7] = rfidBytes[14]; |
| | | String str = new String(dataBytes); |
| | | String barcode = new String(rfidBytes,7,8); |
| | | System.out.println(str); |
| | | } |
| | | |
| | | String aa= "ILY0127 0001"; |
| | | byte[] byteAa = aa.getBytes(); |
| | | |
| | | byte[] bytes = new byte[]{(byte)0x82, 0x38, 0x30, 0x32, 0x34, 0x30, 0x38, 0x39, 0x3B, 0x30, 0x31, 0x31, 0x31, |
| | | 0x30, 0x33, 0x30, 0x38, 0x31, 0x30, 0x30, 0x34, 0x30, 0x38, 0x38, 0x30, (byte)0x83}; |
| | |
| | | //消防IO点编号 |
| | | String fireNo = fire3030.getNo().toString() + fire3030.getLoop().toString() + fire3030.getPartNo().toString(); |
| | | System.out.println(fireNo); |
| | | String aa=""; |
| | | } |
| | | } |