Commit 050ae472 050ae472cae9569449d63243f304a0a2246477e2 by Марк Денисенко

Merge branch 'create_long_archive' into 'master'

Импорт пакета разработки [Rx]

See merge request !1
2 parents 5258bad0 86f8e6c6
Showing 1000 changed files with 4423 additions and 0 deletions

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.CaseInventory;
7
8 namespace DirRX.CaseArchiving.Client
9 {
10 partial class CaseInventoryActions
11 {
12 public override void SendForApproval(Sungero.Domain.Client.ExecuteActionArgs e)
13 {
14 base.SendForApproval(e);
15 }
16
17 public override bool CanSendForApproval(Sungero.Domain.Client.CanExecuteActionArgs e)
18 {
19 return base.CanSendForApproval(e);
20 }
21
22 public virtual void CreateVersionFromReport(Sungero.Domain.Client.ExecuteActionArgs e)
23 {
24 // Если документ свежесозданный, сохранить его, чтобы были проверены обязательные поля.
25 if (_obj.State.IsInserted)
26 _obj.Save();
27
28 // Переформировать версию может только делопроизводитель, указанный в описи.
29 if (Users.Current != null && Users.Current.IsSystem != true && _obj.Responsible != null &&
30 _obj.Responsible != Storage.PublicFunctions.Module.Remote.GetEmployeeForCurentUser())
31 {
32 CaseInventories.Resources.WarningOnlyResponsibleCanReformVersionFormat(_obj.Responsible.DisplayValue);
33 return;
34 }
35
36 var oldVersion = _obj.LastVersion;
37 var newVerison = CaseArchiving.PublicFunctions.CaseInventory.GenerateLastVersionFromReport(_obj);
38
39 if (newVerison != null)
40 Dialogs.NotifyMessage(oldVersion == newVerison ? CaseInventories.Resources.NotifyVersionReformatted : CaseInventories.Resources.NotifyVersionCreated);
41 else
42 e.AddError(CaseInventories.Resources.ErrorFailedReformatVersion);
43 }
44
45 public virtual bool CanCreateVersionFromReport(Sungero.Domain.Client.CanExecuteActionArgs e)
46 {
47 // Нельзя переформировывать опись, если указана дата передачи на архивное хранение.
48 return !_obj.ArchiveDate.HasValue;
49 }
50
51 public virtual void RemoveCaseFiles(Sungero.Domain.Client.ExecuteActionArgs e)
52 {
53 // Отобразить диалог для исключения дел из описи.
54 var error = Functions.CaseInventory.RemoveCaseFilesDialog(_obj, null);
55
56 if (error != string.Empty)
57 e.AddWarning(error);
58 else
59 Dialogs.NotifyMessage("Дела исключены из описи.");
60 }
61
62 public virtual bool CanRemoveCaseFiles(Sungero.Domain.Client.CanExecuteActionArgs e)
63 {
64 return !_obj.State.IsInserted;
65 }
66
67 public virtual void AddCaseFiles(Sungero.Domain.Client.ExecuteActionArgs e)
68 {
69 // Проверить, что заполнены все обязательные свойства.
70 // Пока просто через сохранение.
71 if (_obj.State.IsChanged)
72 _obj.Save();
73
74 // Отобразить диалог для включения дел в опись.
75 var error = Functions.CaseInventory.AddCaseFilesDialog(_obj);
76
77 if (error != string.Empty)
78 e.AddWarning(error);
79 else
80 Dialogs.NotifyMessage("Дела включены в опись.");
81 }
82
83 public virtual bool CanAddCaseFiles(Sungero.Domain.Client.CanExecuteActionArgs e)
84 {
85 return true;
86 }
87
88 public virtual void ShowCaseFiles(Sungero.Domain.Client.ExecuteActionArgs e)
89 {
90 PublicFunctions.CaseInventory.Remote.GetCaseFiles(_obj).Show();
91 }
92
93 public virtual bool CanShowCaseFiles(Sungero.Domain.Client.CanExecuteActionArgs e)
94 {
95 return true;
96 }
97
98 }
99 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.CaseInventory;
7
8 namespace DirRX.CaseArchiving.Client
9 {
10 partial class CaseInventoryFunctions
11 {
12 /// <summary>
13 /// Отобразить диалог для включения выбранных дел в опись.
14 /// </summary>
15 /// <returns>Сообщение об ошибке, либо пустая строка.</returns>
16 [Public]
17 public virtual string AddCaseFilesDialog()
18 {
19 // Получить список завершенных дел, не включенных в описи.
20 var query = PublicFunctions.Module.Remote.GetCaseFiles(DirRX.LongTermArchive.CaseFile.LTAStageDirRX.CompletedDirRX);
21
22 // Наложить фильтры по значениями обязательных свойств.
23 if (_obj.EndOfYear.HasValue)
24 {
25 var year = _obj.EndOfYear.Value.Year;
26 query = query.Where(x => x.StartDate.Value.Year <= year && (x.EndDate.HasValue ? x.EndDate.Value.Year : 5000) >= year);
27 }
28
29 if (_obj.Responsible != null)
30 query = query.Where(x => x.LTAResponsibleDirRX != null && x.LTAResponsibleDirRX.Equals(_obj.Responsible));
31
32 if (_obj.Department != null && Functions.Module.Remote.IsCreateCaseInventoryByDepartments())
33 query = query.Where(x => x.Department != null && x.Department.Equals(_obj.Department));
34
35 if (_obj.DocumentKind.Name == DirRX.CaseArchiving.Resources.InitPaperCaseInvenoryDocumentKindName)
36 query = query.Where(x => x.LTAIsPaperDirRX.HasValue && x.LTAIsPaperDirRX.Value);
37 else
38 query = query.Where(x => !x.LTAIsPaperDirRX.HasValue || !x.LTAIsPaperDirRX.Value);
39
40 if (query.Any())
41 {
42 // Отобразить диалог выбора дел. Включить выбранные дела в опись.
43 var dialog = Dialogs.CreateInputDialog(Resources.AddCaseFilesDialogTitle);
44 var caseFileSelector = dialog.AddSelectMany(Resources.CaseFilesLabel, true, DirRX.LongTermArchive.CaseFiles.Null)
45 .From(query.ToArray());
46
47 if (dialog.Show() == DialogButtons.Ok)
48 {
49 foreach (var caseFile in caseFileSelector.Value)
50 if (!DirRX.LongTermArchive.PublicFunctions.CaseFile.UpdateInventory(caseFile, _obj))
51 return CaseInventories.Resources.WarningCanNotUpdateCaseFileFormat(caseFile.DisplayValue);
52 }
53 }
54 else
55 return CaseInventories.Resources.WarningCaseFilesNotFound;
56
57 return string.Empty;
58 }
59
60 /// <summary>
61 /// Отобразить диалог для исключения выбранных дел из описи.
62 /// </summary>
63 /// <param name="caseFileList">Список дел для исключения. Если не пуст, диалог не будет отображен.</param>
64 /// <returns>Сообщение об ошибке, либо пустая строка.</returns>
65 [Public]
66 public virtual string RemoveCaseFilesDialog(List<DirRX.LongTermArchive.ICaseFile> caseFileList)
67 {
68 // Получить список дел текущей описи.
69 var query = CaseArchiving.PublicFunctions.CaseInventory.Remote.GetCaseFiles(_obj);
70
71 // Вызвать диалог для изменения списка.
72 if (query.Any())
73 {
74 if (caseFileList == null || caseFileList.Count == 0)
75 {
76 // Отобразить диалог выбора дел.
77 var dialog = Dialogs.CreateInputDialog(Resources.RemoveCaseFileDialogTitle);
78 var caseFileSelector = dialog.AddSelectMany(Resources.CaseFilesLabel, true, DirRX.LongTermArchive.CaseFiles.Null)
79 .From(query.ToArray());
80
81 if (dialog.Show() == DialogButtons.Ok)
82 {
83 caseFileList = caseFileSelector.Value.ToList();
84 }
85 }
86
87 // Исключить выбранные дела из описи.
88 if (caseFileList.Count > 0)
89 {
90 foreach (var caseFile in caseFileList)
91 {
92 if (!DirRX.LongTermArchive.PublicFunctions.CaseFile.UpdateInventory(caseFile, null))
93 return CaseArchiving.CaseInventories.Resources.WarningCanNotUpdateCaseFileFormat(caseFile.DisplayValue);
94 }
95 }
96 }
97 else
98 return CaseArchiving.CaseInventories.Resources.WarningCaseListIsEmpty;
99
100 return string.Empty;
101 }
102
103 /// <summary>
104 /// Изменение доступности /обязательности свойств.
105 /// </summary>
106 public void SetStateProperties()
107 {
108 _obj.State.Properties.BusinessUnit.IsRequired = false;
109 _obj.State.Properties.Department.IsRequired = false;
110 _obj.State.Properties.BusinessUnit.IsEnabled = false;
111 _obj.State.Properties.Department.IsEnabled = false;
112 _obj.State.Properties.DocumentKind.IsEnabled = false;
113 }
114
115 }
116 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.CaseInventory;
7
8 namespace DirRX.CaseArchiving
9 {
10 partial class CaseInventoryClientHandlers
11 {
12
13 public override void Showing(Sungero.Presentation.FormShowingEventArgs e)
14 {
15 base.Showing(e);
16
17 Functions.CaseInventory.SetStateProperties(_obj);
18 }
19
20 public override void Refresh(Sungero.Presentation.FormRefreshEventArgs e)
21 {
22 base.Refresh(e);
23
24 Functions.CaseInventory.SetStateProperties(_obj);
25 }
26 }
27 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0"?>
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" width="512" height="512" x="0" y="0" viewBox="0 0 349.03 349.031" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g>
3 <g xmlns="http://www.w3.org/2000/svg">
4 <path d="M349.03,141.226v66.579c0,5.012-4.061,9.079-9.079,9.079H216.884v123.067c0,5.019-4.067,9.079-9.079,9.079h-66.579 c-5.009,0-9.079-4.061-9.079-9.079V216.884H9.079c-5.016,0-9.079-4.067-9.079-9.079v-66.579c0-5.013,4.063-9.079,9.079-9.079 h123.068V9.079c0-5.018,4.069-9.079,9.079-9.079h66.579c5.012,0,9.079,4.061,9.079,9.079v123.068h123.067 C344.97,132.147,349.03,136.213,349.03,141.226z" fill="#53be5d" data-original="#000000" style="" class=""/>
5 </g>
6 <g xmlns="http://www.w3.org/2000/svg">
7 </g>
8 <g xmlns="http://www.w3.org/2000/svg">
9 </g>
10 <g xmlns="http://www.w3.org/2000/svg">
11 </g>
12 <g xmlns="http://www.w3.org/2000/svg">
13 </g>
14 <g xmlns="http://www.w3.org/2000/svg">
15 </g>
16 <g xmlns="http://www.w3.org/2000/svg">
17 </g>
18 <g xmlns="http://www.w3.org/2000/svg">
19 </g>
20 <g xmlns="http://www.w3.org/2000/svg">
21 </g>
22 <g xmlns="http://www.w3.org/2000/svg">
23 </g>
24 <g xmlns="http://www.w3.org/2000/svg">
25 </g>
26 <g xmlns="http://www.w3.org/2000/svg">
27 </g>
28 <g xmlns="http://www.w3.org/2000/svg">
29 </g>
30 <g xmlns="http://www.w3.org/2000/svg">
31 </g>
32 <g xmlns="http://www.w3.org/2000/svg">
33 </g>
34 <g xmlns="http://www.w3.org/2000/svg">
35 </g>
36 </g></svg>
1 <?xml version="1.0"?>
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" width="512" height="512" x="0" y="0" viewBox="0 0 349.03 349.031" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g>
3 <g xmlns="http://www.w3.org/2000/svg">
4 <path d="M349.03,141.226v66.579c0,5.012-4.061,9.079-9.079,9.079H216.884v123.067c0,5.019-4.067,9.079-9.079,9.079h-66.579 c-5.009,0-9.079-4.061-9.079-9.079V216.884H9.079c-5.016,0-9.079-4.067-9.079-9.079v-66.579c0-5.013,4.063-9.079,9.079-9.079 h123.068V9.079c0-5.018,4.069-9.079,9.079-9.079h66.579c5.012,0,9.079,4.061,9.079,9.079v123.068h123.067 C344.97,132.147,349.03,136.213,349.03,141.226z" fill="#53be5d" data-original="#000000" style="" class=""/>
5 </g>
6 <g xmlns="http://www.w3.org/2000/svg">
7 </g>
8 <g xmlns="http://www.w3.org/2000/svg">
9 </g>
10 <g xmlns="http://www.w3.org/2000/svg">
11 </g>
12 <g xmlns="http://www.w3.org/2000/svg">
13 </g>
14 <g xmlns="http://www.w3.org/2000/svg">
15 </g>
16 <g xmlns="http://www.w3.org/2000/svg">
17 </g>
18 <g xmlns="http://www.w3.org/2000/svg">
19 </g>
20 <g xmlns="http://www.w3.org/2000/svg">
21 </g>
22 <g xmlns="http://www.w3.org/2000/svg">
23 </g>
24 <g xmlns="http://www.w3.org/2000/svg">
25 </g>
26 <g xmlns="http://www.w3.org/2000/svg">
27 </g>
28 <g xmlns="http://www.w3.org/2000/svg">
29 </g>
30 <g xmlns="http://www.w3.org/2000/svg">
31 </g>
32 <g xmlns="http://www.w3.org/2000/svg">
33 </g>
34 <g xmlns="http://www.w3.org/2000/svg">
35 </g>
36 </g></svg>
1 <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><title>Action_CreateVersion_large_c2f699e1cecf458bbfe00b2efea4b94c</title><path d="M28,17V3a1,1,0,0,0-1-1H8V17H28Z" fill="#6fa6d4"/><rect x="7" y="2" width="1" height="15" fill="#fff"/><rect x="13" y="7" width="11" height="4" fill="#fff"/><path d="M7,17V2H6A2,2,0,0,0,4,4V17H7Z" fill="#6fa6d4"/><rect x="3" y="23" width="26" height="2" fill="#9da2a5"/><rect x="3" y="19" width="26" height="2" fill="#9da2a5"/><rect y="27" width="32" height="4" rx="1" ry="1" fill="#956939"/><path d="M13,6a2.08,2.08,0,0,0-2-2H10.83l0.12-.12A2.1,2.1,0,0,0,11.45,2H4v9a2.08,2.08,0,0,0,2,2,2.08,2.08,0,0,0,2-2V10.83l0.12,0.12a2.06,2.06,0,0,0,1.43.55,2,2,0,0,0,1.39-.55,2.08,2.08,0,0,0,0-2.83L10.83,8H11A2.08,2.08,0,0,0,13,6Z" fill="#fff"/><path d="M6,12a1.1,1.1,0,0,1-1-1V1A1.1,1.1,0,0,1,6,0,1.1,1.1,0,0,1,7,1V11A1.1,1.1,0,0,1,6,12Z" fill="#e0ad5c"/><path d="M11,7H1A1.1,1.1,0,0,1,0,6,1.1,1.1,0,0,1,1,5H11a1.1,1.1,0,0,1,1,1A1.1,1.1,0,0,1,11,7Z" fill="#e0ad5c"/><path d="M10.24,10.24a1.1,1.1,0,0,1-1.41,0L1.76,3.17a1.1,1.1,0,0,1,0-1.41,1.1,1.1,0,0,1,1.41,0l7.07,7.07A1.1,1.1,0,0,1,10.24,10.24Z" fill="#e0ad5c"/><path d="M10.24,3.17L3.17,10.24a1.1,1.1,0,0,1-1.41,0,1.1,1.1,0,0,1,0-1.41L8.83,1.76a1.1,1.1,0,0,1,1.41,0A1.1,1.1,0,0,1,10.24,3.17Z" fill="#e0ad5c"/><circle cx="6" cy="6" r="1.5" fill="#fff"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><title>Action_CreateVersion_small_c2f699e1cecf458bbfe00b2efea4b94c</title><path d="M14,8V1.5A0.5,0.5,0,0,0,13.5,1H5V8h9Z" fill="#6fa6d4"/><rect x="4" y="1" width="1" height="7" fill="#fff"/><rect x="7" y="4" width="5" height="2" fill="#fff"/><path d="M4,8V1H3.5A1.5,1.5,0,0,0,2,2.5V8H4Z" fill="#6fa6d4"/><rect x="1" y="11" width="14" height="1" fill="#798288"/><rect x="1" y="9" width="14" height="1" fill="#798288"/><rect y="13" width="16" height="3" rx="0.5" ry="0.5" fill="#956939"/><path d="M8,3.48A1.49,1.49,0,0,0,6.91,2a1.5,1.5,0,0,0,0-1H2V6.91H2A1.49,1.49,0,0,0,3.5,8,1.49,1.49,0,0,0,5,6.9a1.48,1.48,0,0,0,.54.1,1.5,1.5,0,0,0,1.4-2.06A1.49,1.49,0,0,0,8,3.48Z" fill="#fff"/><path d="M3.5,7A0.47,0.47,0,0,1,3,6.56V0.44A0.47,0.47,0,0,1,3.5,0,0.47,0.47,0,0,1,4,.44V6.56A0.47,0.47,0,0,1,3.5,7Z" fill="#d59633"/><path d="M6.56,4H0.44A0.47,0.47,0,0,1,0,3.48,0.47,0.47,0,0,1,.44,3H6.56a0.47,0.47,0,0,1,.44.5A0.47,0.47,0,0,1,6.56,4Z" fill="#d59633"/><path d="M1.5,6a0.5,0.5,0,0,1-.35-0.85l4-4a0.5,0.5,0,0,1,.71.71l-4,4A0.5,0.5,0,0,1,1.5,6Z" fill="#d59633"/><path d="M5.49,6a0.51,0.51,0,0,0,.36-0.15,0.5,0.5,0,0,0,0-.71l-4-4a0.5,0.5,0,0,0-.71.71l4,4A0.49,0.49,0,0,0,5.49,6Z" fill="#d59633"/><circle cx="3.5" cy="3.5" r="0.5" fill="#fff"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0"?>
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" width="512" height="512" x="0" y="0" viewBox="0 0 22.354 22.354" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g>
3 <g xmlns="http://www.w3.org/2000/svg">
4 <rect y="8.61" width="22.354" height="5.133" fill="#ff6363" data-original="#000000" style="" class=""/>
5 </g>
6 <g xmlns="http://www.w3.org/2000/svg">
7 </g>
8 <g xmlns="http://www.w3.org/2000/svg">
9 </g>
10 <g xmlns="http://www.w3.org/2000/svg">
11 </g>
12 <g xmlns="http://www.w3.org/2000/svg">
13 </g>
14 <g xmlns="http://www.w3.org/2000/svg">
15 </g>
16 <g xmlns="http://www.w3.org/2000/svg">
17 </g>
18 <g xmlns="http://www.w3.org/2000/svg">
19 </g>
20 <g xmlns="http://www.w3.org/2000/svg">
21 </g>
22 <g xmlns="http://www.w3.org/2000/svg">
23 </g>
24 <g xmlns="http://www.w3.org/2000/svg">
25 </g>
26 <g xmlns="http://www.w3.org/2000/svg">
27 </g>
28 <g xmlns="http://www.w3.org/2000/svg">
29 </g>
30 <g xmlns="http://www.w3.org/2000/svg">
31 </g>
32 <g xmlns="http://www.w3.org/2000/svg">
33 </g>
34 <g xmlns="http://www.w3.org/2000/svg">
35 </g>
36 </g></svg>
1 <?xml version="1.0"?>
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" width="512" height="512" x="0" y="0" viewBox="0 0 22.354 22.354" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g>
3 <g xmlns="http://www.w3.org/2000/svg">
4 <rect y="8.61" width="22.354" height="5.133" fill="#ff6363" data-original="#000000" style="" class=""/>
5 </g>
6 <g xmlns="http://www.w3.org/2000/svg">
7 </g>
8 <g xmlns="http://www.w3.org/2000/svg">
9 </g>
10 <g xmlns="http://www.w3.org/2000/svg">
11 </g>
12 <g xmlns="http://www.w3.org/2000/svg">
13 </g>
14 <g xmlns="http://www.w3.org/2000/svg">
15 </g>
16 <g xmlns="http://www.w3.org/2000/svg">
17 </g>
18 <g xmlns="http://www.w3.org/2000/svg">
19 </g>
20 <g xmlns="http://www.w3.org/2000/svg">
21 </g>
22 <g xmlns="http://www.w3.org/2000/svg">
23 </g>
24 <g xmlns="http://www.w3.org/2000/svg">
25 </g>
26 <g xmlns="http://www.w3.org/2000/svg">
27 </g>
28 <g xmlns="http://www.w3.org/2000/svg">
29 </g>
30 <g xmlns="http://www.w3.org/2000/svg">
31 </g>
32 <g xmlns="http://www.w3.org/2000/svg">
33 </g>
34 <g xmlns="http://www.w3.org/2000/svg">
35 </g>
36 </g></svg>
1 <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><title>GroupIconLinks_large_4587e4ba98c4428eabee37d8eab138cd</title><path d="M8,0H28a1,1,0,0,1,1,1V27a1,1,0,0,1-1,1H8a0,0,0,0,1,0,0V0A0,0,0,0,1,8,0Z" fill="#6fa6d4"/><rect x="7" width="1" height="30" fill="#fff"/><path d="M5,30,7,0H6A2,2,0,0,0,4,2V30a2,2,0,0,0,2,2H28a0.94,0.94,0,0,0,1-1,0.91,0.91,0,0,0-1-1H7V0H7Z" fill="#6fa6d4"/><rect x="13" y="6" width="12" height="4" fill="#fff"/><path d="M7,28H28a0,0,0,0,1,0,0v2a0,0,0,0,1,0,0H7a1,1,0,0,1-1-1v0a1,1,0,0,1,1-1Z" fill="#fff"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><title>GroupIconLinks_large_4587e4ba98c4428eabee37d8eab138cd</title><path d="M8,0H28a1,1,0,0,1,1,1V27a1,1,0,0,1-1,1H8a0,0,0,0,1,0,0V0A0,0,0,0,1,8,0Z" fill="#6fa6d4"/><rect x="7" width="1" height="30" fill="#fff"/><path d="M5,30,7,0H6A2,2,0,0,0,4,2V30a2,2,0,0,0,2,2H28a0.94,0.94,0,0,0,1-1,0.91,0.91,0,0,0-1-1H7V0H7Z" fill="#6fa6d4"/><rect x="13" y="6" width="12" height="4" fill="#fff"/><path d="M7,28H28a0,0,0,0,1,0,0v2a0,0,0,0,1,0,0H7a1,1,0,0,1-1-1v0a1,1,0,0,1,1-1Z" fill="#fff"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6
7 namespace DirRX.CaseArchiving.Client
8 {
9 public class ModuleFunctions
10 {
11 /// <summary>
12 /// Отобразить диалог для создания описей электронных дел.
13 /// </summary>
14 [Public]
15 public virtual void ShowCaseInventoryCreationDialog()
16 {
17 // Проверить наличие завершенных дел для включения в описи.
18 var caseFiles = CaseArchiving.PublicFunctions.Module.Remote.GetCaseFiles(DirRX.LongTermArchive.CaseFile.LTAStageDirRX.CompletedDirRX);
19 var isCreateByDepartments = CaseArchiving.PublicFunctions.Module.Remote.IsCreateCaseInventoryByDepartments();
20 if (isCreateByDepartments)
21 caseFiles = caseFiles.Where(x => x.Department != null);
22
23 if (!caseFiles.Any())
24 {
25 Dialogs.ShowMessage(CaseArchiving.Resources.CreateInventoriesDialogCaseFileNotFoundWarning, MessageType.Warning);
26 return;
27 }
28
29 // Запросить критерии формирования описей.
30 var dialog = Dialogs.CreateInputDialog(CaseArchiving.Resources.CreateInventoriesDialogTitle);
31 var yearSelector = dialog.AddString(CaseArchiving.Resources.CreateInventoriesDialogYearLabel, true, Calendar.Now.Year.ToString());
32 var caseInventoryKindList = caseFiles.Where(x => x.LTAInventoryKindDirRX != null).Select(x => x.LTAInventoryKindDirRX).Distinct();
33 var documentKinds = dialog.AddSelectMany(CaseArchiving.Resources.CreateInventoriesDialogKindsLabel, false, caseInventoryKindList.First()).From(caseInventoryKindList);
34
35 var registrationGroups = dialog.AddSelectMany(Sungero.Docflow.RegistrationGroups.Info.LocalizedPluralName, false, Sungero.Docflow.RegistrationGroups.Null)
36 .From(caseFiles.Where(x => x.RegistrationGroup != null).Select(x => x.RegistrationGroup).Distinct().ToArray());
37
38 var departments = dialog.AddSelectMany(Sungero.Company.Departments.Info.LocalizedPluralName, false, Sungero.Company.Departments.Null);
39
40 if (isCreateByDepartments)
41 departments.From(caseFiles.Select(x => x.Department).Distinct());
42 else
43 departments.IsVisible = false;
44
45 var caseInventoryResponsibleList = caseFiles.Where(x => x.LTAResponsibleDirRX != null).Select(x => x.LTAResponsibleDirRX).Distinct();
46 var responsibles = dialog.AddSelectMany(CaseArchiving.Resources.CreateInventoriesDialogResponsibleLabel, false, Sungero.Company.Employees.Null).From(caseInventoryResponsibleList);
47
48 var curentUserEmployee = Storage.PublicFunctions.Module.Remote.GetEmployeeForCurentUser();
49 if (curentUserEmployee != null)
50 responsibles.Value = caseInventoryResponsibleList.AsEnumerable().Where(x => x.Equals(curentUserEmployee));
51
52 var archivists = CaseArchiving.PublicFunctions.Module.Remote.GetEmployeesForArchivistRole();
53 var archivist = dialog.AddSelect(CaseArchiving.Resources.CreateInventoriesDialogArchivistLabel, true, archivists.FirstOrDefault()).From(archivists);
54
55 dialog.SetOnButtonClick((e) =>
56 {
57 if (e.Button == DialogButtons.Ok)
58 {
59 int tmp;
60 if (!(int.TryParse(yearSelector.Value, out tmp) && tmp > 1990))
61 e.AddError("Неверно указан год.");
62 }
63 });
64
65 if (dialog.Show() == DialogButtons.Ok)
66 {
67 var year = int.Parse(yearSelector.Value);
68
69 // Наложить полученные в диалоге фильтры на список завершенных дел.
70 caseFiles = caseFiles.Where(x => (x.StartDate.HasValue ? x.StartDate.Value.Year : 0) <= year && (x.EndDate.HasValue ? x.EndDate.Value.Year : 5000) >= year);
71
72 if (documentKinds.Value.Any())
73 caseFiles = caseFiles.Where(x => x.LTAInventoryKindDirRX != null && documentKinds.Value.Contains(x.LTAInventoryKindDirRX));
74
75 if (departments.Value.Any())
76 caseFiles = caseFiles.Where(x => x.Department != null && departments.Value.Contains(x.Department));
77
78 if (registrationGroups.Value.Any())
79 caseFiles = caseFiles.Where(x => x.RegistrationGroup != null && registrationGroups.Value.Contains(x.RegistrationGroup));
80
81 if (responsibles.Value.Any())
82 {
83 var responsibleIds = responsibles.Value.Select(x => x.Id).ToList();
84 caseFiles = caseFiles.Where(x => x.LTAResponsibleDirRX != null && responsibleIds.Contains(x.LTAResponsibleDirRX.Id));
85 }
86
87 if (!caseFiles.Any())
88 {
89 Dialogs.ShowMessage(CaseArchiving.Resources.CreateInventoriesDialogCaseFileNotFoundWarning, MessageType.Warning);
90 return;
91 }
92
93 // Создать и отобразить описи дел.
94 var emptyCaseInventories = CaseArchiving.PublicFunctions.Module.Remote.CreateCaseInventories(year, caseFiles.ToList(), archivist.Value).ToList();
95 var filledCaseInventories = FillCaseInventories(emptyCaseInventories);
96 filledCaseInventories.Show();
97 }
98 }
99
100 /// <summary>
101 /// Заполнить описи отчётом и отправить на проверку.
102 /// </summary>
103 /// <param name="emptyCaseInventories">Пустые описи.</param>
104 /// <returns>Заполненные описи.</returns>
105 public virtual List<CaseArchiving.ICaseInventory> FillCaseInventories(List<CaseArchiving.ICaseInventory> emptyCaseInventories)
106 {
107 var filledCaseInventories = new List<CaseArchiving.ICaseInventory>();
108 foreach (var caseInventory in emptyCaseInventories)
109 {
110 // Сформировать тело документа из отчета.
111 CaseArchiving.PublicFunctions.CaseInventory.GenerateLastVersionFromReport(caseInventory);
112 filledCaseInventories.Add(caseInventory);
113
114 // Отправить опись на верификацию.
115 CaseArchiving.PublicFunctions.Module.SendCaseInventoryForVerification(caseInventory);
116 }
117 return filledCaseInventories;
118 }
119
120 /// <summary>
121 /// Отобразить настройки модуля "Описи электронных дел".
122 /// </summary>
123 [Public]
124 public virtual void ShowCaseInventorySettingsDialog()
125 {
126 var createInventoryByDepartments = CaseArchiving.PublicFunctions.Module.Remote.IsCreateCaseInventoryByDepartments();
127 var useInventoryInSource = CaseArchiving.PublicFunctions.Module.Remote.IsCaseInventoryUsedInSourceSystem();
128 var useInventoryInArchive = CaseArchiving.PublicFunctions.Module.Remote.IsCaseInventoryUsedInArchiveSystem();
129
130 var dialog = Dialogs.CreateInputDialog(Resources.CaseInventorySettingsDialogTitle);
131 var useInSourceSelector = dialog.AddBoolean(Resources.CaseInventorySettingsUseInSourceLabel, useInventoryInSource);
132 var useInArchiveSelector = dialog.AddBoolean(Resources.CaseInventorySettingsUseInArchiveLabel, useInventoryInArchive);
133 var createByDepartmentSelector = dialog.AddBoolean(Resources.CaseInventorySettingsCreateByDepartmentsLabel, createInventoryByDepartments);
134
135 // Сделать настройки места использования описей взаимоисключающими.
136 useInArchiveSelector.SetOnValueChanged((m) =>
137 {
138 if (m.NewValue == true)
139 useInSourceSelector.Value = false;
140 });
141 useInSourceSelector.SetOnValueChanged((m) =>
142 {
143 if (m.NewValue == true)
144 useInArchiveSelector.Value = false;
145 });
146
147 if (dialog.Show() == DialogButtons.Ok)
148 {
149 if (createByDepartmentSelector.Value.Value != createInventoryByDepartments)
150 CaseArchiving.PublicFunctions.Module.Remote.SetDocflowParam(CaseArchiving.PublicConstants.Module.DocflowParams.CreateCaseInventoryByDepartmentsKey, createByDepartmentSelector.Value.Value.ToString().ToLower());
151
152 if (useInSourceSelector != null)
153 {
154 if (useInSourceSelector.Value.Value != useInventoryInSource)
155 CaseArchiving.PublicFunctions.Module.Remote.SetDocflowParam(CaseArchiving.PublicConstants.Module.DocflowParams.UseCaseInventoryInSourceSystemKey, useInSourceSelector.Value.Value.ToString().ToLower());
156 if (useInArchiveSelector.Value.Value != useInventoryInArchive)
157 CaseArchiving.PublicFunctions.Module.Remote.SetDocflowParam(CaseArchiving.PublicConstants.Module.DocflowParams.UseCaseInventoryInArchiveSystemKey, useInArchiveSelector.Value.Value.ToString().ToLower());
158 }
159 }
160 }
161
162 }
163 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6
7 namespace DirRX.CaseArchiving.Client
8 {
9
10 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6
7 namespace DirRX.CaseArchiving.Client
8 {
9
10 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6
7 namespace DirRX.CaseArchiving
8 {
9 partial class CaseInventoryMainReportClientHandlers
10 {
11
12 }
13 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6
7 namespace DirRX.CaseArchiving
8 {
9 partial class PaperCaseInventoryMainReportClientHandlers
10 {
11
12 }
13 }
...\ No newline at end of file ...\ No newline at end of file
1 <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="16pt" height="16pt" viewBox="0 0 16 16"><title>PerformJobIcon</title><path d="M6.35,15a1.31,1.31,0,0,1-.93-0.39l-5-5A1.32,1.32,0,1,1,2.25,7.7l4,4,7.42-9.47a1.32,1.32,0,0,1,2.07,1.62L7.39,14.48a1.31,1.31,0,0,1-1,.5H6.35Z" fill="#75ad15"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="16pt" height="16pt" viewBox="0 0 16 16"><title>PerformJobIcon</title><path d="M6.35,15a1.31,1.31,0,0,1-.93-0.39l-5-5A1.32,1.32,0,1,1,2.25,7.7l4,4,7.42-9.47a1.32,1.32,0,0,1,2.07,1.62L7.39,14.48a1.31,1.31,0,0,1-1,.5H6.35Z" fill="#75ad15"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><title>large_Forward_3d1fcc96015b48f5b4d6e7428d453dd0</title><path d="M15.21,16.29A52.68,52.68,0,0,1,14.81,22L22,26l3.14,0.49s-1.64-6.88-1.42-10.15c0.13-2,.07-4.56-4.57-4.68C14.93,11.54,15.21,16.29,15.21,16.29Z" fill="#fff"/><path d="M14.28,20.22l1.6,1.24a27,27,0,0,0,.33-4.95,1.46,1.46,0,0,0,0-.15,2.9,2.9,0,0,1,.24-2.26,3.53,3.53,0,0,1,2.75-1h0.27a3.88,3.88,0,0,1,2.93.91c0.58,0.63.26,1.55,0.22,2.21a39.11,39.11,0,0,0,1.16,8.92c-0.81.09-1.72,0.18-2.85,0.24l1.74,1.35c2-.14,3.25-0.35,3.25-0.35s-2-7.12-1.49-11.53c0.13-2-.59-3.2-5-3.2H19.15c-5.37.15-4.57,3.2-4.57,3.2A26.35,26.35,0,0,1,14.28,20.22Z" fill="#8d9599"/><path d="M13.73,6.3c0.12,3.9.1,7.51,2.24,10.58,3.61,3,6.5.31,6.5,0.31S25.13,16,25.24,6.27c0-2-1.4-5.41-6-5.28A5.43,5.43,0,0,0,13.73,6.3Z" fill="#fff"/><path d="M19.5,0c-1.9,0-6,.58-6.5,5.73C13,10.8,12.9,18,19.48,18c4.74,0,6.4-2.51,6.52-12.23C26,2.12,22.93-.14,19.5,0Zm0,16C14.28,16,15,9.49,15,6.18a4.31,4.31,0,0,1,2.52-.78c1.38-.07,4.3.54,6.48-0.17,0,0.19,0,.37,0,0.52C24.38,12.45,23.66,15.79,19.48,16Z" fill="#8d9599"/><path d="M30.58,22l-6.09-2.92s-1.36,3.52-5,3.52-5.14-3.39-5.14-3.39l-2.51,1L20.5,26l-3,2H32V24.21A3.09,3.09,0,0,0,30.58,22Z" fill="#407fb9"/><polygon points="0 23 9 23 9 20 18 26 9 32 9 29 0 29 0 23" fill="#75ad15"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><title>small_Forward_3d1fcc96015b48f5b4d6e7428d453dd0</title><path d="M7.12,8.8C7.16,9.45,7,11.16,7,11.16l5.64,3.31a27.41,27.41,0,0,1-.79-5.64c0.07-1.11,0-2.53-2.54-2.6C7,6.16,7.12,8.8,7.12,8.8Z" fill="#fff"/><path d="M10,7.05a1.75,1.75,0,0,1,1.1.47,1.66,1.66,0,0,1,.34,1.23,21.73,21.73,0,0,0,.64,5c-0.52.06-1.25,0.11-2.08,0.14v0.8a26.47,26.47,0,0,0,3.05-.26A21.89,21.89,0,0,1,12.23,8c0.07-1-.29-1.66-2.23-1.76V7.05Z" fill="#8d9599"/><path d="M6.29,3.25c0.07,2.17.05,4.17,1.24,5.88a2.67,2.67,0,0,0,3.61.17s1.48-.67,1.55-6.07A3,3,0,0,0,9.34.3,3,3,0,0,0,6.29,3.25Z" fill="#fff"/><path d="M9.5,0A3.58,3.58,0,0,0,7.23.69,3.15,3.15,0,0,0,6,3.19C6,6,5.83,10,9.49,10c2.64,0,3.44-1.4,3.51-6.8C13,2.36,12.9,0,9.5,0Zm0,9C6.6,9,7,5.27,7,3.43A2.39,2.39,0,0,1,8.4,3c0.77,0,2.39.3,3.6-.1,0,0.1,0,.21,0,0.29C12.21,6.92,11.81,8.88,9.49,9Z" fill="#8d9599"/><polygon points="5 11 0 11 0 14 5 14 5 16 9 12.5 5 9 5 11" fill="#75ad15"/><path d="M15,12l-2.74-1.6a4.08,4.08,0,0,1-1.7,2.12l0,0L6.65,16H16V13A1.81,1.81,0,0,0,15,12Z" fill="#407fb9"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><title>Aborttask_32</title><path d="M16,1A15,15,0,1,0,31,16,15,15,0,0,0,16,1ZM3,16A13,13,0,0,1,24.37,6.07L6.07,24.37A12.94,12.94,0,0,1,3,16ZM16,29a12.94,12.94,0,0,1-8.37-3.07l18.3-18.3A13,13,0,0,1,16,29Z" fill="#d65633"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><title>Aborttask</title><path d="M8,0a8,8,0,1,0,8,8A8,8,0,0,0,8,0ZM1.3,8a6.7,6.7,0,0,1,11-5.17L2.83,12.25A6.67,6.67,0,0,1,1.3,8ZM8,14.7a6.67,6.67,0,0,1-4.25-1.53l9.43-9.43A6.7,6.7,0,0,1,8,14.7Z" fill="#d65633"/></svg>
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.VerificationAssignment;
7
8 namespace DirRX.CaseArchiving.Client
9 {
10 partial class VerificationAssignmentActions
11 {
12 public virtual void Terminate(Sungero.Workflow.Client.ExecuteResultActionArgs e)
13 {
14 var document = _obj.DocumentGroup.CaseInventories.Single();
15 var error = CaseArchiving.PublicFunctions.CaseInventory.Remote.RemoveAllCaseFiles(document);
16 if (!string.IsNullOrEmpty(error))
17 e.AddError(error);
18 }
19
20 public virtual bool CanTerminate(Sungero.Workflow.Client.CanExecuteResultActionArgs e)
21 {
22 return true;
23 }
24
25 public virtual void Forward(Sungero.Workflow.Client.ExecuteResultActionArgs e)
26 {
27 if (_obj.Addressee == null)
28 {
29 e.AddError(VerificationTasks.Resources.CantRedirectWithoutAddressee);
30 e.Cancel();
31 }
32
33 // Изменить ответственного в описи и в делах.
34 var document = _obj.DocumentGroup.CaseInventories.SingleOrDefault();
35 var error = CaseArchiving.PublicFunctions.CaseInventory.Remote.ChangeCaseFilesResponsible(document, _obj.Addressee);
36 if (!string.IsNullOrEmpty(error))
37 {
38 e.AddError(error);
39 e.Cancel();
40 }
41 }
42
43 public virtual bool CanForward(Sungero.Workflow.Client.CanExecuteResultActionArgs e)
44 {
45 return true;
46 }
47
48 public virtual void Complete(Sungero.Workflow.Client.ExecuteResultActionArgs e)
49 {
50 var document = _obj.DocumentGroup.CaseInventories.SingleOrDefault();
51
52 // Проверить наличие документа.
53 if (document == null || !document.HasVersions)
54 {
55 e.AddError(VerificationTasks.Resources.ErrorDocumentNotFound);
56 return;
57 }
58
59 // Проверить тип текущего пользователя.
60 var currentUser = Sungero.CoreEntities.Users.Current;
61 if (currentUser == null || currentUser.IsSystem == true)
62 {
63 e.AddError(VerificationTasks.Resources.ErrorSystemUserIsNotAllowed);
64 return;
65 }
66
67 // Подписать документ, если еще не подписан.
68 if (!Signatures.Get(document.LastVersion).Where(s => s.Signatory.Equals(currentUser) && s.SignatureType == SignatureType.Endorsing).Any())
69 {
70 if (!Signatures.Endorse(document.LastVersion, VerificationTasks.Resources.EndorseNote))
71 {
72 e.AddError(VerificationTasks.Resources.ErrorUnableToSign);
73 return;
74 }
75 }
76
77  // Обновить жизненный цикл описи в зависимости от ее вида.
78       var isElectronic = document.DocumentKind != null && PublicFunctions.Module.Remote.GetCaseInvenoryDocumentKinds().Contains(document.DocumentKind);
79       document.VerificationState = CaseInventory.VerificationState.Completed;
80       document.InternalApprovalState = isElectronic ? CaseInventory.InternalApprovalState.PendingSign : CaseInventory.InternalApprovalState.OnApproval;      
81       
82       if (document.State.IsChanged)
83         document.Save();
84       
85 // Отправить на согласование по регламенту.
86 PublicFunctions.Module.SendCaseInventoryForApproving(document, _obj.Performer);
87 }
88
89 public virtual bool CanComplete(Sungero.Workflow.Client.CanExecuteResultActionArgs e)
90 {
91 return true;
92 }
93
94 }
95
96 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.VerificationAssignment;
7
8 namespace DirRX.CaseArchiving.Client
9 {
10 partial class VerificationAssignmentFunctions
11 {
12
13 }
14 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.VerificationAssignment;
7
8 namespace DirRX.CaseArchiving
9 {
10 partial class VerificationAssignmentClientHandlers
11 {
12
13 }
14 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.VerificationTask;
7
8 namespace DirRX.CaseArchiving.Client
9 {
10 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.VerificationTask;
7
8 namespace DirRX.CaseArchiving.Client
9 {
10 partial class VerificationTaskFunctions
11 {
12
13 }
14 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.VerificationTask;
7
8 namespace DirRX.CaseArchiving
9 {
10 partial class VerificationTaskClientHandlers
11 {
12
13 }
14 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.CaseInventory;
7
8 namespace DirRX.CaseArchiving
9 {
10 partial class CaseInventoryArchivistPropertyFilteringServerHandler<T>
11 {
12
13 public virtual IQueryable<T> ArchivistFiltering(IQueryable<T> query, Sungero.Domain.PropertyFilteringEventArgs e)
14 {
15 // Ограничить выбор из списка ролью Архивист.
16 var employees = Functions.Module.GetEmployeesForArchivistRole();
17
18 return query.Where(x => employees.Contains(x));
19 }
20 }
21
22 partial class CaseInventoryFilteringServerHandler<T>
23 {
24
25 public override IQueryable<T> Filtering(IQueryable<T> query, Sungero.Domain.FilteringEventArgs e)
26 {
27 var filter = _filter;
28
29 if (filter == null)
30 return query;
31
32 // Фильтр по НОР.
33 if (filter.BusinessUnit != null)
34 query = query.Where(f => f.BusinessUnit == filter.BusinessUnit);
35
36 // Фильтр по подразделению.
37 if (filter.Department != null)
38 query = query.Where(f => f.Department == filter.Department);
39
40 var currentYear = Calendar.UserToday.Year;
41
42 // Фильтр по текущему году.
43 if (filter.CurrentYear)
44 query = query.Where(f => f.EndOfYear.Value.Year == currentYear);
45
46 // Фильтр по предыдущему году.
47 var previousYear = currentYear - 1;
48 if (filter.PreviousYear)
49 query = query.Where(f => f.EndOfYear.Value.Year == previousYear);
50
51 // Фильтр по диапазону лет.
52 if (filter.ManualPeriod)
53 {
54 if (filter.DateRangeTo != null)
55 query = query.Where(f => f.EndOfYear.Value.Year <= filter.DateRangeTo.Value.Year);
56 if (filter.DateRangeFrom != null)
57 query = query.Where(f => f.EndOfYear.Value.Year >= filter.DateRangeFrom.Value.Year);
58 }
59
60 return query;
61 }
62 }
63
64 partial class CaseInventoryServerHandlers
65 {
66
67 public override void Saving(Sungero.Domain.SavingEventArgs e)
68 {
69 base.Saving(e);
70
71 // Проверить необходимость передачи документов в архив после подписания описи.
72 if (_obj.ArchiveState == ArchiveState.Approved && !_obj.ProcessingDate.HasValue)
73 {
74 _obj.ProcessingDate = Calendar.Now;
75 e.Params.Add(Constants.Module.DocflowParams.NeedFinishArchiving, true);
76 }
77 }
78
79 public override void AfterSave(Sungero.Domain.AfterSaveEventArgs e)
80 {
81 base.AfterSave(e);
82
83 // Запустить асинхронный обработчик для завершения передачи дел в архив.
84 if (e.Params.Contains(Constants.Module.DocflowParams.NeedFinishArchiving))
85 {
86 e.Params.Remove(Constants.Module.DocflowParams.NeedFinishArchiving);
87
88 var job = AsyncHandlers.TransferDocumentsToArchive.Create();
89 job.caseInventoryId = _obj.Id;
90 job.ExecuteAsync();
91 }
92 }
93
94 public override void Created(Sungero.Domain.CreatedEventArgs e)
95 {
96 base.Created(e);
97
98 _obj.State.Properties.Subject.IsRequired = false;
99 _obj.VerificationState = DirRX.CaseArchiving.CaseInventory.VerificationState.InProcess;
100 _obj.ArchiveState = DirRX.CaseArchiving.CaseInventory.ArchiveState.Checking;
101 _obj.InternalApprovalState = DirRX.CaseArchiving.CaseInventory.InternalApprovalState.OnApproval;
102 }
103
104 public override void BeforeSave(Sungero.Domain.BeforeSaveEventArgs e)
105 {
106 base.BeforeSave(e);
107
108 if (!_obj.DocumentNumber.HasValue)
109 _obj.DocumentNumber = Functions.CaseInventory.GetNextDocumentNumber(_obj);
110
111 _obj.Subject = _obj.Name;
112
113 _obj.State.Properties.BusinessUnit.IsRequired = false;
114 _obj.State.Properties.Department.IsRequired = PublicFunctions.Module.Remote.IsCreateCaseInventoryByDepartments();
115 }
116 }
117 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8" ?>
2 <queries>
3 </queries>
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.CaseInventory;
7
8 namespace DirRX.CaseArchiving.Server
9 {
10 partial class CaseInventoryFunctions
11 {
12
13 /// <summary>
14 /// Получить список дел описи.
15 /// </summary>
16 /// <returns>Список дел.</returns>
17 [Remote(IsPure=true),Public]
18 public virtual IQueryable<DirRX.LongTermArchive.ICaseFile> GetCaseFiles()
19 {
20 return DirRX.LongTermArchive.CaseFiles.GetAll(x => x.LTACaseInventoryDirRX != null && x.LTACaseInventoryDirRX.Equals(_obj));
21 }
22
23 /// <summary>
24 /// Сформировать версию документа из отчета.
25 /// </summary>
26 /// <returns>Версия документа.</returns>
27 [Public]
28 public virtual Sungero.Content.IElectronicDocumentVersions GenerateLastVersionFromReport()
29 {
30 Sungero.Reporting.Shared.IInternalReport internalReport = null;
31 var electronicCaseInventory = Sungero.Docflow.PublicFunctions.DocumentKind.GetNativeDocumentKind(Constants.Module.Initialize.CaseInventoryDocumentKind);
32 if (_obj.DocumentKind.Equals(electronicCaseInventory))
33 {
34 var report = CaseArchiving.Reports.GetCaseInventoryMainReport();
35 report.Entity = _obj;
36 internalReport = (Sungero.Reporting.Shared.IInternalReport)report;
37 }
38 else
39 {
40 var report = CaseArchiving.Reports.GetPaperCaseInventoryMainReport();
41 report.Entity = _obj;
42 internalReport = (Sungero.Reporting.Shared.IInternalReport)report;
43 }
44 if (!_obj.HasVersions)
45 _obj.Versions.AddNew();
46
47 var version = _obj.LastVersion;
48
49 using (var reportMS = new System.IO.MemoryStream())
50 {
51 internalReport.InternalExecute(reportMS);
52 version.Body.Write(reportMS);
53 }
54
55 version.Author = Users.Current;
56 version.AssociatedApplication = Sungero.Content.AssociatedApplications.GetByExtension("docx");
57 _obj.Save();
58
59 return version;
60 }
61
62 /// <summary>
63 /// Исключить все дела из описи.
64 /// </summary>
65 /// <returns>Сообщение об ошибке, либо пустая строка.</returns>
66 [Public, Remote]
67 public string RemoveAllCaseFiles()
68 {
69 try
70 {
71 foreach (var caseFile in CaseArchiving.PublicFunctions.CaseInventory.Remote.GetCaseFiles(_obj))
72 {
73 if (!DirRX.LongTermArchive.PublicFunctions.CaseFile.UpdateInventory(caseFile, null))
74 return CaseInventories.Resources.WarningCanNotUpdateCaseFileFormat(caseFile.DisplayValue);
75 }
76 _obj.Save();
77 return string.Empty;
78 }
79 catch (Exception e)
80 {
81 Logger.Debug(e.ToString());
82 return e.Message;
83 }
84 }
85
86 /// <summary>
87 /// Изменить ответственного в описи и делах.
88 /// </summary>
89 /// <param name="responsible">Ответственный.</param>
90 /// <returns>Сообщение об ошибке, либо пустая строка.</returns>
91 [Public, Remote]
92 public string ChangeCaseFilesResponsible(Sungero.Company.IEmployee responsible)
93 {
94 try
95 {
96 foreach (var caseFile in CaseArchiving.PublicFunctions.CaseInventory.Remote.GetCaseFiles(_obj))
97 {
98 caseFile.LTAResponsibleDirRX = responsible;
99 caseFile.Save();
100 }
101 _obj.Responsible = responsible;
102 _obj.Save();
103 return string.Empty;
104 }
105 catch (Exception e)
106 {
107 Logger.Debug(e.ToString());
108 return e.Message;
109 }
110 }
111
112 /// <summary>
113 /// Запустить передачу дел на архивное хранение.
114 /// </summary>
115 [Public, Remote]
116 public virtual void StartArchieving()
117 {
118 // Сбросить статус описи.
119 AccessRights.AllowRead(
120 () =>
121 {
122 _obj.ArchiveState = null;
123 _obj.ProcessingDate = Calendar.Now;
124 _obj.Save();
125 });
126
127 // Запустить передачу в архив.
128 var job = CaseArchiving.AsyncHandlers.TransferDocumentsToArchive.Create();
129 job.caseInventoryId = _obj.Id;
130 job.ExecuteAsync();
131 }
132
133 /// <summary>
134 /// Получить следующий по порядку номер описи.
135 /// </summary>
136 /// <returns>Номер описи.</returns>
137 public virtual int GetNextDocumentNumber()
138 {
139 var result = 1;
140 var useByDepartments = CaseArchiving.PublicFunctions.Module.Remote.IsCreateCaseInventoryByDepartments();
141
142 AccessRights.AllowRead(
143 () =>
144 {
145 // Нумеровать в разрезе видов описей.
146 var query = CaseArchiving.CaseInventories.GetAll(x => x.Id != _obj.Id && x.DocumentNumber.HasValue && x.EndOfYear == _obj.EndOfYear.Value && x.DocumentKind.Equals(_obj.DocumentKind));
147
148 // И в разрезе подразделений, если включена соответствующая настройка.
149 if (useByDepartments)
150 query = query.Where(x => x.Department != null && x.Department.Equals(_obj.Department));
151
152 var lastDocument = query.OrderByDescending(x => x.Id).FirstOrDefault();
153
154 if (lastDocument != null)
155 result += lastDocument.DocumentNumber.Value;
156 });
157
158 return result;
159 }
160
161 }
162 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6
7 namespace DirRX.CaseArchiving.Server
8 {
9
10 partial class CaseArchivingHandlers
11 {
12 }
13 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6
7 namespace DirRX.CaseArchiving.Server
8 {
9 public class ModuleJobs
10 {
11 /// <summary>
12 /// Сформировать описи электронных дел.
13 /// </summary>
14 public virtual void CreateCaseInventories()
15 {
16 Logger.Debug("Job. CreateCaseInventories. Старт");
17
18 var year = Calendar.Now.Year;
19 var caseFiles = PublicFunctions.Module.Remote.GetCaseFiles(DirRX.LongTermArchive.CaseFile.LTAStageDirRX.CompletedDirRX);
20
21 caseFiles = caseFiles.Where(x => (x.StartDate.HasValue ? x.StartDate.Value.Year : 0) <= year && (x.EndDate.HasValue ? x.EndDate.Value.Year : 5000) >= year);
22
23 var isCreateByDepartments = PublicFunctions.Module.Remote.IsCreateCaseInventoryByDepartments();
24 if (isCreateByDepartments)
25 caseFiles = caseFiles.Where(x => x.Department != null);
26
27 PublicFunctions.Module.Remote.CreateCaseInventories(year, caseFiles.ToList(), null);
28 }
29
30 }
31 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8" ?>
2 <queries>
3 </queries>
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6
7 namespace DirRX.CaseArchiving.Server
8 {
9
10 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using CommonLibrary;
7
8 namespace DirRX.CaseArchiving
9 {
10 partial class CaseInventoryMainReportServerHandlers
11 {
12
13 public override void BeforeExecute(Sungero.Reporting.Server.BeforeExecuteEventArgs e)
14 {
15 // Заполнить параметры.
16 var doc = CaseInventoryMainReport.Entity;
17
18 var caseFileList = this.GetLTACaseFiles().ToList();
19
20 // Число дел прописью.
21 CaseInventoryMainReport.CFTotal = caseFileList.Count;
22 CaseInventoryMainReport.CFTotalInWords = string.Format("{0} ({1})", caseFileList.Count, CommonLibrary.StringUtils.NumberToWords(caseFileList.Count));
23 }
24
25 public virtual IQueryable<DirRX.LongTermArchive.ICaseFile> GetLTACaseFiles()
26 {
27 return DirRX.LongTermArchive.CaseFiles.GetAll(x => x.LTACaseInventoryDirRX != null && x.LTACaseInventoryDirRX.Equals(CaseInventoryMainReport.Entity));
28 }
29
30 }
31 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8" ?>
2 <queries>
3 </queries>
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using CommonLibrary;
7
8 namespace DirRX.CaseArchiving
9 {
10 partial class PaperCaseInventoryMainReportServerHandlers
11 {
12
13 public override void BeforeExecute(Sungero.Reporting.Server.BeforeExecuteEventArgs e)
14 {
15 // Заполнить параметры.
16 var doc = PaperCaseInventoryMainReport.Entity;
17
18 var caseFileList = this.GetLTACaseFiles().ToList();
19
20 // Число дел прописью.
21 PaperCaseInventoryMainReport.CFTotal = caseFileList.Count;
22 PaperCaseInventoryMainReport.CFTotalInWords = string.Format("{0} ({1})", caseFileList.Count, CommonLibrary.StringUtils.NumberToWords(caseFileList.Count));
23 }
24
25 public virtual IQueryable<DirRX.LongTermArchive.ICaseFile> GetLTACaseFiles()
26 {
27 return DirRX.LongTermArchive.CaseFiles.GetAll(x => x.LTACaseInventoryDirRX != null && x.LTACaseInventoryDirRX.Equals(PaperCaseInventoryMainReport.Entity));
28 }
29
30 }
31 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8" ?>
2 <queries>
3 </queries>
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.VerificationAssignment;
7
8 namespace DirRX.CaseArchiving
9 {
10
11 partial class VerificationAssignmentAddresseePropertyFilteringServerHandler<T>
12 {
13
14 public virtual IQueryable<T> AddresseeFiltering(IQueryable<T> query, Sungero.Domain.PropertyFilteringEventArgs e)
15 {
16 // Ограничить список сотрудников ролью Делопроизводители.
17 var clerksRole = Sungero.CoreEntities.Roles
18 .GetAll(x => Equals(x.Sid.Value, DirRX.CaseArchiving.PublicConstants.Module.Initialize.ClerksRole))
19 .SingleOrDefault();
20
21 if (clerksRole == null)
22 return null;
23
24 var clerkIds = clerksRole.RecipientLinks.Where(x => x.Member != null && Sungero.Company.Employees.Is(x.Member) && x.Member.Id != _obj.Id).Select(x => x.Member.Id).ToList();
25 return query.Where(x => clerkIds.Contains(x.Id));
26 }
27 }
28
29 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8" ?>
2 <queries>
3 </queries>
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.VerificationAssignment;
7
8 namespace DirRX.CaseArchiving.Server
9 {
10 partial class VerificationAssignmentFunctions
11 {
12
13 }
14 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.VerificationTask;
7
8 namespace DirRX.CaseArchiving
9 {
10 partial class VerificationTaskServerHandlers
11 {
12 public override void BeforeSave(Sungero.Domain.BeforeSaveEventArgs e)
13 {
14 // Выдать права на документы, для всех, кому выданы права на задачу.
15 if (_obj.State.IsChanged)
16 Sungero.Docflow.PublicFunctions.Module.GrantManualReadRightForAttachments(_obj, _obj.AllAttachments.ToList());
17 }
18 }
19 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8" ?>
2 <queries>
3 </queries>
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using Sungero.Workflow;
7 using DirRX.CaseArchiving.VerificationTask;
8
9 namespace DirRX.CaseArchiving.Server
10 {
11 partial class VerificationTaskRouteHandlers
12 {
13 public virtual void StartBlock3(DirRX.CaseArchiving.Server.VerificationAssignmentArguments e)
14 {
15 // Получить исполнителя из карточки документа.
16 var document = _obj.DocumentGroup.CaseInventories.Single();
17 e.Block.Performers.Clear();
18 e.Block.Performers.Add(document.Responsible);
19 e.Block.Subject = CaseArchiving.VerificationTasks.Resources.VerificationAssignmentSubjectFormat(Sungero.Docflow.PublicFunctions.Module.TrimSpecialSymbols(document.Name));
20 }
21
22 }
23 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0"?>
2 <RouteScheme xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" MaxBlockId="7">
3 <Blocks>
4 <BlockBase xsi:type="StartBlock">
5 <Id>1</Id>
6 </BlockBase>
7 <BlockBase xsi:type="FinishBlock">
8 <Id>2</Id>
9 <UnderReview>false</UnderReview>
10 <ReviewAssignmentId>0</ReviewAssignmentId>
11 </BlockBase>
12 <BlockBase xsi:type="AssignmentBlock">
13 <Id>3</Id>
14 <CreatedInTaskGuid>d5924d6c-a2e0-43c8-8eab-7257b4f6dada</CreatedInTaskGuid>
15 <Title>Проверка описи Делопроизводителем</Title>
16 <GroupsAttachmentsRights>
17 <GroupAttachmentsRights>
18 <GroupId>7316bbc6-4c3a-4bff-8c94-61c0ceb1ec17</GroupId>
19 <AttachmentsRights>AllPerformersAllAttachments</AttachmentsRights>
20 <AttachmentsRightsType>6eb00eea-b585-43ce-8a0a-a294146e0825</AttachmentsRightsType>
21 </GroupAttachmentsRights>
22 <GroupAttachmentsRights>
23 <GroupId>00000000-0000-0000-0000-000000000000</GroupId>
24 <AttachmentsRights>AllPerformersAllAttachments</AttachmentsRights>
25 <AttachmentsRightsType>179af257-a60f-44b8-97b5-1d5bbd06716b</AttachmentsRightsType>
26 </GroupAttachmentsRights>
27 </GroupsAttachmentsRights>
28 <CustomProperties />
29 <TypeGuid>14d3913f-8072-413a-a274-074c1d83bafc</TypeGuid>
30 <CreatedEntitiesIds />
31 <Performers />
32 <StopResult />
33 <NoPerformersResult>NoPerformers</NoPerformersResult>
34 <IsStopped>false</IsStopped>
35 <IsParallel>false</IsParallel>
36 <AbsoluteDeadline>0001-01-01T00:00:00</AbsoluteDeadline>
37 <RelativeDeadline>3.00:00:00</RelativeDeadline>
38 <RelativeDeadlineDays>3</RelativeDeadlineDays>
39 <RelativeDeadlineHours>0</RelativeDeadlineHours>
40 <RelativeDeadlineTimeBase xsi:nil="true" />
41 <AbsoluteStopAssignmentsDeadline>0001-01-01T00:00:00</AbsoluteStopAssignmentsDeadline>
42 <RelativeStopAssignmentsDeadline>00:00:00</RelativeStopAssignmentsDeadline>
43 <RelativeStopDeadlineDays xsi:nil="true" />
44 <RelativeStopDeadlineHours xsi:nil="true" />
45 <AbsoluteStopAssignmentsDeadlineInternal>0001-01-01T00:00:00</AbsoluteStopAssignmentsDeadlineInternal>
46 </BlockBase>
47 </Blocks>
48 <Edges>
49 <Edge>
50 <Id>1</Id>
51 <Source>1</Source>
52 <Target>3</Target>
53 </Edge>
54 <Edge>
55 <Id>2</Id>
56 <Source>3</Source>
57 <Target>2</Target>
58 <Value />
59 </Edge>
60 <Edge>
61 <Id>3</Id>
62 <Source>3</Source>
63 <Target>3</Target>
64 <Value>Forward</Value>
65 </Edge>
66 </Edges>
67 <Layout>
68 <BlocksLayout>
69 <BlockLayout>
70 <BlockId>1</BlockId>
71 <Bounds>
72 <Location>
73 <X>-344.79527559055123</X>
74 <Y>-204.62933858267377</Y>
75 </Location>
76 <Size>
77 <Width>48</Width>
78 <Height>48</Height>
79 </Size>
80 <X>-344.79527559055123</X>
81 <Y>-204.62933858267377</Y>
82 <Width>48</Width>
83 <Height>48</Height>
84 </Bounds>
85 </BlockLayout>
86 <BlockLayout>
87 <BlockId>2</BlockId>
88 <Bounds>
89 <Location>
90 <X>-344.79527559055123</X>
91 <Y>22.055322834648109</Y>
92 </Location>
93 <Size>
94 <Width>48</Width>
95 <Height>48</Height>
96 </Size>
97 <X>-344.79527559055123</X>
98 <Y>22.055322834648109</Y>
99 <Width>48</Width>
100 <Height>48</Height>
101 </Bounds>
102 </BlockLayout>
103 <BlockLayout>
104 <BlockId>3</BlockId>
105 <Bounds>
106 <Location>
107 <X>-445.79527559055123</X>
108 <Y>-99.944677165351891</Y>
109 </Location>
110 <Size>
111 <Width>250</Width>
112 <Height>70</Height>
113 </Size>
114 <X>-445.79527559055123</X>
115 <Y>-99.944677165351891</Y>
116 <Width>250</Width>
117 <Height>70</Height>
118 </Bounds>
119 </BlockLayout>
120 </BlocksLayout>
121 <EdgesLayout>
122 <EdgeLayout>
123 <DestinationAnchor>3</DestinationAnchor>
124 <EdgeId>1</EdgeId>
125 <EndPoint>
126 <X>-320.79527559055123</X>
127 <Y>-99.944677165351891</Y>
128 </EndPoint>
129 <OriginAnchor>3</OriginAnchor>
130 <Points>
131 <Point>
132 <X>-320.79527559055123</X>
133 <Y>-156.62933858267377</Y>
134 </Point>
135 <Point>
136 <X>-320.79527559055123</X>
137 <Y>-99.944677165351891</Y>
138 </Point>
139 <Point>
140 <X>-320.79527559055123</X>
141 <Y>-99.944677165351891</Y>
142 </Point>
143 </Points>
144 <StartPoint>
145 <X>-320.79527559055123</X>
146 <Y>-156.62933858267377</Y>
147 </StartPoint>
148 </EdgeLayout>
149 <EdgeLayout>
150 <DestinationAnchor>1</DestinationAnchor>
151 <EdgeId>2</EdgeId>
152 <EndPoint>
153 <X>-320.79527559055123</X>
154 <Y>22.055322834648109</Y>
155 </EndPoint>
156 <OriginAnchor>10</OriginAnchor>
157 <Points>
158 <Point>
159 <X>-320.79527559055123</X>
160 <Y>-29.944677165351891</Y>
161 </Point>
162 <Point>
163 <X>-320.79527559055123</X>
164 <Y>22.055322834648109</Y>
165 </Point>
166 <Point>
167 <X>-320.79527559055123</X>
168 <Y>22.055322834648109</Y>
169 </Point>
170 </Points>
171 <StartPoint>
172 <X>-320.79527559055123</X>
173 <Y>-29.944677165351891</Y>
174 </StartPoint>
175 </EdgeLayout>
176 <EdgeLayout>
177 <DestinationAnchor>4</DestinationAnchor>
178 <EdgeId>3</EdgeId>
179 <EndPoint>
180 <X>-289.54527559055123</X>
181 <Y>-99.944677165351891</Y>
182 </EndPoint>
183 <OriginAnchor>18</OriginAnchor>
184 <Points>
185 <Point>
186 <X>-195.79527559055123</X>
187 <Y>-64.944677165351891</Y>
188 </Point>
189 <Point>
190 <X>-158.00000000000006</X>
191 <Y>-64.944677165351891</Y>
192 </Point>
193 <Point>
194 <X>-158.00000000000006</X>
195 <Y>-123.28700787401283</Y>
196 </Point>
197 <Point>
198 <X>-289.54527559055123</X>
199 <Y>-123.28700787401283</Y>
200 </Point>
201 <Point>
202 <X>-289.54527559055123</X>
203 <Y>-99.944677165351891</Y>
204 </Point>
205 </Points>
206 <StartPoint>
207 <X>-195.79527559055123</X>
208 <Y>-64.944677165351891</Y>
209 </StartPoint>
210 </EdgeLayout>
211 </EdgesLayout>
212 </Layout>
213 </RouteScheme>
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.VerificationTask;
7
8 namespace DirRX.CaseArchiving.Server
9 {
10 partial class VerificationTaskFunctions
11 {
12 public Sungero.Core.StateView GetStateView(Sungero.Docflow.IOfficialDocument document)
13 {
14 if (_obj.DocumentGroup.CaseInventories.Any(d => Equals(document, d)))
15 return this.GetStateView();
16 else
17 return StateView.Create();
18 }
19
20 [Remote(IsPure = true)]
21 public Sungero.Core.StateView GetStateView()
22 {
23 var stateView = StateView.Create();
24
25 // Блок информации о задаче.
26 var taskBlock = this.AddTaskBlock(stateView);
27
28 // Получить все задания по задаче.
29 var taskAssignments = VerificationAssignments.GetAll(a => Equals(a.Task, _obj)).OrderBy(a => a.Created).ToList();
30
31 // Статус задачи.
32 var status = _obj.Info.Properties.Status.GetLocalizedValue(_obj.Status);
33
34 var lastAssignment = taskAssignments.OrderByDescending(a => a.Created).FirstOrDefault();
35
36 if (!string.IsNullOrWhiteSpace(status))
37 Sungero.Docflow.PublicFunctions.Module.AddInfoToRightContent(taskBlock, status);
38
39 // Блоки информации о заданиях.
40 foreach (var assignment in taskAssignments)
41 {
42 var assignmentBlock = this.GetAssignmentBlock(assignment);
43
44 taskBlock.AddChildBlock(assignmentBlock);
45 }
46
47 return stateView;
48 }
49
50 /// <summary>
51 /// Добавить блок задачи на верификацию.
52 /// </summary>
53 /// <param name="stateView">Схема представления.</param>
54 /// <returns>Новый блок.</returns>
55 public Sungero.Core.StateBlock AddTaskBlock(Sungero.Core.StateView stateView)
56 {
57 // Создать блок задачи.
58 var taskBlock = stateView.AddBlock();
59
60 // Добавить ссылку на задачу и иконку.
61 taskBlock.Entity = _obj;
62 taskBlock.AssignIcon(StateBlockIconType.OfEntity, StateBlockIconSize.Large);
63
64 // Определить схлопнутость.
65 taskBlock.IsExpanded = _obj.Status == Sungero.Workflow.Task.Status.InProcess;
66 taskBlock.AddLabel(_obj.Info.LocalizedName, Sungero.Docflow.PublicFunctions.Module.CreateHeaderStyle());
67
68 return taskBlock;
69 }
70
71 /// <summary>
72 /// Добавить блок задания на верификацию.
73 /// </summary>
74 /// <param name="assignment">Задание.</param>
75 /// <returns>Новый блок.</returns>
76 public Sungero.Core.StateBlock GetAssignmentBlock(Sungero.Workflow.IAssignment assignment)
77 {
78 // Стили.
79 var performerDeadlineStyle = Sungero.Docflow.PublicFunctions.Module.CreatePerformerDeadlineStyle();
80 var boldStyle = Sungero.Docflow.PublicFunctions.Module.CreateStyle(true, false);
81 var grayStyle = Sungero.Docflow.PublicFunctions.Module.CreateStyle(false, true);
82 var separatorStyle = Sungero.Docflow.PublicFunctions.Module.CreateSeparatorStyle();
83 var noteStyle = Sungero.Docflow.PublicFunctions.Module.CreateNoteStyle();
84
85 var block = StateView.Create().AddBlock();
86 block.Entity = assignment;
87
88 // Иконка.
89 this.SetIcon(block, VerificationAssignments.As(assignment));
90
91 // Заголовок.
92 block.AddLabel(VerificationAssignments.Info.LocalizedName, boldStyle);
93 block.AddLineBreak();
94
95 // Кому.
96 var assigneeShortName = Sungero.Company.PublicFunctions.Employee.GetShortName(Sungero.Company.Employees.As(assignment.Performer), false);
97 var performerInfo = string.Format("{0}: {1}", Sungero.Docflow.OfficialDocuments.Resources.StateViewTo, assigneeShortName);
98 block.AddLabel(performerInfo, performerDeadlineStyle);
99
100 // Срок.
101 if (assignment.Deadline.HasValue)
102 {
103 var deadlineLabel = Sungero.Docflow.PublicFunctions.Module.ToShortDateShortTime(assignment.Deadline.Value.ToUserTime());
104 block.AddLabel(string.Format("{0}: {1}", Sungero.Docflow.OfficialDocuments.Resources.StateViewDeadline, deadlineLabel), performerDeadlineStyle);
105 }
106
107 // Текст задания.
108 var comment = Sungero.Docflow.PublicFunctions.Module.GetAssignmentUserComment(Sungero.Workflow.Assignments.As(assignment));
109 if (!string.IsNullOrWhiteSpace(comment))
110 {
111 // Разделитель.
112 block.AddLineBreak();
113 block.AddLabel(Sungero.Docflow.PublicFunctions.Module.GetSeparatorText(), separatorStyle);
114 block.AddLineBreak();
115 block.AddEmptyLine(Sungero.Docflow.PublicFunctions.Module.GetEmptyLineMargin());
116
117 block.AddLabel(comment, noteStyle);
118 }
119
120 // Статус.
121 var status = Sungero.Workflow.AssignmentBases.Info.Properties.Status.GetLocalizedValue(assignment.Status);
122
123 // Для непрочитанных заданий указать это.
124 if (assignment.IsRead == false)
125 status = Sungero.Docflow.ApprovalTasks.Resources.StateViewUnRead.ToString();
126
127 // Для исполненных заданий указать результаты, с которым они исполнены, кроме "Проверено".
128 if (assignment.Status == Sungero.Workflow.AssignmentBase.Status.Completed
129 && assignment.Result != Storage.VerificationActAssignment.Result.Complete)
130 status = Storage.VerificationActAssignments.Info.Properties.Result.GetLocalizedValue(assignment.Result);
131
132 if (!string.IsNullOrWhiteSpace(status))
133 Sungero.Docflow.PublicFunctions.Module.AddInfoToRightContent(block, status);
134
135 // Задержка исполнения.
136 if (assignment.Deadline.HasValue &&
137 assignment.Status == Sungero.Workflow.AssignmentBase.Status.InProcess)
138 Sungero.Docflow.PublicFunctions.OfficialDocument.AddDeadlineHeaderToRight(block, assignment.Deadline.Value, assignment.Performer);
139
140 return block;
141 }
142
143 /// <summary>
144 /// Установить иконку.
145 /// </summary>
146 /// <param name="block">Блок, для которого требуется установить иконку.</param>
147 /// <param name="assignment">Задание, от которого построен блок.</param>
148 private void SetIcon(StateBlock block, IVerificationAssignment assignment)
149 {
150 var iconSize = StateBlockIconSize.Large;
151
152 // Иконка по умолчанию.
153 block.AssignIcon(StateBlockIconType.OfEntity, iconSize);
154
155 // Прекращено, остановлено по ошибке.
156 if (assignment.Status == Sungero.Workflow.AssignmentBase.Status.Aborted ||
157 assignment.Status == Sungero.Workflow.AssignmentBase.Status.Suspended)
158 {
159 block.AssignIcon(StateBlockIconType.Abort, iconSize);
160 return;
161 }
162
163 if (assignment.Result == null)
164 return;
165
166 // Проверено.
167 if (assignment.Result == Storage.VerificationActAssignment.Result.Complete)
168 {
169 block.AssignIcon(StateBlockIconType.Completed, iconSize);
170 return;
171 }
172
173 // Переадресовано.
174 if (assignment.Result == Storage.VerificationActAssignment.Result.Forward)
175 {
176 block.AssignIcon(Sungero.Docflow.FreeApprovalTasks.Resources.Forward, iconSize);
177 }
178 }
179 }
180 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <data name="WarningCanNotUpdateCaseFile" xml:space="preserve">
121 <value>Can not update case file {0}.</value>
122 </data>
123 <data name="WarningCaseListIsEmpty" xml:space="preserve">
124 <value>Case list is empty.</value>
125 </data>
126 <data name="WarningCaseFilesNotFound" xml:space="preserve">
127 <value>Case files not found.</value>
128 </data>
129 <data name="WarningCaseInventoryAlreadyArchived" xml:space="preserve">
130 <value>Case inventory has already been archived.</value>
131 </data>
132 <data name="WarningOnlyResponsibleCanAddCaseFiles" xml:space="preserve">
133 <value>Only responsible clerk {0} can include case files to inventory.</value>
134 </data>
135 <data name="WarningOnlyResponsibleCanRemoveCaseFiles" xml:space="preserve">
136 <value>Only responsible clerk {0} can remove case files from inventory.</value>
137 </data>
138 <data name="NotifyVersionCreated" xml:space="preserve">
139 <value>New version has been created</value>
140 </data>
141 <data name="NotifyVersionReformatted" xml:space="preserve">
142 <value>The latest document revision has been reformatted</value>
143 </data>
144 <data name="ErrorFailedReformatVersion" xml:space="preserve">
145 <value>Failed to reformat version. Contact your administrator.</value>
146 </data>
147 <data name="WarningOnlyResponsibleCanReformVersion" xml:space="preserve">
148 <value>Only responsible clerk {0} can re-form case inventory.</value>
149 </data>
150 <data name="WarningCaseInventoryAlreadySigned" xml:space="preserve">
151 <value>Case inventory has already been signed.</value>
152 </data>
153 </root>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <data name="WarningCanNotUpdateCaseFile" xml:space="preserve">
121 <value>Дело {0} редактируется другим пользователем. </value>
122 </data>
123 <data name="WarningCaseListIsEmpty" xml:space="preserve">
124 <value>Список дел пуст.</value>
125 </data>
126 <data name="WarningCaseFilesNotFound" xml:space="preserve">
127 <value>Отсутствуют завершенные дела, соответствующие параметрам описи.</value>
128 </data>
129 <data name="WarningCaseInventoryAlreadyArchived" xml:space="preserve">
130 <value>Опись дел уже передана в архив.</value>
131 </data>
132 <data name="WarningOnlyResponsibleCanAddCaseFiles" xml:space="preserve">
133 <value>Включать дела в опись может только ответственный делопроизводитель {0}.</value>
134 </data>
135 <data name="WarningOnlyResponsibleCanRemoveCaseFiles" xml:space="preserve">
136 <value>Исключать дела из описи может только ответственный делопроизводитель {0}.</value>
137 </data>
138 <data name="NotifyVersionCreated" xml:space="preserve">
139 <value>Создана новая версия</value>
140 </data>
141 <data name="NotifyVersionReformatted" xml:space="preserve">
142 <value>Последняя версия переформирована</value>
143 </data>
144 <data name="ErrorFailedReformatVersion" xml:space="preserve">
145 <value>Не удалось переформировать версию. Обратитесь к администратору.</value>
146 </data>
147 <data name="WarningOnlyResponsibleCanReformVersion" xml:space="preserve">
148 <value>Переформировать опись может только ответственный делопроизводитель {0}.</value>
149 </data>
150 <data name="WarningCaseInventoryAlreadySigned" xml:space="preserve">
151 <value>Опись дел уже подписана.</value>
152 </data>
153 </root>
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using Sungero.Core;
3
4 namespace DirRX.CaseArchiving.Constants
5 {
6 public static class CaseInventory
7 {
8
9 }
10 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.CaseInventory;
7
8 namespace DirRX.CaseArchiving
9 {
10 partial class CaseInventorySharedHandlers
11 {
12
13 public override void InternalApprovalStateChanged(Sungero.Domain.Shared.EnumerationPropertyChangedEventArgs e)
14 {
15 base.InternalApprovalStateChanged(e);
16
17 // Изменить состояние описи в зависимости от жизненного цикла подписания.
18 if (e.NewValue == InternalApprovalState.OnApproval && _obj.ArchiveState == ArchiveState.Checking && _obj.VerificationState == VerificationState.Completed)
19 _obj.ArchiveState = ArchiveState.OnApproval;
20 else if (e.NewValue == InternalApprovalState.PendingSign && (_obj.ArchiveState == ArchiveState.OnApproval || _obj.ArchiveState == ArchiveState.Checking))
21 _obj.ArchiveState = ArchiveState.Signing;
22 else if (e.NewValue == InternalApprovalState.Signed && _obj.ArchiveState == ArchiveState.Signing)
23 _obj.ArchiveState = ArchiveState.Approved;
24 }
25
26 }
27 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6 using DirRX.CaseArchiving.CaseInventory;
7
8 namespace DirRX.CaseArchiving.Shared
9 {
10 partial class CaseInventoryFunctions
11 {
12 /// <summary>
13 /// Заполнить имя документа.
14 /// </summary>
15 public override void FillName()
16 {
17 // Вид документа.
18 var name = _obj.DocumentKind.DisplayValue;
19
20 // Подразделение.
21 if (_obj.Department != null && Functions.Module.Remote.IsCreateCaseInventoryByDepartments())
22 name += " " + _obj.Department.DisplayValue;
23
24 using (TenantInfo.Culture.SwitchTo())
25 {
26 // Номер описи.
27 name += _obj.DocumentNumber.HasValue ? " № " + _obj.DocumentNumber.ToString() : string.Empty;
28
29 // Год.
30 name += _obj.EndOfYear.HasValue ? " за " + _obj.EndOfYear.Value.Year.ToString() + " год" : string.Empty;
31 }
32
33 _obj.Name = name.Length > _obj.Info.Properties.Name.Length ? name.Substring(0, _obj.Info.Properties.Name.Length - 1) : name;
34 }
35
36 /// <summary>
37 /// Отправить уведомление о завершении обработки сдаточной описи.
38 /// </summary>
39 [Public]
40 public virtual void SendCompletionNotification()
41 {
42 if (_obj.Archivist == null)
43 return;
44
45 var simpleTask = Sungero.Workflow.SimpleTasks.Create();
46
47 // Вложить опись.
48 simpleTask.Attachments.Add(_obj);
49
50 // Уведомить архивиста.
51 var step = simpleTask.RouteSteps.AddNew();
52 step.AssignmentType = Sungero.Workflow.SimpleTask.AssignmentType.Notice;
53 step.Performer = _obj.Archivist;
54
55 // Получить тему и текст уведомления в зависимости от статуса.
56 if (_obj.ArchiveState == ArchiveState.Complete)
57 {
58 simpleTask.Subject = Resources.InfoArchivingCompleted;
59 simpleTask.ActiveText = _obj.Name;
60
61 // Уведомить делопроизводителя.
62 if (_obj.Responsible != null && _obj.Responsible != _obj.Archivist)
63 {
64 step = simpleTask.RouteSteps.AddNew();
65 step.AssignmentType = Sungero.Workflow.SimpleTask.AssignmentType.Notice;
66 step.Performer = _obj.Responsible;
67 }
68 }
69 else
70 {
71 simpleTask.Subject = Resources.InfoArchivingError;
72 simpleTask.ActiveText = _obj.Name;
73 simpleTask.ActiveText += Environment.NewLine;
74 simpleTask.ActiveText += "При обработке описи возникли ошибки. Обратитесь к Администратору системы.";
75 }
76
77 simpleTask.Save();
78 simpleTask.Start();
79 }
80
81 }
82 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6
7 namespace DirRX.CaseArchiving.Structures.CaseInventory
8 {
9
10 }
...\ No newline at end of file ...\ No newline at end of file
1 {
2 "$type": "Sungero.Metadata.EntityMetadata, Sungero.Metadata",
3 "NameGuid": "9e538fe4-9181-446d-844f-be2dd0ce1748",
4 "Name": "CaseInventoryTracking",
5 "AccessRightsMode": "NoRight",
6 "BaseGuid": "2d7f6507-6d0a-4bb7-b2a1-2f4248b962e7",
7 "CanBeNavigationPropertyType": true,
8 "CreationAreaMetadata": {
9 "NameGuid": "4d08fccd-8eaf-487e-bf81-7535b0448dcf",
10 "Name": "CreationArea",
11 "Buttons": [],
12 "IsAncestorMetadata": true,
13 "Versions": []
14 },
15 "ExtraSearchProperties": [],
16 "IsAutoGenerated": true,
17 "IsChildEntity": true,
18 "Overridden": [
19 "IsAutoGenerated"
20 ],
21 "Properties": [
22 {
23 "$type": "Sungero.Metadata.NavigationPropertyMetadata, Sungero.Metadata",
24 "NameGuid": "68863851-86ec-4a3d-aaa9-ac4d7fcbba89",
25 "Name": "OfficialDocument",
26 "EntityGuid": "64551469-8c45-4778-9650-9cc29d4812f1",
27 "IsAncestorMetadata": true,
28 "IsReferenceToRootEntity": true,
29 "Overridden": [
30 "EntityGuid"
31 ],
32 "Versions": []
33 }
34 ],
35 "PublicStructures": [],
36 "RibbonCardMetadata": {
37 "NameGuid": "22e0f737-a2cf-4ea4-8949-21cb996e4fd3",
38 "Name": "RibbonCard",
39 "Categories": [],
40 "Elements": [],
41 "Groups": [],
42 "IsAncestorMetadata": true,
43 "Pages": [],
44 "RibbonKind": "Card",
45 "Versions": []
46 },
47 "RibbonCollectionMetadata": {
48 "NameGuid": "f0c2a232-7f87-4b3e-bd3e-bd1b0899964f",
49 "Name": "RibbonCollection",
50 "Categories": [],
51 "Elements": [],
52 "Groups": [],
53 "IsAncestorMetadata": true,
54 "Pages": [],
55 "Versions": []
56 },
57 "Versions": [
58 {
59 "Type": "EntityMetadata",
60 "Number": 11
61 },
62 {
63 "Type": "DomainApi",
64 "Number": 2
65 }
66 ]
67 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 </root>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 </root>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 </root>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 </root>
...\ No newline at end of file ...\ No newline at end of file
1 {
2 "$type": "Sungero.Metadata.EntityMetadata, Sungero.Metadata",
3 "NameGuid": "3225a1a1-012d-4a3e-a39b-29e0d8acb781",
4 "Name": "CaseInventoryVersions",
5 "AccessRightsMode": "NoRight",
6 "BaseGuid": "6180769e-de94-43ff-8894-e32cb5260789",
7 "CanBeAncestor": true,
8 "CreationAreaMetadata": {
9 "NameGuid": "8cc0db4d-d33e-4631-ad19-01e80fc8f71b",
10 "Name": "CreationArea",
11 "Buttons": [],
12 "IsAncestorMetadata": true,
13 "Versions": []
14 },
15 "ExtraSearchProperties": [],
16 "IsAutoGenerated": true,
17 "IsChildEntity": true,
18 "IsVisible": false,
19 "Overridden": [
20 "IsVisible",
21 "IsAutoGenerated"
22 ],
23 "Properties": [
24 {
25 "$type": "Sungero.Metadata.NavigationPropertyMetadata, Sungero.Metadata",
26 "NameGuid": "9db5ead2-a918-4f50-8aa4-f75a44cfce07",
27 "Name": "ElectronicDocument",
28 "EntityGuid": "64551469-8c45-4778-9650-9cc29d4812f1",
29 "IsAncestorMetadata": true,
30 "IsReferenceToRootEntity": true,
31 "Overridden": [
32 "EntityGuid"
33 ],
34 "Versions": []
35 }
36 ],
37 "PublicStructures": [],
38 "ResourcesKeys": [],
39 "RibbonCardMetadata": {
40 "NameGuid": "a1d0f296-7ace-4cda-b8b1-d6e63ff3588e",
41 "Name": "RibbonCard",
42 "Categories": [],
43 "Elements": [],
44 "Groups": [],
45 "IsAncestorMetadata": true,
46 "Pages": [],
47 "RibbonKind": "Card",
48 "Versions": []
49 },
50 "RibbonCollectionMetadata": {
51 "NameGuid": "46da8e4a-823b-4011-aab5-849abaa29d81",
52 "Name": "RibbonCollection",
53 "Categories": [],
54 "Elements": [],
55 "Groups": [],
56 "IsAncestorMetadata": true,
57 "Pages": [],
58 "Versions": []
59 },
60 "Versions": [
61 {
62 "Type": "EntityMetadata",
63 "Number": 11
64 },
65 {
66 "Type": "DomainApi",
67 "Number": 2
68 }
69 ]
70 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 </root>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 </root>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 </root>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 </root>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <data name="CreateInventoriesDialogTitle" xml:space="preserve">
121 <value>Create case file inventory</value>
122 </data>
123 <data name="CreateInventoriesDialogYearLabel" xml:space="preserve">
124 <value>Year</value>
125 </data>
126 <data name="InitCaseInvenoryDocumentKindName" xml:space="preserve">
127 <value>Case file inventory</value>
128 </data>
129 <data name="AddCaseFilesDialogTitle" xml:space="preserve">
130 <value>Add case files</value>
131 </data>
132 <data name="CaseFilesLabel" xml:space="preserve">
133 <value>Case files</value>
134 </data>
135 <data name="RemoveCaseFileDialogTitle" xml:space="preserve">
136 <value>Remove case files</value>
137 </data>
138 <data name="RuleCaseInventoryDefaultRuleName" xml:space="preserve">
139 <value>Default rule for case file inventories</value>
140 </data>
141 <data name="RoleArchivistName" xml:space="preserve">
142 <value>Archivist</value>
143 </data>
144 <data name="RoleArchivistDescription" xml:space="preserve">
145 <value>Long term archive responsible user</value>
146 </data>
147 <data name="CreateInventoriesDialogCaseFileNotFoundWarning" xml:space="preserve">
148 <value>Case files not found.</value>
149 </data>
150 <data name="CreateInventoriesDialogResponsibleLabel" xml:space="preserve">
151 <value>Responsible</value>
152 </data>
153 <data name="InfoArchivingCompleted" xml:space="preserve">
154 <value>Archiving completed</value>
155 </data>
156 <data name="CreateInventoriesDialogArchivistLabel" xml:space="preserve">
157 <value>Archivist</value>
158 </data>
159 <data name="RuleApprovalWithArchivistStageName" xml:space="preserve">
160 <value>Approval with the Archivist</value>
161 </data>
162 <data name="CreateInventoriesDialogKindsLabel" xml:space="preserve">
163 <value>Inventory types</value>
164 </data>
165 <data name="CaseInventorySettingsCreateByDepartmentsLabel" xml:space="preserve">
166 <value>Use case files by departments</value>
167 </data>
168 <data name="CaseInventorySettingsUseInSourceLabel" xml:space="preserve">
169 <value>Use in source system</value>
170 </data>
171 <data name="CaseInventorySettingsUseInArchiveLabel" xml:space="preserve">
172 <value>Use in archive system</value>
173 </data>
174 <data name="CaseInventorySettingsDialogTitle" xml:space="preserve">
175 <value>Module settings</value>
176 </data>
177 <data name="RulePaperCaseInventoryDefaultRuleName" xml:space="preserve">
178 <value>Default rule for paper case file inventories</value>
179 </data>
180 <data name="InitPaperCaseInvenoryDocumentKindName" xml:space="preserve">
181 <value>Paper case file inventory</value>
182 </data>
183 <data name="RuleStageArchivistSubject" xml:space="preserve">
184 <value>Approve</value>
185 </data>
186 <data name="RuleStageArchivistName" xml:space="preserve">
187 <value>Assignment for archivist</value>
188 </data>
189 <data name="InfoArchivingError" xml:space="preserve">
190 <value>Archiving failed</value>
191 </data>
192 </root>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <data name="CreateInventoriesDialogTitle" xml:space="preserve">
121 <value>Создать описи дел</value>
122 </data>
123 <data name="CreateInventoriesDialogYearLabel" xml:space="preserve">
124 <value>Год</value>
125 </data>
126 <data name="InitCaseInvenoryDocumentKindName" xml:space="preserve">
127 <value>Опись электронных дел</value>
128 </data>
129 <data name="AddCaseFilesDialogTitle" xml:space="preserve">
130 <value>Добавление дел в опись</value>
131 </data>
132 <data name="CaseFilesLabel" xml:space="preserve">
133 <value>Дела</value>
134 </data>
135 <data name="RemoveCaseFileDialogTitle" xml:space="preserve">
136 <value>Исключение дел из описи</value>
137 </data>
138 <data name="RuleCaseInventoryDefaultRuleName" xml:space="preserve">
139 <value>Правило по умолчанию для описей электронных дел</value>
140 </data>
141 <data name="RoleArchivistName" xml:space="preserve">
142 <value>Архивист</value>
143 </data>
144 <data name="RoleArchivistDescription" xml:space="preserve">
145 <value>Пользователь, ответственный за долговременный архив</value>
146 </data>
147 <data name="CreateInventoriesDialogCaseFileNotFoundWarning" xml:space="preserve">
148 <value>Завершенные дела для включения в опись не найдены.</value>
149 </data>
150 <data name="CreateInventoriesDialogResponsibleLabel" xml:space="preserve">
151 <value>Ответственные</value>
152 </data>
153 <data name="InfoArchivingCompleted" xml:space="preserve">
154 <value>Завершена передача документов на архивное хранение</value>
155 </data>
156 <data name="CreateInventoriesDialogArchivistLabel" xml:space="preserve">
157 <value>Архивист</value>
158 </data>
159 <data name="RuleApprovalWithArchivistStageName" xml:space="preserve">
160 <value>Согласование с Архивистом</value>
161 </data>
162 <data name="CreateInventoriesDialogKindsLabel" xml:space="preserve">
163 <value>Виды описей</value>
164 </data>
165 <data name="CaseInventorySettingsCreateByDepartmentsLabel" xml:space="preserve">
166 <value>Вести дела в разрезе подразделений</value>
167 </data>
168 <data name="CaseInventorySettingsUseInSourceLabel" xml:space="preserve">
169 <value>Использовать описи в системе-источнике</value>
170 </data>
171 <data name="CaseInventorySettingsUseInArchiveLabel" xml:space="preserve">
172 <value>Использовать описи в архивной системе</value>
173 </data>
174 <data name="CaseInventorySettingsDialogTitle" xml:space="preserve">
175 <value>Настройки сдаточных описей</value>
176 </data>
177 <data name="RulePaperCaseInventoryDefaultRuleName" xml:space="preserve">
178 <value>Правило по умолчанию для описей бумажных дел</value>
179 </data>
180 <data name="InitPaperCaseInvenoryDocumentKindName" xml:space="preserve">
181 <value>Опись бумажных дел</value>
182 </data>
183 <data name="RuleStageArchivistSubject" xml:space="preserve">
184 <value>Согласуйте</value>
185 </data>
186 <data name="RuleStageArchivistName" xml:space="preserve">
187 <value>Задание архивисту</value>
188 </data>
189 <data name="InfoArchivingError" xml:space="preserve">
190 <value>Не удалось передать дела на архивное хранение</value>
191 </data>
192 </root>
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using Sungero.Core;
3
4 namespace DirRX.CaseArchiving.Constants
5 {
6 public static class Module
7 {
8 public static class DocflowParams
9 {
10 // Имя ключа для настройки "Формировать описи в разрезе подрезделений".
11 [Sungero.Core.Public]
12 public const string CreateCaseInventoryByDepartmentsKey = "LTACreateCaseInventoryByDepartments";
13
14 // Имя ключа для настройки "Описи формируются в исходной системе".
15 [Sungero.Core.Public]
16 public const string UseCaseInventoryInSourceSystemKey = "LTAUseCaseInventoryInSourceSystem";
17
18 // Имя ключа для настройки "Описи формируются в архивной системе".
19 [Sungero.Core.Public]
20 public const string UseCaseInventoryInArchiveSystemKey = "LTAUseCaseInventoryInArchiveSystem";
21
22 // Имя ключа для настройки "Планируемая дата создания описей".
23 [Sungero.Core.Public]
24 public const string ScheduledDateKey = "LTACaseInventoryScheduledDate";
25
26 // Имя параметра "Необходимо передать документы в архив", используемого в событии сохранения описи.
27 public const string NeedFinishArchiving = "LTANeedFinishArchiving";
28 }
29
30 public static class Initialize
31 {
32 // ГУИД вида документа "Опись электронных дел".
33 [Sungero.Core.Public]
34 public static readonly Guid CaseInventoryDocumentKind = Guid.Parse("2750E572-764C-4CA7-A71E-64711B601868");
35
36 // ГУИД вида документа "Опись бумажных дел".
37 [Sungero.Core.Public]
38 public static readonly Guid PaperCaseInventoryDocumentKind = Guid.Parse("B4E6B4F4-37A6-4AE7-B728-3EE4D082950E");
39
40 // ГУИД сущности "Виды документов".
41 [Sungero.Core.Public]
42 public static readonly Guid DocumentKindTypeGuid = Guid.Parse("14a59623-89a2-4ea8-b6e9-2ad4365f358c");
43
44 // ГУИД роли "Архивист".
45 [Sungero.Core.Public]
46 public static readonly Guid ArchivistRoleGuid = Guid.Parse("5020577A-B6AA-4D85-A13A-10525EAB87C2");
47
48 // ГУИД роли "Делопроизводители".
49 [Sungero.Core.Public]
50 public static readonly Guid ClerksRole = Guid.Parse("B0A07866-7D6F-4860-8850-7016D01EA649");
51 }
52 }
53 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6
7 namespace DirRX.CaseArchiving.Shared
8 {
9 public class ModuleFunctions
10 {
11
12 }
13 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6
7 namespace DirRX.CaseArchiving.Structures.Module
8 {
9
10 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <data name="DisplayName" xml:space="preserve">
121 <value>Long-term archive inventory</value>
122 </data>
123 <data name="CoverTitle" xml:space="preserve">
124 <value>CaseArchiving</value>
125 </data>
126 <data name="CoverDescription" xml:space="preserve">
127 <value>Cистема управления электронным архивом c гарантией юридической значимости документов</value>
128 </data>
129 <data name="JobDisplayName_ecb38a0c0e344facbf5207d23c15db5a" xml:space="preserve">
130 <value>Create case inventories</value>
131 </data>
132 <data name="JobDescription_ecb38a0c0e344facbf5207d23c15db5a" xml:space="preserve">
133 <value>Create case inventories</value>
134 </data>
135 <data name="AsyncHandler_Description_3b29dc6686d44a4daa4bcf4169657ae3" xml:space="preserve">
136 <value>Transfer documents to archive</value>
137 </data>
138 <data name="AsyncHandler_Description_dfc00582261046109350d1ff4fb2f064" xml:space="preserve">
139 <value>Change case file stage to transferred to archive</value>
140 </data>
141 </root>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <data name="CoverTitle" xml:space="preserve">
121 <value>Описи электронных дел</value>
122 </data>
123 <data name="CoverDescription" xml:space="preserve">
124 <value>Cистема управления электронным архивом c гарантией юридической значимости документов</value>
125 </data>
126 <data name="DisplayName" xml:space="preserve">
127 <value>Долговременный архив. Описи дел</value>
128 </data>
129 <data name="JobDisplayName_ecb38a0c0e344facbf5207d23c15db5a" xml:space="preserve">
130 <value>ДА. Формирование сдаточных описей</value>
131 </data>
132 <data name="JobDescription_ecb38a0c0e344facbf5207d23c15db5a" xml:space="preserve">
133 <value>Формирование сдаточных описей</value>
134 </data>
135 <data name="AsyncHandler_Description_3b29dc6686d44a4daa4bcf4169657ae3" xml:space="preserve">
136 <value>Передать документы в архивную систему</value>
137 </data>
138 <data name="AsyncHandler_Description_dfc00582261046109350d1ff4fb2f064" xml:space="preserve">
139 <value>Изменение статуса дела на "Передано в архив"</value>
140 </data>
141 </root>
...\ No newline at end of file ...\ No newline at end of file
1 {
2 "$type": "Sungero.Metadata.ReportMetadata, Sungero.Reporting.Shared",
3 "NameGuid": "560cc7ec-2c3f-444b-83c0-ae9426880793",
4 "Name": "CaseInventoryMainReport",
5 "AccessRightsMode": "NoRight",
6 "AssociatedGuid": "64551469-8c45-4778-9650-9cc29d4812f1",
7 "BaseGuid": "cef9a810-3f30-4eca-9fe3-30992af0b818",
8 "DataSources": [
9 {
10 "NameGuid": "1a9c1c6b-8070-4c8e-9c2f-e518401b3bad",
11 "Name": "LTACaseFiles",
12 "EntityType": "e1023590-be5f-40d3-a890-ba4e933b9210"
13 }
14 ],
15 "DefaultExportFormat": "Word",
16 "ExportFormats": [
17 "Word"
18 ],
19 "HandledEvents": [
20 "BeforeExecuteServer"
21 ],
22 "IconResourcesKeys": [],
23 "Overridden": [
24 "AccessRightsMode",
25 "PublicConstants",
26 "PublicStructures",
27 "ExportFormats",
28 "DefaultExportFormat",
29 "DisplayName",
30 "DataSources",
31 "Parameters",
32 "HandledEvents"
33 ],
34 "Parameters": [
35 {
36 "NameGuid": "0273663b-5429-4291-8e9d-9899efd31ee3",
37 "Name": "Entity",
38 "EntityType": "64551469-8c45-4778-9650-9cc29d4812f1",
39 "InternalDataTypeName": "DirRX.CaseArchiving.ICaseInventory, Sungero.Domain.Interfaces",
40 "IsRequired": true
41 },
42 {
43 "NameGuid": "f1708f91-58ba-4e27-97fe-d00d26033ee3",
44 "Name": "CFTotal",
45 "InternalDataTypeName": "System.Int32",
46 "IsSimpleDataType": true
47 },
48 {
49 "NameGuid": "6c7dea4d-4fe8-4493-a92b-88cf7ca33efa",
50 "Name": "CFTotalInWords",
51 "InternalDataTypeName": "System.String"
52 },
53 {
54 "NameGuid": "fefe23cd-ebd3-4ec1-a28a-49d91530b6cd",
55 "Name": "Parameter",
56 "InternalDataTypeName": "System.String"
57 }
58 ],
59 "PublicStructures": [],
60 "ResourcesKeys": [
61 "CaseFileNumber",
62 "CaseFileName",
63 "CaseFileEdgeDates",
64 "CaseFileDocumentAmount",
65 "CaseFileIndex",
66 "CaseFileNote"
67 ],
68 "Versions": []
69 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <data name="CaseFileNumber" xml:space="preserve">
121 <value>№№</value>
122 </data>
123 <data name="CaseFileName" xml:space="preserve">
124 <value>Case file title</value>
125 </data>
126 <data name="CaseFileEdgeDates" xml:space="preserve">
127 <value>Period</value>
128 </data>
129 <data name="CaseFileDocumentAmount" xml:space="preserve">
130 <value>Size, Mb</value>
131 </data>
132 <data name="CaseFileIndex" xml:space="preserve">
133 <value>Case file index</value>
134 </data>
135 <data name="CaseFileNote" xml:space="preserve">
136 <value>Note</value>
137 </data>
138 </root>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <data name="CaseFileNumber" xml:space="preserve">
121 <value>№ п/п</value>
122 </data>
123 <data name="CaseFileName" xml:space="preserve">
124 <value>Заголовок дела</value>
125 </data>
126 <data name="CaseFileEdgeDates" xml:space="preserve">
127 <value>Крайние даты</value>
128 </data>
129 <data name="CaseFileDocumentAmount" xml:space="preserve">
130 <value>Объем, Мб</value>
131 </data>
132 <data name="CaseFileIndex" xml:space="preserve">
133 <value>Индекс дела</value>
134 </data>
135 <data name="CaseFileNote" xml:space="preserve">
136 <value>Примечание</value>
137 </data>
138 </root>
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using Sungero.Core;
3
4 namespace DirRX.CaseArchiving.Constants
5 {
6 public static class CaseInventoryMainReport
7 {
8
9 }
10 }
...\ No newline at end of file ...\ No newline at end of file
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Sungero.Core;
5 using Sungero.CoreEntities;
6
7 namespace DirRX.CaseArchiving.Structures.CaseInventoryMainReport
8 {
9
10 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?>
2 <root>
3 <!--
4 Microsoft ResX Schema
5
6 Version 2.0
7
8 The primary goals of this format is to allow a simple XML format
9 that is mostly human readable. The generation and parsing of the
10 various data types are done through the TypeConverter classes
11 associated with the data types.
12
13 Example:
14
15 ... ado.net/XML headers & schema ...
16 <resheader name="resmimetype">text/microsoft-resx</resheader>
17 <resheader name="version">2.0</resheader>
18 <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19 <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20 <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21 <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22 <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23 <value>[base64 mime encoded serialized .NET Framework object]</value>
24 </data>
25 <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26 <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27 <comment>This is a comment</comment>
28 </data>
29
30 There are any number of "resheader" rows that contain simple
31 name/value pairs.
32
33 Each data row contains a name, and value. The row also contains a
34 type or mimetype. Type corresponds to a .NET class that support
35 text/value conversion through the TypeConverter architecture.
36 Classes that don't support this are serialized and stored with the
37 mimetype set.
38
39 The mimetype is used for serialized objects, and tells the
40 ResXResourceReader how to depersist the object. This is currently not
41 extensible. For a given mimetype the value must be set accordingly:
42
43 Note - application/x-microsoft.net.object.binary.base64 is the format
44 that the ResXResourceWriter will generate, however the reader can
45 read any of the formats listed below.
46
47 mimetype: application/x-microsoft.net.object.binary.base64
48 value : The object must be serialized with
49 : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
50 : and then encoded with base64 encoding.
51
52 mimetype: application/x-microsoft.net.object.soap.base64
53 value : The object must be serialized with
54 : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55 : and then encoded with base64 encoding.
56
57 mimetype: application/x-microsoft.net.object.bytearray.base64
58 value : The object must be serialized into a byte array
59 : using a System.ComponentModel.TypeConverter
60 : and then encoded with base64 encoding.
61 -->
62 <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63 <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
64 <xsd:element name="root" msdata:IsDataSet="true">
65 <xsd:complexType>
66 <xsd:choice maxOccurs="unbounded">
67 <xsd:element name="metadata">
68 <xsd:complexType>
69 <xsd:sequence>
70 <xsd:element name="value" type="xsd:string" minOccurs="0" />
71 </xsd:sequence>
72 <xsd:attribute name="name" use="required" type="xsd:string" />
73 <xsd:attribute name="type" type="xsd:string" />
74 <xsd:attribute name="mimetype" type="xsd:string" />
75 <xsd:attribute ref="xml:space" />
76 </xsd:complexType>
77 </xsd:element>
78 <xsd:element name="assembly">
79 <xsd:complexType>
80 <xsd:attribute name="alias" type="xsd:string" />
81 <xsd:attribute name="name" type="xsd:string" />
82 </xsd:complexType>
83 </xsd:element>
84 <xsd:element name="data">
85 <xsd:complexType>
86 <xsd:sequence>
87 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
88 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
89 </xsd:sequence>
90 <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
91 <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
92 <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93 <xsd:attribute ref="xml:space" />
94 </xsd:complexType>
95 </xsd:element>
96 <xsd:element name="resheader">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
100 </xsd:sequence>
101 <xsd:attribute name="name" type="xsd:string" use="required" />
102 </xsd:complexType>
103 </xsd:element>
104 </xsd:choice>
105 </xsd:complexType>
106 </xsd:element>
107 </xsd:schema>
108 <resheader name="resmimetype">
109 <value>text/microsoft-resx</value>
110 </resheader>
111 <resheader name="version">
112 <value>2.0</value>
113 </resheader>
114 <resheader name="reader">
115 <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116 </resheader>
117 <resheader name="writer">
118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119 </resheader>
120 <data name="Description" xml:space="preserve">
121 <value />
122 </data>
123 <data name="DisplayName" xml:space="preserve">
124 <value>Case inventory</value>
125 </data>
126 </root>
...\ No newline at end of file ...\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.