[Mpuls-commits] r3151 - base/trunk/mpulsweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jul 7 14:46:03 CEST 2010
Author: torsten
Date: 2010-07-07 14:46:03 +0200 (Wed, 07 Jul 2010)
New Revision: 3151
Modified:
base/trunk/mpulsweb/model/phase.py
Log:
Added Constants for different changemodes in phasemodell
Modified: base/trunk/mpulsweb/model/phase.py
===================================================================
--- base/trunk/mpulsweb/model/phase.py 2010-07-07 12:42:58 UTC (rev 3150)
+++ base/trunk/mpulsweb/model/phase.py 2010-07-07 12:46:03 UTC (rev 3151)
@@ -20,6 +20,12 @@
REQUIRED = re.compile('required')
PHASEDATE = re.compile('time')
+# CHANGEMODES
+# Can be configured json config
+PC_MANUAL = '0'
+PC_HALFAUTO = '1'
+PC_FULLAUTO = '2'
+
log = logging.getLogger(__name__)
CASE_NOT_CONSISTENT = """Die Phase '%s' ist nicht in einem konsistenten Zustand und
More information about the Mpuls-commits
mailing list