ICAS03
- partially fix dynamic editing
8338bd9
raw
history blame contribute delete
891 Bytes
from enum import Enum
class ProjectType(Enum):
Page = "Page"
Sage = "Sage"
Engage = "Engage"
class GlobalState:
def __init__(self):
self._quotation_project = None
self.step1_results = [] # Scope & Components
self.step2a_results = [] # Generate Mandays
self.step2b_results = [] # Analyze MVP Components
self.step2c_results = [] # Recalculate MVP Mandays
self.step2d_results = [] # Generate MVP Mandays
self.step3_results = [] # Final Documentation
@property
def quotation_project(self):
if self._quotation_project is None:
from Project import Project
self._quotation_project = Project(ProjectType.Page)
return self._quotation_project
@quotation_project.setter
def quotation_project(self, value):
self._quotation_project = value
state = GlobalState()