package com.ho.common.tools.constant;

/**
 * @author fancl
 * @desc: 定义常量
 * @date 2022/8/18
 */
public interface DefineConstant {

    String STATION_STATUS = "电站状态";

    String SHUT_DOWN = "停机";

    String RUN = "运行";

    String TOTAL_ACTIVE_POWER = "总有功功率";

    String VALLEY = "谷";

    String FLAT = "平";

    String PEAK = "峰";

    String DEEP_VALLEY = "深谷";

    String SHARP = "尖";

    String SUMMARY = "汇总";
    String SUMMARY_EN = "Summary";
    String SUMMARY_FRA = "résumé";
    String SUMMARY_SPA = "Resumen";
    String SUMMARY_DE = "Zusammenfassung";
    String SUMMARY_PL = "Podsumowanie";
    String SUMMARY_ARA = "ملخص";

    String SUMMARY_DATA_STATION = "电站汇总数据";

    String SUMMARY_DATA_STATION_EN = "Summary data of power station";
    String SUMMARY_DATA_STATION_FRA = "Données sommaires de la station";
    String SUMMARY_DATA_STATION_SPA = "Datos agregados de la central eléctrica";
    String SUMMARY_DATA_STATION_DE = "Kraftwerksdaten zusammengefasst";
    String SUMMARY_DATA_STATION_PL = "Podsumowanie danych elektrowni";
    String SUMMARY_DATA_STATION_ARA = "محطة توليد الكهرباء بيانات موجزة";

    interface PeakShaving {
        String ADD_TEMPLATE_SUCCESS = "新增计划曲线模板成功";
        String TEMPLATE_CHECK_SIZE = "至少有一个时段和一个计划用电，请确认后重试！";
        String TEMPLATE_DATA_NOT_EXIST = "模板数据不能为空，请确认后重试！";
        String ADD_TEMPLATE_FAIL = "新增计划曲线模板出错";
        String TEMPLATE_NO_NOT_NULL = "模板编号不能为空";
        String TEMPLATE_NO_NOT_REPEAT = "模板编号不可重复，请确认后重试！";
        String TEMPLATE_NAME_NOT_NULL = "模板名称不能为空";
        String TEMPLATE_NAME_NOT_REPEAT = "模板名称不可重复，请确认后重试！";
        String TEMPLATE_NO_TOO_LONG = "模板编号不允许超过10位，请确认后重试！";
        String TEMPLATE_NAME_TOO_LONG = "模板名称不允许超过10位，请确认后重试！";
        String TEMPLATE_P_ERROR = "额定功率数据异常，请确认后重试！";
        String TEMPLATE_SOC_UPPER_ERROR = "SOC上限数据异常，请确认后重试！";
        String TEMPLATE_SOC_LOWER_ERROR = "SOC下限数据异常，请确认后重试！";
        String TEMPLATE_CAPACITY_ERROR = "额定容量数据异常，请确认后重试！";
        String EDIT_TEMPLATE_FAIL = "编辑计划曲线模板出错";
        String EDIT_TEMPLATE_SUCCESS = "编辑计划曲线模板成功";
        String DELETE_SUCCESS = "删除成功";
        String TAR_FILE_ISSUE_ERROR = "压缩json文件发生异常";
        String FILE_ISSUE_ERROR = "下发JSON文件发生异常";
    }

    interface PlanningCurveIssue {
        String SEND_SUCCESS = "下发成功";
        String SEND_FAIL = "下发失败";
        String PLAN_CURVE = "计划曲线";
    }

    /**
     * 部分引用PeakShaving中定义常量
     */
    interface PlanningCurve {
        String SUCCESS = "操作成功";
        String DELETE_FAIL = "删除失败";
        String FILE_FORMAT_ONLY = "文件格式不正确";
        String FILE_UPLOAD_SUCCESS = "文件上传成功";
        String FILE_UPLOAD_ERROR_EMPTY_SHEET = "上传失败sheet为空";
        String OPERATION_FAILED = "操作失败";
        String FILE_ISSUE_FAIL = "下发JSON文件失败";
        String FILE_ISSUE_SUCCESS = "下发JSON文件成功";
    }

