package com.njcn.advance.pojo.dto.waveAnalysis;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author njcn
 * @高级算法返回数据
 * @包含RMS值
 * @X轴坐标
 * @处理返回的结果
 */
@Data
@NoArgsConstructor
public class EntityAdvancedData {
    public float smp_a[];
    public float smp_b[];
    public float smp_c[];
    public float smp_x[];
    public int smp_len;
    public String sagReason[]; // 暂降原因描述，数据库获取
    public String sagType[]; // 暂降类型描述，数据库获取
    public String sagPhaseType[]; // 暂降相别 1-一相 2-两相 3-三相
    public int backNumber = -1;
    public BackData evt_buf[];
    public PowerData power_before_buf[];
    public PowerData power_after_buf[];
    public DirectionData qvvr_direction_info[];
    public UtblData qvvr_utbl_info[];

    public EntityAdvancedData(int lengthRMS) {
        super();
        this.smp_a = new float[lengthRMS];
        this.smp_b = new float[lengthRMS];
        this.smp_c = new float[lengthRMS];
        this.smp_x = new float[lengthRMS];
        this.sagReason = new String[256];
        this.sagType = new String[256];
        this.sagPhaseType = new String[256];
    }
}
