package com.njcn.gather.detection.pojo.vo;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * CN_Gather
 *
 * @author cdf
 * @date 2024/12/29
 */
@Data
public class DetectionResultInfoVO {

    private String freq;

    private String Ua;

    private String Ub;

    private String Uc;

    private String Ia;

    private String Ib;

    private String Ic;

    private List<Result> resultList;

    private List<OriginalInfo> resultInfoList;



    /**
     * 检测结果
     */
    @Data
    public static class Result{

        private Integer channelNum;

        private Double standardVal;

        private Double aVal;

        private Double aLimit;

        private Double bVal;

        private Double bLimit;

        private Double cVal;

        private Double cLimit;

        private Double maxError;

        private Integer result;

    }

    /**
     * 原始数据
     */
    @Data
    public static class OriginalInfo{

        private LocalDateTime time;

        private Double aVal;

        private Double bVal;

        private Double cVal;

    }
}
