package com.njcn.pojo.pointInfo;

import com.njcn.utils.PubUtils;

import java.util.Date;

/**
 * @Author: Sunwei 【sunW2016@163.com】
 * @Description:
 * @Date: Create in 10:26 2018/5/28
 * @Modified By:
 */
public class PointInfo {
    private String voltageClasses;//电压等级
    private Float pt1;//pt一次变比
    private Float pt2;//pt二次变比
    private Float ct1;//ct一次变比
    private Float ct2;//ct二次变比
    private Float devcmp;//设备容量
    private Float dlcmp;//短路容量
    private Float jzcmp;//基准容量
    private Float xycmp;//协议容量
    private String bdName; //变电站名称
    private String pName; //母线名称
    private String name; //监测点名称
    private String ip;//IP地址
    private String factory;//厂家
    private String devType;//型号
    private String strDate;//投运时间
    private Date loginDate; //投运时间
    private String state;//通讯状态
    private Integer iState;//通讯状态
    private Integer baseFlow;//流量套餐
    private Integer extendFlow;//扩展套餐
    private float useFlow;//流量使用百分比
    private String objName;//对象名称
    private String loadType;//干扰源类型终
    //分类等级 内容为Ⅰ、Ⅱ、Ⅲ、Ⅳ
    private String calssificationGrade;

    //上级电站
    private String superiorsSubstation;

    //挂接线路
    private String hangLine;

    //监测点拥有者
    private String owner;

    //拥有者职务
    private String ownerDuty;

    //拥有者联系方式
    private String ownerTel;

    //接线图
    private String wiringDiagram;


    private String  businessType;


    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getObjName() {
        return objName;
    }

    public void setObjName(String objName) {
        this.objName = objName;
    }

    public String getLoadType() {
        return loadType;
    }

    public void setLoadType(String loadType) {
        this.loadType = loadType;
    }

    public String getIp() {
        return ip;
    }

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

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public String getDevType() {
        return devType;
    }

    public void setDevType(String devType) {
        this.devType = devType;
    }

    public String getStrDate() {
        return strDate;
    }

    public void setStrDate(String strDate) {
        this.strDate = strDate;
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        try {
            this.strDate = PubUtils.date2String(loginDate, "yyyy-MM-dd");
        } catch (Exception e) {

        }
    }

    public String getState() {
        return state;
    }

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

    public Integer getiState() {
        return iState;
    }

    public void setiState(Integer iState) {
        //this.iState = iState;
        this.state = iState == 0 ? "中断" : "正常";
    }

    public String getBdName() {
        return bdName;
    }

    public void setBdName(String bdName) {
        this.bdName = bdName;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getName() {
        return name;
    }

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

    public String getVoltageClasses() {
        return voltageClasses;
    }

    public void setVoltageClasses(String voltageClasses) {
        this.voltageClasses = voltageClasses;
    }

    public Float getPt1() {
        return pt1;
    }

    public void setPt1(Float pt1) {
        this.pt1 = pt1;
    }

    public Float getPt2() {
        return pt2;
    }

    public void setPt2(Float pt2) {
        this.pt2 = pt2;
    }

    public Float getCt1() {
        return ct1;
    }

    public void setCt1(Float ct1) {
        this.ct1 = ct1;
    }

    public Float getCt2() {
        return ct2;
    }

    public void setCt2(Float ct2) {
        this.ct2 = ct2;
    }

    public Float getDevcmp() {
        return devcmp;
    }

    public void setDevcmp(Float devcmp) {
        this.devcmp = devcmp;
    }

    public Float getDlcmp() {
        return dlcmp;
    }

    public void setDlcmp(Float dlcmp) {
        this.dlcmp = dlcmp;
    }

    public Float getJzcmp() {
        return jzcmp;
    }

    public void setJzcmp(Float jzcmp) {
        this.jzcmp = jzcmp;
    }

    public Float getXycmp() {
        return xycmp;
    }

    public void setXycmp(Float xycmp) {
        this.xycmp = xycmp;
    }

	public Integer getBaseFlow() {
		return baseFlow;
	}

	public void setBaseFlow(Integer baseFlow) {
		this.baseFlow = baseFlow;
	}

	public Integer getExtendFlow() {
		return extendFlow;
	}

	public void setExtendFlow(Integer extendFlow) {
		this.extendFlow = extendFlow;
	}

	public float getUseFlow() {
		return useFlow;
	}

	public void setUseFlow(float useFlow) {
		this.useFlow = useFlow;
	}

    public String getCalssificationGrade() {
        return calssificationGrade;
    }

    public void setCalssificationGrade(String calssificationGrade) {
        this.calssificationGrade = calssificationGrade;
    }

    public String getSuperiorsSubstation() {
        return superiorsSubstation;
    }

    public void setSuperiorsSubstation(String superiorsSubstation) {
        this.superiorsSubstation = superiorsSubstation;
    }

    public String getHangLine() {
        return hangLine;
    }

    public void setHangLine(String hangLine) {
        this.hangLine = hangLine;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getOwnerDuty() {
        return ownerDuty;
    }

    public void setOwnerDuty(String ownerDuty) {
        this.ownerDuty = ownerDuty;
    }

    public String getOwnerTel() {
        return ownerTel;
    }

    public void setOwnerTel(String ownerTel) {
        this.ownerTel = ownerTel;
    }

    public String getWiringDiagram() {
        return wiringDiagram;
    }

    public void setWiringDiagram(String wiringDiagram) {
        this.wiringDiagram = wiringDiagram;
    }
}
