panlili2024
2024-09-19 071a8328823a2861f93ce556a4da3e4119cab1a3
HDL_TTLSDK485/src/main/java/com/hdl/sdk/ttl/HDLDeviceManger/Bean/AppliancesInfo.java
@@ -20,35 +20,20 @@
    private int channelNum;//回路号
    private int deviceSubnetID;//设备子网号
    private int deviceDeviceID;//设备号
    private int sourceSubnetID;//源子网号
    private int sourceDeviceID;//源设备号
    private Object curState;//当前状态
    private String remarks;//备注
    private String parentRemarks;//模块备注
    private byte[] arrCurState;//状态反馈记录数据
    private int deviceType;//设备类型
    //    private int port;
//    private String ipAddress;
    private LogicMode logicMode;//逻辑模块特有
    private int physicsChannelNum;//RCU 灯光特有
//    private byte[] feedbackState;//状态反馈记录数据 20190729新增
    private int intCurState;
    private String deviceKey;
//    public int getPort() {
//        return port;
//    }
//
//    public void setPort(int port) {
//        this.port = port;
//    }
//
//    public String getIpAddress() {
//        return ipAddress;
//    }
//
//    public void setIpAddress(String ipAddress) {
//        this.ipAddress = ipAddress;
//    }
    private boolean isGetDeviceStateSuccess;
    public int getDeviceType() {
        return deviceType;
@@ -104,6 +89,22 @@
    public void setDeviceDeviceID(int deviceDeviceID) {
        this.deviceDeviceID = deviceDeviceID;
    }
    public int getSourceSubnetID() {
        return sourceSubnetID;
    }
    public void setSourceSubnetID(int sourceSubnetID) {
        this.sourceSubnetID = sourceSubnetID;
    }
    public int getSourceDeviceID() {
        return sourceDeviceID;
    }
    public void setSourceDeviceID(int sourceDeviceID) {
        this.sourceDeviceID = sourceDeviceID;
    }
    public int getLittleType() {
@@ -194,13 +195,13 @@
        this.intCurState = intCurState;
    }
//    public byte[] getFeedbackState() {
//        return feedbackState;
//    }
//
//    public void setFeedbackState(byte[] feedbackState) {
//        this.feedbackState = feedbackState;
//    }
    public boolean isGetDeviceStateSuccess() {
        return isGetDeviceStateSuccess;
    }
    public void setGetDeviceStateSuccess(boolean getDeviceStateSuccess) {
        isGetDeviceStateSuccess = getDeviceStateSuccess;
    }
    public String getDeviceKey() {
        deviceKey = this.bigType
@@ -222,22 +223,24 @@
                "deviceName='" + deviceName + '\'' +
                ", bigType=" + bigType +
                ", littleType=" + littleType +
                ", ctrlCommand=" + Integer.toHexString(ctrlCommand) +
                ", ctrlBackCommand=" + Integer.toHexString(ctrlBackCommand) +
                ", stateCommand=" + Integer.toHexString(stateCommand) +
                ", stateBackCommand=" + Integer.toHexString(stateBackCommand) +
                ", ctrlCommand=" + ctrlCommand +
                ", ctrlBackCommand=" + ctrlBackCommand +
                ", stateCommand=" + stateCommand +
                ", stateBackCommand=" + stateBackCommand +
                ", channelNum=" + channelNum +
                ", deviceSubnetID=" + deviceSubnetID +
                ", deviceDeviceID=" + deviceDeviceID +
                ", sourceSubnetID=" + sourceSubnetID +
                ", sourceDeviceID=" + sourceDeviceID +
                ", curState=" + curState +
                ", remarks='" + remarks + '\'' +
                ", parentRemarks='" + parentRemarks + '\'' +
//                ", arrCurState=" + Arrays.toString(arrCurState) +
                ", arrCurState=" + Arrays.toString(arrCurState) +
                ", deviceType=" + deviceType +
//                ", port=" + port +
//                ", ipAddress='" + ipAddress + '\'' +
                ", logicMode=" + logicMode +
                ", physicsChannelNum=" + physicsChannelNum +
                ", intCurState=" + intCurState +
                ", deviceKey='" + deviceKey + '\'' +
                '}';
    }
}