package com.njcn.harmonic.constant;

/**
 * @author 徐扬
 */
public interface Param {

    /**
     * 表名
     */
    String LIMIT_TARGET = "limit_target";
    String LIMIT_RATE = "limit_rate";
    String DATA_I = "data_i";
    String DATA_HARMPOWER_Q = "data_harmpower_q";

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

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

    String OFFLINEMIN = "offlinemin";

    /**
     * 谐波总畸变率表公共字段
     */
    String V_THD = "V_THD";
    String QualityFlag = "QualityFlag";

    /**
     * 污区图字段 显示前10
     */
    Integer DOWN_LIMIT = 0;
    Integer UP_LIMIT = 10;

    /**
     * 公共字段
     */
    String LINE_INDEX = "LINE_INDEX";
    String DEV_INDEX = "dev_index";
    String LINE_ID = "line_id";
    String LINEID = "LineID";
    String TIME = "time";
    String MYINDEX = "MYINDEX";
    String START_TIME = " 00:00:00";
    String END_TIME = " 23:59:59";

    /**
     * 稳态数据分析字段
     */
    String PHASIC_TYPEA = "A";
    String PHASIC_TYPEB = "B";
    String PHASIC_TYPEC = "C";
    String PHASIC_TYPET = "T";
    String VALUETYPE = "value_type";
    String PHASIC_TYPE = "phasic_type";
    String PARENT_ID = "0";

    /**
     *数据类型(最大值：max、最小值：min、平均值：avg、95值：cp95)
     */
    String VALUE_TYPEAVG = "AVG";

    //DecimalFormat格式化
    String DECIMAL_FORMATSTR = "#0.0000";

    String DECIMAL_FORMATTWOSTR = "#.##";

}
