package com.njcn.pojo.commons.device;

import java.io.Serializable;

public class Tree implements Serializable {
    private String name;
    private int id;
    private int pId;// 转义后的PID值
    private int nodeType;

    public String getNodeTf() {
        return nodeTf;
    }

    public void setNodeTf(String nodeTf) {
        this.nodeTf = nodeTf;
    }

    private String nodeTf;
    private int nodeIndex;
    private String nodeIndexStr;
    private int ppId; // 真实的PID值，对照数据库
    private int state; // 终端运行状态 0-正常 1-检修 2-退运
    private int gd_index;
    private int status; //终端通讯状态 0-正常 1-中断
    private int qualityAss;//综合质量评估
    private boolean open;//是否打开节点
    private String ip;
    private int pttype;
    private int powerType;//监测点性质

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getPpId() {
        return ppId;
    }

    public void setPpId(int ppId) {
        this.ppId = ppId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    public int getNodeType() {
        return nodeType;
    }

    public void setNodeType(int nodeType) {
        this.nodeType = nodeType;
    }

    public int getNodeIndex() {
        return nodeIndex;
    }

    public void setNodeIndex(int nodeIndex) {
        this.nodeIndex = nodeIndex;
    }

    public int getGd_index() {
        return gd_index;
    }

    public void setGd_index(int gd_index) {
        this.gd_index = gd_index;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getQualityAss() {
        return qualityAss;
    }

    public void setQualityAss(int qualityAss) {
        this.qualityAss = qualityAss;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPttype() {
		return pttype;
	}

	public void setPttype(int pttype) {
		this.pttype = pttype;
	}

    public String getNodeIndexStr() {
        return nodeIndexStr;
    }

    public void setNodeIndexStr(String nodeIndexStr) {
        this.nodeIndexStr = nodeIndexStr;
    }

	public int getPowerType() {
		return powerType;
	}

	public void setPowerType(int powerType) {
		this.powerType = powerType;
	}
}