    interface StationHome{
        String OUTPUT_POWER = "有功功率";
        String PV_OUTPUT_POWER = "PV输出功率";
        String PV_INVERTER = "光伏逆变器";
        String TOTAL_PV_POWER = "总光伏功率";
        String ANTI_BACKFLOW_METER = "防逆流表";
        String TOTAL_ACTIVE_POWER = "总有功功率";
        String BUILDING = "(在建)";
        String BUILDING_EN = "(Under construction)";
        String BUILDING_FRA = "(En construction)";
        String BUILDING_SPA = "(En construcción)";
        String BUILDING_DE = "(Im Bau)";
        String BUILDING_PL = "(W budowie)";
        String BUILDING_ARA = "(تحت الإنشاء)";

        String PROPOSED = "(拟建)";

        String PROPOSED_EN = "(Proposed)";
        String PROPOSED_FRA = "(Proposé)";
        String PROPOSED_SPA = "(Propuesta)";
        String PROPOSED_DE = "(Erstellbar)";
        String PROPOSED_PL = "(Proponowane)";
        String PROPOSED_ARA = "(مقترح)";
    }

    interface PlanningPolicy{
        String DATA_NOT_EMPTY = "数据不能为空！";
        String POLICY_NAME_NOT_REPEAT = "策略名称不可相同，请确认后重试！";
        String CUSTOM_POLICY_NAME_NOT_REPEAT = "自定义策略名称不可相同，请确认后重试！";
        String SAVE_SUCCESS = "保存成功！";
        String SAVE_FAIL = "保存失败！";
        String SAVE_ERROR = "保存出错！";
        String MODIFY_SUCCESS = "修改成功！";
        String MODIFY_FAIL = "修改失败！";
        String MODIFY_ERROR = "修改出错！";
        String DELETE_SUCCESS = "删除成功！";
        String DELETE_FAIL = "删除失败！";
        String DELETE_ERROR = "删除出错！";
        String FILE_FORMAT_ONLY = "文件格式不正确";
    }

    interface PointDemo{
        String TIME = "时间";

        String TIME_EN = "Time";
        String TIME_FRA = "Données";
        String TIME_SPA = "Datos";
        String TIME_DE = "Daten";
        String TIME_PL = "Dane";
        String TIME_ARA = "داتا";

    }

    interface DeviceTypeCol{
        String IMPORT_VALUE_DEVICETYPECOL_CHECK1 = "导入模板是否可写,第";
        String IMPORT_VALUE_DEVICETYPECOL_CHECK2 = "行填值错误，只能是0或1";
        String IMPORT_VALUE_MAXVALUE_CHECK1 = "导入模板最大值最小值,第";
        String IMPORT_VALUE_MAXVALUE_CHECK2 = "行填值错误，不能为空";
        String IMPORT_VALUE_SENSTYPE_CHECK1 = "导入模板最大值最小值,第";
        String IMPORT_VALUE_SENSTYPE_CHECK2 = "行填值错误，遥控最大值只能填写1,最小值只能填0";
        String IMPORT_VALUE_DEVICETYPE_CHECK1 = "导入模板第";
        String IMPORT_VALUE_DEVICETYPE_CHECK2 = "行填值错误，已存类型为";
        String IMPORT_VALUE_DEVICETYPE_CHECK3 = "且字段key为";
        String IMPORT_VALUE_DEVICETYPE_CHECK4 = "的值";

    }

    interface CommonFile{
        String CHOOSE_FILE = "请选择上传文件";
        String FILE_UPLOAD_ERROR = "上传文件发生异常";
    }

    interface FlowOutApi{
        String ALARM_RESTORE = "恢复";
        String UPPER_LIMIT = " 越上限";
        String LOWER_LIMIT = " 越下限";
    }

    interface Event{
        String STATION_NAME = "电站名称";
        String DEVICE_TYPE = " 设备类型";
        String DEVICE_NAME = " 所属设备";
        String STATUS = "事件状态";
        String EVENT_LEVEL = " 事件";
        String TIME_STAMP = " 告警时间";
        String DESCRIPTION = "事件描述";
        String CONFIRM_MAN = " 确认人";
        String CONFIRM_TIME = " 确认时间";
        String REMARK = " 备注";
        String CONFIRMED = " 已确认";
        String UNCONFIRMED = " 未确认";
        String ACCIDENT = " 事故";
        String FAULT = " 故障";
        String ALARM = " 告警";
        String PROMPT = " 提示";
        String INFORM = " 告知";
    }
}
