package com.ruoyi.web.modules.industryservice.support;

import java.math.BigDecimal;

/**
 * 草畜平衡计算常量。
 */
public final class GrassLivestockBalanceRules
{
    public static final String CONFIG_SHEEP_UNIT_ANNUAL_FORAGE_KG = "grass.balance.sheepUnitAnnualForageKg";

    public static final String CONFIG_SHEEP_UNIT_CONVERT_COEFF = "grass.balance.sheepUnitConvertCoeff";

    public static final BigDecimal DEFAULT_SHEEP_UNIT_ANNUAL_FORAGE_KG = new BigDecimal("160");

    public static final BigDecimal DEFAULT_SHEEP_UNIT_CONVERT_COEFF = new BigDecimal("4");

    public static final int BALANCE_LEVEL_NOT_OVERLOAD = 1;

    public static final int BALANCE_LEVEL_BASIC = 2;

    public static final int BALANCE_LEVEL_OVERLOAD = 3;

    public static final int BALANCE_LEVEL_SEVERE = 4;

    public static final BigDecimal RATE_THRESHOLD_BASIC = new BigDecimal("0.15");

    public static final BigDecimal RATE_THRESHOLD_OVERLOAD = new BigDecimal("0.50");

    public static final int SCALE = 2;

    public static final int RATE_COMPARE_SCALE = 4;

    private GrassLivestockBalanceRules()
    {
    }
}
