SRConstants.cs
7.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Vrh.iScheduler.Report
{
/// <summary>
/// Az iScheduler.Report-ban használatos állandó gyűjtőhelye.
/// </summary>
public static class SRConstants
{
/// <summary>
/// A modul area neve.
/// </summary>
public const string AREA = "iSchedulerReport";
/// <summary>
/// A modul alapértelmezett controllerének neve.
/// </summary>
public const string CTRL = AREA;
/// <summary>
/// A modul táblázat kezeléssel kapcsolatos kontrollerének neve.
/// </summary>
public const string CTRL_TBL = "Table";
/// <summary>
/// Az alapértelmezett "Configuration" bév az XmlParser-ban.
/// </summary>
public const string DEFAULT_CONFIGNAME = AREA;
/// <summary>
/// Az alapértelmezett SQL kapcsolati sztring név, majd a ConnectionStringStore oldja fel.
/// </summary>
public const string DEFAULT_CONNECTIONSTRINGNAME = MODULNAME + ":connectionString";
/// <summary>
/// A modulra jellemző elnevezés.
/// </summary>
public const string MODULNAME = "VRH." + AREA;
#region Actions for the action names of controller
/// <summary>
/// Au iSchedulerReportController akcióinak megnevezése.
/// </summary>
public static class Actions
{
/// <summary>
/// A "Check" akció neve.
/// </summary>
public const string CHECK = "Check";
/// <summary>
/// Az "Editor" akció neve.
/// </summary>
public const string EDITOR = "Editor";
/// <summary>
/// A "Manager" akció neve.
/// </summary>
public const string MANAGER = "Manager";
/// <summary>
/// A "List" akció neve.
/// </summary>
public const string LIST = "List";
/// <summary>
/// A "ListOperations" akció neve.
/// </summary>
public const string LISTOPERATIONS = "ListOperations";
}
#endregion Actions for the action names of controller
#region Groups static class
/// <summary>
/// Speciális csoport azonosítók állandói.
/// </summary>
public static class Groups
{
/// <summary>
/// Annak jelölése, hogy az összes csoporthoz tartozó csomag kell.
/// </summary>
public const string All = "*";
}
#endregion Groups static class
#region Ids for the inputs and others of the html
/// <summary>
/// A HTML-ben használt inputok vagy egyéb eszközök azonosítói.
/// </summary>
public static class Ids
{
/// <summary>
/// A Manager.cshtml-ben a DataTable táblázat azonosítója.
/// </summary>
public const string TABLE = "grid-ischedulerreport";
#region Button static class
/// <summary>
/// Nyomógombokra vonatkozó azonosítók.
/// </summary>
public static class Button
{
/// <summary>
/// Csomag hozzáadása gomb azonosítója.
/// </summary>
public const string CREATE = "add-package";
/// <summary>
/// Csomagjelölések törlése nyomógomb azonosítója
/// a Manager felületen.
/// </summary>
public const string MARK_CLEAR = "mark-clear";
/// <summary>
/// Csomagok megjelölése "H" betűvel nyomógomb azonosítója
/// a Manager felületen.
/// </summary>
public const string MARK_MISSING = "mark-pack-missing";
/// <summary>
/// Csomagok megjelölése "N" betűvel nyomógomb azonosítója
/// a Manager felületen.
/// </summary>
public const string MARK_NOSCHEDULE = "mark-pack-noschedule";
}
#endregion Button static class
#region Form static class
/// <summary>
/// Nyomógombokra vonatkozó azonosítók.
/// </summary>
public static class Form
{
/// <summary>
/// Az Editor.cshtml-ben a Form azonosítója.
/// </summary>
public const string EDITOR = "form-ischedulerreport";
}
#endregion Form static class
#region Input static class
/// <summary>
/// Nyomógombokra vonatkozó azonosítók.
/// </summary>
public static class Input
{
/// <summary>
/// A Manager felületen az aktív szűrés select inputjának azonosítója.
/// </summary>
public const string FILTER_ACTIVE = "inputfilter-active";
}
#endregion Input static class
}
#endregion Ids for the inputs and others of the html
#region Operations static class
/// <summary>
/// Az objektumokon elvégezhető máveletek kulcsa és neve.
/// </summary>
public static class Operations
{
/// <summary>
/// "Execute" művelet neve és kulcsa.
/// </summary>
public const string EXECUTE_KEY = "Exec";
public const string EXECUTE_TEXT = "Execute";
/// <summary>
/// "Execute" művelet neve és kulcsa.
/// </summary>
public const string FILEREPORT_KEY = "File";
public const string FILEPORT_TEXT = "Save report to file";
/// <summary>
/// "Export" művelet neve és kulcsa.
/// </summary>
public const string EXPORTDATA_KEY = "Export";
public const string EXPORTDATA_TEXT = "Export report data to file";
/// <summary>
/// "Export" művelet neve és kulcsa.
/// </summary>
public const string FILEOREXPORT_KEY = "FilExp";
public const string FILEOREXPORT_TEXT = "File report or export report data";
}
#endregion Groups static class
#region Views class for view names
/// <summary>
/// A modulban alkalmazott nézetek megnevezései.
/// </summary>
public static class Views
{
/// <summary>
/// Az ütemezés szerkesztő felület nézet neve.
/// </summary>
public const string EDITOR = "Editor";
/// <summary>
/// A hibákat megjelenítő nézet neve.
/// </summary>
public const string ERRORLIST = "ErrorList";
/// <summary>
/// Az ütemezések táblázatát megjelenítő nézet.
/// "List" display mód esetén.
/// </summary>
public const string MANAGER = "Manager";
}
#endregion Views class for view names
}
}