112 |
|
|
113 |
|
public static List<ushort> GetValues() { return value_pairs.Keys.ToList(); } |
114 |
|
public static List<string> GetNames() { return name_pairs.Keys.ToList(); } |
115 |
+ |
|
116 |
+ |
public string Name { get { return CurrentValue.Name; } } |
117 |
+ |
public ushort Value { get { return CurrentValue.Value; } } |
118 |
+ |
|
119 |
|
} |
120 |
|
public static class logger |
121 |
|
{ |
122 |
|
private static loggerflags logging_flags; |
123 |
|
static logger() { SetLoggingFlags(loggerflags.DEFAULT); } |
124 |
|
public static void SetLoggingFlags(loggerflags flags) { logging_flags = flags; } |
125 |
< |
public static ushort GetLoggingFlags() { return logging_flags; } |
125 |
> |
public static loggerflags GetLoggingFlags() { return logging_flags; } |
126 |
|
#region sub-classes |
127 |
|
private static string CreateTimeStamp() |
128 |
|
{ |