现场调度问题修改
This commit is contained in:
@@ -16,7 +16,7 @@ public class CheckWeight {
|
||||
InputStream is = socket.getInputStream();
|
||||
) {
|
||||
Thread.sleep(300);
|
||||
byte[] bytes = new byte[8];
|
||||
byte[] bytes = new byte[10];
|
||||
int read = is.read(bytes);
|
||||
if (read!=-1){
|
||||
String weight = byteArrayToCharArray(bytes, "UTF-8");
|
||||
|
||||
Reference in New Issue
Block a user