#
whycq
2025-01-08 00fd3eb5037f07763d4e8d3e5729066d3dc097ea
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
package com.example.agvcontroller.protocol;
 
 
import java.io.Serializable;
 
public class AGV_F0_UP implements IMessageBody, Serializable {
 
    private static final long serialVersionUID = 8403019742104020004L;
 
    @Override
    public byte[] writeToBytes() {
        return new byte[0];
    }
 
    @Override
    public void readFromBytes(byte[] bytes) {
        this.password = "";
        this.carType = 0;
        this.baseVersion = "";
        this.bothData = "";
        this.softwareVersion = "";
        this.optData = "";
        this.totalTime = 0;
        this.totalDistance = 0;
        this.batteryType = 0;
        this.maxChargeCurrent = 0;
        this.batteryVoltage = 0;
        this.remainingBattery = 0;
        this.soh = 0;
        this.groundCode = "";
        this.qrCode = "";
        this.offsetX = 0;
        this.offsetY = 0;
        this.groundCodeOffset0 = 0;
        this.status = 0;
        this.faultFlag = 0;
        this.intrusionCount = 0;
        this.spareSpaceCount = 0;
    }
 
    @Override
    public String getSerialNo() {
        return "";
    }
 
    // 密码
    private String password;
 
    // 设备类型
    private int carType;
 
    // 硬件版本
    private String baseVersion;
 
    // 出厂日期
    private String bothData;
 
    // 软件版本
    private String softwareVersion;
 
    // 发布日期
    private String optData;
 
    // 累计工作时间
    private int totalTime;
 
    // 累计行走距离
    private int totalDistance;
    // 电池类型
    private int batteryType;
 
    // 最大充电电流
    private int maxChargeCurrent;
 
    // 电池电压
    private int batteryVoltage;
 
    // 剩余电量
    private int remainingBattery;
 
    // soh
    private int soh;
 
    // 地面码
    private String groundCode;
 
    //地面码ID
    private String qrCode;
 
    //地面码偏移x
    private int offsetX;
 
    //地面码偏移y
    private int offsetY;
 
    //地面码偏移θ
    private int groundCodeOffset0;
 
    //当前状态
    private int status;
 
    // 故障标志
    private int faultFlag;
 
    // 入侵检测次数
    private int intrusionCount;
 
    // 暂存货位数量
    private int spareSpaceCount;
 
 
 
 
 
}