#
whycq
2024-08-16 dbeb3dd2e88d28da73ebc1f6843355fb51e5603f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.example.agvcontroller.protocol;
 
 
import java.io.Serializable;
 
/**
 * 应答正常包
 * Created by vincent on 2023/3/16
 */
public class AGV_A1_DOWN implements IMessageBody, Serializable {
 
    private static final long serialVersionUID = -1744072958515341165L;
 
    @Override
    public byte[] writeToBytes() {
        return Utils.merge(ackSign, Utils.reverse(temp));
    }
 
    @Override
    public void readFromBytes(byte[] messageBodyBytes) {
 
    }
 
    private byte ackSign = 0x11;
 
    private byte[] temp = new byte[4];
 
}