package com.usky.vpp.util;

/**
 * 资源类型中文标签
 */
public final class VppResourceTypeHelper {

    private VppResourceTypeHelper() {
    }

    public static String resourceTypeLabel(String resourceType) {
        if (resourceType == null) {
            return "未知";
        }
        switch (resourceType.toUpperCase()) {
            case "PV":
                return "光伏";
            case "ESS":
                return "储能";
            case "EVCS":
                return "充电桩";
            case "IND_LOAD":
                return "工业负荷";
            case "COM_BLDG":
                return "商业楼宇";
            default:
                return resourceType;
        }
    }
}
