package com.njcn.csharmonic.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  设备监控-实时数据
 * </p>
 *
 * @author guofeihu
 * @since 2024-07-26
 */
@Data
public class ThdDataTdVO{

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("指标分组名称")
    private String groupName;

    @ApiModelProperty("该分组下的各个指标的谐坡次数对应值")
    private List<Map<String,Object>> thdDataVOS;

    @ApiModelProperty("该指标下的谐坡次数对应值")
    private List<ThdDataTdVOData> thdDataTdVODatas;

    @Data
    public static class ThdDataTdVOData extends ThdDataVO{

        @ApiModelProperty(value = "国标限值名称")
        private String international = "国标限值";

        @ApiModelProperty(value = "国标限值")
        private Object internationalValue;
    }

    @Data
    public static class ThdDataSpectrumVOData{

        @ApiModelProperty(value = "指标名称")
        private String showName;

        @ApiModelProperty(value = "数据")
        private List<ThdDataVO> thdDataVOS;
    }

}
