Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/SedimentLoadCalculate.java @ 7531:7302d2af815f
Cosmetics.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 07 Nov 2013 09:43:44 +0100 |
parents | d2867dc7963f |
children | 5b3c795385ef |
comparison
equal
deleted
inserted
replaced
7530:b60485a58d73 | 7531:7302d2af815f |
---|---|
339 String unit = (isUnitTA) | 339 String unit = (isUnitTA) |
340 ? Resources.getMsg(context.getMeta(), "state.minfo.sediment.load.t_per_a", "(t/a)") | 340 ? Resources.getMsg(context.getMeta(), "state.minfo.sediment.load.t_per_a", "(t/a)") |
341 : Resources.getMsg(context.getMeta(), "state.minfo.sediment.load.m3_per_a", "(m^3/a)"); | 341 : Resources.getMsg(context.getMeta(), "state.minfo.sediment.load.m3_per_a", "(m^3/a)"); |
342 | 342 |
343 // newFacets.add(new DataFacet(CSV, "CSV data", ComputeType.ADVANCE, hash, id)); | 343 // newFacets.add(new DataFacet(CSV, "CSV data", ComputeType.ADVANCE, hash, id)); |
344 for (int idx = 0; idx < results.length; idx++) { SedimentLoadResult res = results[idx]; | 344 for (int idx = 0; idx < results.length; idx++) { |
345 SedimentLoadResult res = results[idx]; | |
345 if (res.hasCoarseData()) { | 346 if (res.hasCoarseData()) { |
346 newFacets.add(new SedimentLoadFacet( | 347 newFacets.add(new SedimentLoadFacet( |
347 idx, | 348 idx, |
348 (isUnitTA) | 349 (isUnitTA) |
349 ?SEDIMENT_LOAD_TA_COARSE | 350 ?SEDIMENT_LOAD_TA_COARSE |
394 ?SEDIMENT_LOAD_TA_SUSP_SAND | 395 ?SEDIMENT_LOAD_TA_SUSP_SAND |
395 :SEDIMENT_LOAD_M3A_SUSP_SAND, | 396 :SEDIMENT_LOAD_M3A_SUSP_SAND, |
396 Resources.getMsg( | 397 Resources.getMsg( |
397 meta, | 398 meta, |
398 I18N_FACET_SEDIMENTLOAD_SUSPSAND, | 399 I18N_FACET_SEDIMENTLOAD_SUSPSAND, |
399 I18N_FACET_SEDIMENTLOAD_SUSPSAND) | 400 I18N_FACET_SEDIMENTLOAD_SUSPSAND) + |
400 + epochFacetNameInfo(res,unit), | 401 epochFacetNameInfo(res,unit), |
401 ComputeType.ADVANCE, | 402 ComputeType.ADVANCE, |
402 stateId, | 403 stateId, |
403 hash)); | 404 hash)); |
404 } | 405 } |
405 if (res.hasSuspSandBedData()) { | 406 if (res.hasSuspSandBedData()) { |