package com.njcn.influxdb.param;

/**
 * 数据表相关常量
 * @author hongawen
 * @version 1.0.0
 * @date 2022年10月14日 14:02
 */
public interface InfluxDBTableConstant {

    /**
     * 暂态事件汇总表
     */
    String PQS_EVENT_DETAIL = " pqs_eventdetail";

    /**
     * 电压波动闪变表
     */
    String DATA_FLICKER = "data_flicker";

    /**
     * 电压波动表
     */
    String DATA_FLUC = "data_fluc";

    /**
     * 谐波电流角度表
     */
    String DATA_HARM_PHASIC_I = "data_harmphasic_i";

    /**
     * 谐波电压角度表
     */
    String DATA_HARM_PHASIC_V = "data_harmphasic_v";

    /**
     * 有功功率表
     */
    String DATA_HARM_POWER_P = "data_harmpower_p";

    /**
     * 无功功率表
     */
    String DATA_HARM_POWER_Q = "data_harmpower_q";

    /**
     * 视在功率表
     */
    String DATA_HARM_POWER_S = "data_harmpower_s";

    /**
     * 谐波电流含有率表
     */
    String DATA_HARM_RATE_I = "data_harmrate_i";

    /**
     * 谐波电压含有率表
     */
    String DATA_HARM_RATE_V = "data_harmrate_v";

    /**
     * 电流表
     */
    String DATA_I = "data_i";

    /**
     * 电流间谐波幅值表
     */
    String DATA_IN_HARM_I = "data_inharm_i";

    /**
     * 电压间谐波幅值表
     */
    String DATA_IN_HARM_V = "data_inharm_v";

    /**
     * 长时闪变表
     */
    String DATA_PLT = "data_plt";

    /**
     * 电压表
     */
    String DATA_V = "data_v";

    /**
     * 日统计-电压波动闪变表
     */
    String DAY_FLICKER = "day_flicker";

    /**
     * 日统计-电压波动表
     */
    String DAY_FLUC = "day_fluc";

    /**
     * 日统计-谐波电流角度表
     */
    String DAY_HARM_PHASIC_I = "day_harmphasic_i";

    /**
     * 日统计-谐波电压角度表
     */
    String DAY_HARM_PHASIC_V = "day_harmphasic_v";

    /**
     * 日统计-有功功率表
     */
    String DAY_HARM_POWER_P = "day_harmpower_p";

    /**
     * 日统计-无功功率表
     */
    String DAY_HARM_POWER_Q = "day_harmpower_q";

    /**
     * 日统计-视在功率表
     */
    String DAY_HARM_POWER_S = "day_harmpower_s";

    /**
     * 日统计-谐波电流含有率表
     */
    String DAY_HARM_RATE_I = "day_harmrate_i";

    /**
     * 日统计-谐波电压含有率表
     */
    String DAY_HARM_RATE_V = "day_harmrate_v";

    /**
     * 日统计-电流表
     */
    String DAY_I = "day_i";

    /**
     * 日统计-电流间谐波幅值表
     */
    String DAY_IN_HARM_I = "day_inharm_i";

    /**
     * 日统计-电压间谐波幅值表
     */
    String DAY_IN_HARM_V = "day_inharm_v";

    /**
     * 日统计-长时闪变表
     */
    String DAY_PLT = "day_plt";

    /**
     * 日统计-电压表
     */
    String DAY_V = "day_v";

    /**
     * limit_rate
     */
    String LIMIT_RATE = "limit_rate";

    /**
     * limit_target
     */
    String LIMIT_TARGET = "limit_target";

    /**
     * pqs_comasses
     */
    String PQS_COMASSES = "pqs_comasses";

    /**
     * 终端运维日志表
     */
    String PQS_TERMINAL_LOGS = "pqs_terminal_logs";

    /**
     * 监测点状态信息表
     */
    String PQS_COMMUNICATE = "pqs_communicate";

    /**
     * 终端在线率表
     */
    String PQS_ONLINERATE = "pqs_onlinerate";

    /**
     * 数据完整性表
     */
    String PQS_INTEGRITY = "pqs_integrity";

    /**
     * 终端在线率表公共字段
     */
    String ONLINE_MIN = "online_min";

    String OFFLINE_MIN = "offline_min";

    String ONLINE_RATE = "online_rate";

    /**
     * 数据完整性表公共字段
     */
    String DUE = "due";

    String REAL = "real";

    String DEV_INDEX = "dev_id";

    /**
     * 时间
     */
    String TIME = "time";

    /**
     * 数据线路号
     */
    String LINE_ID = "line_id";

    /**
     * 装置ID
     */
    String DEV_ID = "dev_id";

    /**
     * 数据类型
     */
    String PHASIC_TYPE = "phasic_type";

    /**
     * 指标类型
     */
    String VALUE_TYPE = "value_type";

    /**
     * 数据质量标志
     */
    String QUALITY_FLAG = "quality_flag";

    /**
     * 相别
     */
    String NO_PHASE = "M";
    String PHASE_TYPE_A = "A";
    String PHASE_TYPE_AB = "AB";
    String PHASE_TYPE_B = "B";
    String PHASE_TYPE_BC = "BC";
    String PHASE_TYPE_C = "C";
    String PHASE_TYPE_C0 = "C0";
    String PHASE_TYPE_C1 = "C1";
    String PHASE_TYPE_C2 = "C2";
    String PHASE_TYPE_CA = "CA";
    String PHASE_TYPE_T = "T";



    /**
     * 报表业务计算方式
     */
    String MAX = "MAX";
    String MIN = "MIN";
    String AVG = "AVG";
    String CP95 = "CP95";

}
