import os


class ModelEvents:
    def __init__(self):
        """
        Variables contain LISTs of possible choices for Tuflow command parameters
        dict DICTIONARIES have keys corresponding to exact names of Tuflow command parameters and values are LISTs of choices
        """

        self.bce_rst_dict = {}

        # TEF file contents
        self.bc_dict = {'bc':'', 'sa':''}  # will be read from 2d_sa_MODEL_QT_R.shp and 2d_bc_MODEL_HT_L.shp
        self.event_0 = 1
        self.event_file = [""]
        self.events = {self.event_0: {'No sa defined': 'No bc defined'}}
        # self.event_desc = {"Flow1": "Steady XXX CMS discharge"}

        # BAT file contents
        # self.bat_opts = []
        # self.bat_dict = {"Batchfiles": self.bat_opts}

        self.bce_name_dict = {"bce": "BC Events",
                              "bat": "Batchfile",
                              "rst": "Restart Options (Optimization)"}

        self.bce_bg_colors = {"bce": "light blue",
                              "bat": "sky blue",
                              "rst": "SeaGreen1"}

    def __call__(self, *args, **kwargs):
        print("Class Info: <type> = ModelEvents (%s)" % os.path.dirname(__file__))
        print(dir(self))

import os


class ModelEvents:
    def __init__(self):
        """
        Variables contain LISTs of possible choices for Tuflow command parameters
        dict DICTIONARIES have keys corresponding to exact names of Tuflow command parameters and values are LISTs of choices
        """

        self.bce_rst_dict = {}

        # TEF file contents
        self.bc_dict = {'bc':'', 'sa':''}  # will be read from 2d_sa_MODEL_QT_R.shp and 2d_bc_MODEL_HT_L.shp
        self.event_0 = 1
        self.event_file = [""]
        self.events = {self.event_0: {'No sa defined': 'No bc defined'}}
        # self.event_desc = {"Flow1": "Steady XXX CMS discharge"}

        # BAT file contents
        # self.bat_opts = []
        # self.bat_dict = {"Batchfiles": self.bat_opts}

        self.bce_name_dict = {"bce": "BC Events",
                              "bat": "Batchfile",
                              "rst": "Restart Options (Optimization)"}

        self.bce_bg_colors = {"bce": "light blue",
                              "bat": "sky blue",
                              "rst": "SeaGreen1"}

    def __call__(self, *args, **kwargs):
        print("Class Info: <type> = ModelEvents (%s)" % os.path.dirname(__file__))
        print(dir(self))

Variables contain LISTs of possible choices for Tuflow command parameters
         dict DICTIONARIES have keys corresponding to exact names of Tuflow command parameters and values are LISTs of choices # TEF file contents # will be read from 2d_sa_MODEL_QT_R.shp and 2d_bc_MODEL_HT_L.shp # self.event_desc = {"Flow1": "Steady XXX CMS discharge"} # BAT file contents # self.bat_opts = [] # self.bat_dict = {"Batchfiles": self.bat_opts}