#
whycq
2025-01-20 a42814eaa86c2167764b73a22ca0b1a0bebd32b6
app/src/main/java/com/example/agvcontroller/Item.java
@@ -1,26 +1,57 @@
package com.example.agvcontroller;
public class Item {
    private String text;
    private String clientId;
    private String ip;
    private int port;
    private String agvNo;
    private int status;
    public Item(String text,String ip,String agvNo) {
        this.text = text;
    public Item(String clientId,String ip,int port,String agvNo,int status) {
        this.clientId = clientId;
        this.ip = ip;
        this.port = port;
        this.agvNo = agvNo;
        this.status = status;
    }
    public String getText() {
        return text;
    }
    public String getClientId() {return clientId; }
    public String getIp() {
        return ip;
    }
    public int getPort() {
        return port;
    }
    public String getAgvNo() {
        return agvNo;
    }
    public int getStatus() {
        return status;
    }
    public void setClientId(String clientId) {
        this.clientId = clientId;
    }
    public void setIp(String ip) {
        this.ip = ip;
    }
    public void setPort(int port) {
        this.port = port;
    }
    public void setAgvNo(String agvNo) {
        this.agvNo = agvNo;
    }
    public void setStatus(int status) {
        this.status = status;
    }
}