示例#1
0
        public static string GetBaseNameForEmulator(EmulatorTag.EmulatorType theEmulatorType)
        {
            string theBaseName = "";

            switch (theEmulatorType)
            {
            case EmulatorTag.EmulatorType.PRINT_SCP:
                theBaseName = "Pr_Scp_Em";
                break;

            case EmulatorTag.EmulatorType.STORAGE_SCP:
                theBaseName = "St_Scp_Em";
                break;

            case EmulatorTag.EmulatorType.STORAGE_SCU:
                theBaseName = "St_Scu_Em";
                break;

            default:
                // Not implemented.
                Debug.Assert(false);
                break;
            }

            return(theBaseName);
        }
示例#2
0
 public static string GetDetailNameForEmulator(Dvtk.Sessions.Session theSession, EmulatorTag.EmulatorType theEmulatorType)
 {
     return("Detail_" + GetExpandedNameForEmulator(theSession, theEmulatorType));
 }
示例#3
0
 public static string GetSummaryNameForEmulator(Dvtk.Sessions.Session theSession, EmulatorTag.EmulatorType theEmulatorType)
 {
     return("Summary_" + GetExpandedNameForEmulator(theSession, theEmulatorType));
 }
示例#4
0
 public static string GetExpandedNameForEmulator(Dvtk.Sessions.Session theSession, EmulatorTag.EmulatorType theEmulatorType)
 {
     return(GetExpandedName(theSession, GetBaseNameForEmulator(theEmulatorType)));
 }