| 2155 |
ghuddy |
1 |
using System;
|
|
|
2 |
|
|
|
3 |
namespace EA_ReqPro
|
|
|
4 |
{
|
|
|
5 |
/// <summary>
|
|
|
6 |
/// Summary description for Constants.
|
|
|
7 |
/// </summary>
|
|
|
8 |
public class Constants
|
|
|
9 |
{
|
|
|
10 |
// Tagged value identifiers for the ReqProDB element
|
|
|
11 |
public const string TAG_DB_LOCATION = "Location"; // location of the ReqPro database in the file system
|
|
|
12 |
public const string TAG_DB_USERNAME = "Username"; // user name with which to log in to the ReqPro database
|
|
|
13 |
public const string TAG_GUID = "GUID"; // this one may be used in requirement elements too
|
|
|
14 |
public const string TAG_MODE = "Mode";
|
|
|
15 |
public const string TAG_EA_MASTERING_ALLOWED = "EaMasteringAllowed";
|
|
|
16 |
public const string TAG_UNRESTRICTED_IMPORTS = "UnrestrictedImports";
|
|
|
17 |
public const string TAG_LAST_EXPORT_GUID = "LastExportGUID";
|
|
|
18 |
public const string TAG_LAST_EXPORT_NAME = "LastExportName";
|
|
|
19 |
public const string TAG_IMPORT_SUB_DIR = "ImportSubDir";
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
// Tagged value identifiers for requirement elements
|
|
|
23 |
public const string TAG_CREATED_IN_EA = "CreatedInEA";
|
|
|
24 |
public const string TAG_TAG = "TAG";
|
|
|
25 |
public const string TAG_SOURCE = "SOURCE";
|
|
|
26 |
public const string TAG_SOURCE_VERSION = "SOURCE_VERSION";
|
|
|
27 |
public const string TAG_SOURCE_SECTION = "SOURCE_SECTION";
|
|
|
28 |
public const string TAG_SUBSYSTEM = "SUBSYSTEM";
|
|
|
29 |
public const string TAG_STABILITY = "STABILITY";
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
// Default values for certain tagged value options
|
|
|
33 |
public const bool DEFAULT_EA_MASTERING_ALLOWED = true;
|
|
|
34 |
public const bool DEFAULT_UNRESTRICTED_IMPORTS = true;
|
|
|
35 |
public const bool DEFAULT_CREATED_IN_EA = false;
|
|
|
36 |
|
|
|
37 |
// Heading and Key values for options string stored in the Notes of the ReqProDB element
|
|
|
38 |
public const string FILTER_HEADING = "Filter Settings------------------------------------------------------------------------------------------\r\n";
|
|
|
39 |
public const string KEY_FILTER_REQ_STATUS = "REQ_STATUS=";
|
|
|
40 |
public const string KEY_FILTER_REQ_TYPE = "REQ_TYPE=";
|
|
|
41 |
public const string KEY_FILTER_ALLOW_PKG_FRAGS = "ALLOW_PKG_FRAGS=";
|
|
|
42 |
public const string KEY_FILTER_PACKAGE_PREFIX = "GUID=";
|
|
|
43 |
public const string EXPORT_HEADING = "Export Settings------------------------------------------------------------------------------------------\r\n";
|
|
|
44 |
public const string KEY_EXPORTED_GUID = "EXPORTED_GUID=";
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
}
|
|
|
49 |
}
|
|
|
50 |
|