Mercurial > gemma
comparison pkg/imports/sr.go @ 4214:49564382ffff
Added a import queue job to recalculate the contour lines of the sounding results if the heights have changed.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 16 Aug 2019 13:15:34 +0200 |
parents | 49012340336c |
children | 4ca884dfc470 |
comparison
equal
deleted
inserted
replaced
4197:5d7ce7f926eb | 4214:49564382ffff |
---|---|
76 // SRJobKind is the unique name of this import job type. | 76 // SRJobKind is the unique name of this import job type. |
77 const SRJobKind JobKind = "sr" | 77 const SRJobKind JobKind = "sr" |
78 | 78 |
79 type srJobCreator struct{} | 79 type srJobCreator struct{} |
80 | 80 |
81 func init() { | 81 func init() { RegisterJobCreator(SRJobKind, srJobCreator{}) } |
82 RegisterJobCreator(SRJobKind, srJobCreator{}) | |
83 } | |
84 | 82 |
85 func (srJobCreator) Description() string { return "sounding results" } | 83 func (srJobCreator) Description() string { return "sounding results" } |
86 | 84 |
87 func (srJobCreator) AutoAccept() bool { return false } | 85 func (srJobCreator) AutoAccept() bool { return false } |
88 | 86 |