Example #1
0
        public static string getDatabaseName(SWATModelType modelType, SWATResultIntervalType interval)
        {
            int index = Convert.ToInt32(modelType);

            if (index >= 0 && index < DATABASE_NAMES.Length)
            {
                return(DATABASE_NAMES[index] + "_" + interval.ToString().ToLower() + DATABASE_NAME_EXT);
            }

            return("");
        }
Example #2
0
 private string getResultID(SWATModelType modelType, SWATResultIntervalType interval)
 {
     return(modelType.ToString() + "_" + interval.ToString());
 }