package com.pqs9000.pojo.data;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;
import java.util.List;

/**
 * 当根据动态责任数据获取用户责任量化结果时，将需要的一些参数进行缓存
 * 比如 harmNum,pNode,HKData,FKData,HarmData,监测点的测量间隔,win窗口，最小公倍数
 * 以及FKData每个时间点的p对应的用户List<name>
 *
 * @author hongawen
 * @Date: 2019/4/29 16:06
 */
public class CacheQvvrData implements Serializable {

    private int pNode;

    private int harmNum;

    private float[] harmData;

    private PDataStruct[] FKdata;      //不包含背景动态谐波责任数据序列，可作为输入或者输出

    private HKDataStruct[] HKdata;

    private List<String> names;

    private int lineInterval;

    private int win;

    //最小公倍数
    private int minMultiple;

    //横轴时间
    private List<Long> times;


    public int getpNode() {
        return pNode;
    }

    public void setpNode(int pNode) {
        this.pNode = pNode;
    }

    public int getHarmNum() {
        return harmNum;
    }

    public void setHarmNum(int harmNum) {
        this.harmNum = harmNum;
    }

    public float[] getHarmData() {
        return harmData;
    }

    public void setHarmData(float[] harmData) {
        this.harmData = harmData;
    }

    public PDataStruct[] getFKdata() {
        return FKdata;
    }

    public void setFKdata(PDataStruct[] FKdata) {
        this.FKdata = FKdata;
    }

    public HKDataStruct[] getHKdata() {
        return HKdata;
    }

    public void setHKdata(HKDataStruct[] HKdata) {
        this.HKdata = HKdata;
    }

    public List<String> getNames() {
        return names;
    }

    public void setNames(List<String> names) {
        this.names = names;
    }

    public int getLineInterval() {
        return lineInterval;
    }

    public void setLineInterval(int lineInterval) {
        this.lineInterval = lineInterval;
    }

    public List<Long> getTimes() {
        return times;
    }

    public void setTimes(List<Long> times) {
        this.times = times;
    }

    public int getWin() {
        return win;
    }

    public void setWin(int win) {
        this.win = win;
    }

    public int getMinMultiple() {
        return minMultiple;
    }

    public void setMinMultiple(int minMultiple) {
        this.minMultiple = minMultiple;
    }


    @Override
    public String toString() {
        return "CacheQvvrData{" +
                "pNode=" + pNode +
                ", harmNum=" + harmNum +
                ", harmData=" + Arrays.toString(harmData) +
                ", FKdata=" + Arrays.toString(FKdata) +
                ", HKdata=" + Arrays.toString(HKdata) +
                ", names=" + names +
                ", lineInterval=" + lineInterval +
                ", win=" + win +
                ", minMultiple=" + minMultiple +
                ", times=" + times +
                '}';
    }
}
