Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/injector/ComputedDischargeInjector.java @ 8310:e3a8aa6eee32
Make SQ-relations loadable in WQ-diagrams.
author | "Tom Gottfried <tom@intevation.de>" |
---|---|
date | Tue, 23 Sep 2014 16:45:47 +0200 |
parents | c7ca9c228314 |
children | 10917ec29625 |
comparison
equal
deleted
inserted
replaced
8309:4acf7cff7355 | 8310:e3a8aa6eee32 |
---|---|
26 CallContext ctx, | 26 CallContext ctx, |
27 Artifact artifact, | 27 Artifact artifact, |
28 Document doc | 28 Document doc |
29 ) { | 29 ) { |
30 RangeAccess access = new RangeAccess((D4EArtifact)artifact); | 30 RangeAccess access = new RangeAccess((D4EArtifact)artifact); |
31 double km = access.getFrom(); | 31 if (access.hasFrom()) { |
32 ctx.putContextValue(CURRENT_KM, km); | 32 double km = access.getFrom(); |
33 ctx.putContextValue(CURRENT_KM, km); | |
34 } | |
33 } | 35 } |
34 } | 36 } |