public static string GetFacilityEffectDetail(int facilityID, int level)
    {
        string result = string.Empty;

        switch (facilityID)
        {
        case 1:
        {
            FacilityMeatFieldM facilityMeatFarmMaster = FarmDataManager.GetFacilityMeatFarmMaster(level);
            result = facilityMeatFarmMaster.maxMeatNum;
            break;
        }

        case 2:
        {
            FacilityWarehouseM facilityStorehouseMaster = FarmDataManager.GetFacilityStorehouseMaster(level);
            result = facilityStorehouseMaster.limitMeatNum;
            break;
        }

        case 3:
        {
            FacilityRestaurantM facilityRestaurantM = FarmDataManager.GetFacilityRestaurantMaster(level);
            result = facilityRestaurantM.maxStamina;
            break;
        }

        default:
            if (facilityID == 25)
            {
                FacilityChipM facilityChipFarmMaster = FarmDataManager.GetFacilityChipFarmMaster(level);
                result = facilityChipFarmMaster.maxChipNum;
            }
            break;

        case 7:
        {
            FacilityHouseM facilityDigiHouseMaster = FarmDataManager.GetFacilityDigiHouseMaster(level);
            result = facilityDigiHouseMaster.maxMonsterNum;
            break;
        }

        case 8:
        {
            FacilityExpUpM facilityDigimonGymMaster = FarmDataManager.GetFacilityDigimonGymMaster(level);
            result = facilityDigimonGymMaster.upRate;
            break;
        }
        }
        return(result);
    }
    public override void BuildComplete()
    {
        base.BuildComplete();
        UserFacility userFacility = Singleton <UserDataMng> .Instance.GetUserFacility(this.userFacilityID);

        if (userFacility == null)
        {
            Debug.LogError("UserFacility Not Found");
            return;
        }
        FacilityHouseM facilityDigiHouseMaster = FarmDataManager.GetFacilityDigiHouseMaster(userFacility.level);

        if (facilityDigiHouseMaster == null)
        {
            Debug.LogError("Digihouse Master Not Found");
            return;
        }
        DataMng.Instance().RespDataUS_PlayerInfo.playerInfo.unitLimitMax = facilityDigiHouseMaster.maxMonsterNum;
    }