Commit 86f8e6c6 86f8e6c6e8ba911efeb27df28d95bf360f332ccf by RXDIRECTUM\rx1

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

1 parent 5258bad0
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.

using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.CaseInventory;
namespace DirRX.CaseArchiving.Client
{
partial class CaseInventoryActions
{
public override void SendForApproval(Sungero.Domain.Client.ExecuteActionArgs e)
{
base.SendForApproval(e);
}
public override bool CanSendForApproval(Sungero.Domain.Client.CanExecuteActionArgs e)
{
return base.CanSendForApproval(e);
}
public virtual void CreateVersionFromReport(Sungero.Domain.Client.ExecuteActionArgs e)
{
// Если документ свежесозданный, сохранить его, чтобы были проверены обязательные поля.
if (_obj.State.IsInserted)
_obj.Save();
// Переформировать версию может только делопроизводитель, указанный в описи.
if (Users.Current != null && Users.Current.IsSystem != true && _obj.Responsible != null &&
_obj.Responsible != Storage.PublicFunctions.Module.Remote.GetEmployeeForCurentUser())
{
CaseInventories.Resources.WarningOnlyResponsibleCanReformVersionFormat(_obj.Responsible.DisplayValue);
return;
}
var oldVersion = _obj.LastVersion;
var newVerison = CaseArchiving.PublicFunctions.CaseInventory.GenerateLastVersionFromReport(_obj);
if (newVerison != null)
Dialogs.NotifyMessage(oldVersion == newVerison ? CaseInventories.Resources.NotifyVersionReformatted : CaseInventories.Resources.NotifyVersionCreated);
else
e.AddError(CaseInventories.Resources.ErrorFailedReformatVersion);
}
public virtual bool CanCreateVersionFromReport(Sungero.Domain.Client.CanExecuteActionArgs e)
{
// Нельзя переформировывать опись, если указана дата передачи на архивное хранение.
return !_obj.ArchiveDate.HasValue;
}
public virtual void RemoveCaseFiles(Sungero.Domain.Client.ExecuteActionArgs e)
{
// Отобразить диалог для исключения дел из описи.
var error = Functions.CaseInventory.RemoveCaseFilesDialog(_obj, null);
if (error != string.Empty)
e.AddWarning(error);
else
Dialogs.NotifyMessage("Дела исключены из описи.");
}
public virtual bool CanRemoveCaseFiles(Sungero.Domain.Client.CanExecuteActionArgs e)
{
return !_obj.State.IsInserted;
}
public virtual void AddCaseFiles(Sungero.Domain.Client.ExecuteActionArgs e)
{
// Проверить, что заполнены все обязательные свойства.
// Пока просто через сохранение.
if (_obj.State.IsChanged)
_obj.Save();
// Отобразить диалог для включения дел в опись.
var error = Functions.CaseInventory.AddCaseFilesDialog(_obj);
if (error != string.Empty)
e.AddWarning(error);
else
Dialogs.NotifyMessage("Дела включены в опись.");
}
public virtual bool CanAddCaseFiles(Sungero.Domain.Client.CanExecuteActionArgs e)
{
return true;
}
public virtual void ShowCaseFiles(Sungero.Domain.Client.ExecuteActionArgs e)
{
PublicFunctions.CaseInventory.Remote.GetCaseFiles(_obj).Show();
}
public virtual bool CanShowCaseFiles(Sungero.Domain.Client.CanExecuteActionArgs e)
{
return true;
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.CaseInventory;
namespace DirRX.CaseArchiving.Client
{
partial class CaseInventoryFunctions
{
/// <summary>
/// Отобразить диалог для включения выбранных дел в опись.
/// </summary>
/// <returns>Сообщение об ошибке, либо пустая строка.</returns>
[Public]
public virtual string AddCaseFilesDialog()
{
// Получить список завершенных дел, не включенных в описи.
var query = PublicFunctions.Module.Remote.GetCaseFiles(DirRX.LongTermArchive.CaseFile.LTAStageDirRX.CompletedDirRX);
// Наложить фильтры по значениями обязательных свойств.
if (_obj.EndOfYear.HasValue)
{
var year = _obj.EndOfYear.Value.Year;
query = query.Where(x => x.StartDate.Value.Year <= year && (x.EndDate.HasValue ? x.EndDate.Value.Year : 5000) >= year);
}
if (_obj.Responsible != null)
query = query.Where(x => x.LTAResponsibleDirRX != null && x.LTAResponsibleDirRX.Equals(_obj.Responsible));
if (_obj.Department != null && Functions.Module.Remote.IsCreateCaseInventoryByDepartments())
query = query.Where(x => x.Department != null && x.Department.Equals(_obj.Department));
if (_obj.DocumentKind.Name == DirRX.CaseArchiving.Resources.InitPaperCaseInvenoryDocumentKindName)
query = query.Where(x => x.LTAIsPaperDirRX.HasValue && x.LTAIsPaperDirRX.Value);
else
query = query.Where(x => !x.LTAIsPaperDirRX.HasValue || !x.LTAIsPaperDirRX.Value);
if (query.Any())
{
// Отобразить диалог выбора дел. Включить выбранные дела в опись.
var dialog = Dialogs.CreateInputDialog(Resources.AddCaseFilesDialogTitle);
var caseFileSelector = dialog.AddSelectMany(Resources.CaseFilesLabel, true, DirRX.LongTermArchive.CaseFiles.Null)
.From(query.ToArray());
if (dialog.Show() == DialogButtons.Ok)
{
foreach (var caseFile in caseFileSelector.Value)
if (!DirRX.LongTermArchive.PublicFunctions.CaseFile.UpdateInventory(caseFile, _obj))
return CaseInventories.Resources.WarningCanNotUpdateCaseFileFormat(caseFile.DisplayValue);
}
}
else
return CaseInventories.Resources.WarningCaseFilesNotFound;
return string.Empty;
}
/// <summary>
/// Отобразить диалог для исключения выбранных дел из описи.
/// </summary>
/// <param name="caseFileList">Список дел для исключения. Если не пуст, диалог не будет отображен.</param>
/// <returns>Сообщение об ошибке, либо пустая строка.</returns>
[Public]
public virtual string RemoveCaseFilesDialog(List<DirRX.LongTermArchive.ICaseFile> caseFileList)
{
// Получить список дел текущей описи.
var query = CaseArchiving.PublicFunctions.CaseInventory.Remote.GetCaseFiles(_obj);
// Вызвать диалог для изменения списка.
if (query.Any())
{
if (caseFileList == null || caseFileList.Count == 0)
{
// Отобразить диалог выбора дел.
var dialog = Dialogs.CreateInputDialog(Resources.RemoveCaseFileDialogTitle);
var caseFileSelector = dialog.AddSelectMany(Resources.CaseFilesLabel, true, DirRX.LongTermArchive.CaseFiles.Null)
.From(query.ToArray());
if (dialog.Show() == DialogButtons.Ok)
{
caseFileList = caseFileSelector.Value.ToList();
}
}
// Исключить выбранные дела из описи.
if (caseFileList.Count > 0)
{
foreach (var caseFile in caseFileList)
{
if (!DirRX.LongTermArchive.PublicFunctions.CaseFile.UpdateInventory(caseFile, null))
return CaseArchiving.CaseInventories.Resources.WarningCanNotUpdateCaseFileFormat(caseFile.DisplayValue);
}
}
}
else
return CaseArchiving.CaseInventories.Resources.WarningCaseListIsEmpty;
return string.Empty;
}
/// <summary>
/// Изменение доступности /обязательности свойств.
/// </summary>
public void SetStateProperties()
{
_obj.State.Properties.BusinessUnit.IsRequired = false;
_obj.State.Properties.Department.IsRequired = false;
_obj.State.Properties.BusinessUnit.IsEnabled = false;
_obj.State.Properties.Department.IsEnabled = false;
_obj.State.Properties.DocumentKind.IsEnabled = false;
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.CaseInventory;
namespace DirRX.CaseArchiving
{
partial class CaseInventoryClientHandlers
{
public override void Showing(Sungero.Presentation.FormShowingEventArgs e)
{
base.Showing(e);
Functions.CaseInventory.SetStateProperties(_obj);
}
public override void Refresh(Sungero.Presentation.FormRefreshEventArgs e)
{
base.Refresh(e);
Functions.CaseInventory.SetStateProperties(_obj);
}
}
}
\ No newline at end of file
<?xml version="1.0"?>
<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>
<g xmlns="http://www.w3.org/2000/svg">
<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=""/>
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
</g></svg>
<?xml version="1.0"?>
<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>
<g xmlns="http://www.w3.org/2000/svg">
<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=""/>
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
</g></svg>
<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
<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
<?xml version="1.0"?>
<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>
<g xmlns="http://www.w3.org/2000/svg">
<rect y="8.61" width="22.354" height="5.133" fill="#ff6363" data-original="#000000" style="" class=""/>
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
</g></svg>
<?xml version="1.0"?>
<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>
<g xmlns="http://www.w3.org/2000/svg">
<rect y="8.61" width="22.354" height="5.133" fill="#ff6363" data-original="#000000" style="" class=""/>
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
<g xmlns="http://www.w3.org/2000/svg">
</g>
</g></svg>
<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
<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
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace DirRX.CaseArchiving.Client
{
public class ModuleFunctions
{
/// <summary>
/// Отобразить диалог для создания описей электронных дел.
/// </summary>
[Public]
public virtual void ShowCaseInventoryCreationDialog()
{
// Проверить наличие завершенных дел для включения в описи.
var caseFiles = CaseArchiving.PublicFunctions.Module.Remote.GetCaseFiles(DirRX.LongTermArchive.CaseFile.LTAStageDirRX.CompletedDirRX);
var isCreateByDepartments = CaseArchiving.PublicFunctions.Module.Remote.IsCreateCaseInventoryByDepartments();
if (isCreateByDepartments)
caseFiles = caseFiles.Where(x => x.Department != null);
if (!caseFiles.Any())
{
Dialogs.ShowMessage(CaseArchiving.Resources.CreateInventoriesDialogCaseFileNotFoundWarning, MessageType.Warning);
return;
}
// Запросить критерии формирования описей.
var dialog = Dialogs.CreateInputDialog(CaseArchiving.Resources.CreateInventoriesDialogTitle);
var yearSelector = dialog.AddString(CaseArchiving.Resources.CreateInventoriesDialogYearLabel, true, Calendar.Now.Year.ToString());
var caseInventoryKindList = caseFiles.Where(x => x.LTAInventoryKindDirRX != null).Select(x => x.LTAInventoryKindDirRX).Distinct();
var documentKinds = dialog.AddSelectMany(CaseArchiving.Resources.CreateInventoriesDialogKindsLabel, false, caseInventoryKindList.First()).From(caseInventoryKindList);
var registrationGroups = dialog.AddSelectMany(Sungero.Docflow.RegistrationGroups.Info.LocalizedPluralName, false, Sungero.Docflow.RegistrationGroups.Null)
.From(caseFiles.Where(x => x.RegistrationGroup != null).Select(x => x.RegistrationGroup).Distinct().ToArray());
var departments = dialog.AddSelectMany(Sungero.Company.Departments.Info.LocalizedPluralName, false, Sungero.Company.Departments.Null);
if (isCreateByDepartments)
departments.From(caseFiles.Select(x => x.Department).Distinct());
else
departments.IsVisible = false;
var caseInventoryResponsibleList = caseFiles.Where(x => x.LTAResponsibleDirRX != null).Select(x => x.LTAResponsibleDirRX).Distinct();
var responsibles = dialog.AddSelectMany(CaseArchiving.Resources.CreateInventoriesDialogResponsibleLabel, false, Sungero.Company.Employees.Null).From(caseInventoryResponsibleList);
var curentUserEmployee = Storage.PublicFunctions.Module.Remote.GetEmployeeForCurentUser();
if (curentUserEmployee != null)
responsibles.Value = caseInventoryResponsibleList.AsEnumerable().Where(x => x.Equals(curentUserEmployee));
var archivists = CaseArchiving.PublicFunctions.Module.Remote.GetEmployeesForArchivistRole();
var archivist = dialog.AddSelect(CaseArchiving.Resources.CreateInventoriesDialogArchivistLabel, true, archivists.FirstOrDefault()).From(archivists);
dialog.SetOnButtonClick((e) =>
{
if (e.Button == DialogButtons.Ok)
{
int tmp;
if (!(int.TryParse(yearSelector.Value, out tmp) && tmp > 1990))
e.AddError("Неверно указан год.");
}
});
if (dialog.Show() == DialogButtons.Ok)
{
var year = int.Parse(yearSelector.Value);
// Наложить полученные в диалоге фильтры на список завершенных дел.
caseFiles = caseFiles.Where(x => (x.StartDate.HasValue ? x.StartDate.Value.Year : 0) <= year && (x.EndDate.HasValue ? x.EndDate.Value.Year : 5000) >= year);
if (documentKinds.Value.Any())
caseFiles = caseFiles.Where(x => x.LTAInventoryKindDirRX != null && documentKinds.Value.Contains(x.LTAInventoryKindDirRX));
if (departments.Value.Any())
caseFiles = caseFiles.Where(x => x.Department != null && departments.Value.Contains(x.Department));
if (registrationGroups.Value.Any())
caseFiles = caseFiles.Where(x => x.RegistrationGroup != null && registrationGroups.Value.Contains(x.RegistrationGroup));
if (responsibles.Value.Any())
{
var responsibleIds = responsibles.Value.Select(x => x.Id).ToList();
caseFiles = caseFiles.Where(x => x.LTAResponsibleDirRX != null && responsibleIds.Contains(x.LTAResponsibleDirRX.Id));
}
if (!caseFiles.Any())
{
Dialogs.ShowMessage(CaseArchiving.Resources.CreateInventoriesDialogCaseFileNotFoundWarning, MessageType.Warning);
return;
}
// Создать и отобразить описи дел.
var emptyCaseInventories = CaseArchiving.PublicFunctions.Module.Remote.CreateCaseInventories(year, caseFiles.ToList(), archivist.Value).ToList();
var filledCaseInventories = FillCaseInventories(emptyCaseInventories);
filledCaseInventories.Show();
}
}
/// <summary>
/// Заполнить описи отчётом и отправить на проверку.
/// </summary>
/// <param name="emptyCaseInventories">Пустые описи.</param>
/// <returns>Заполненные описи.</returns>
public virtual List<CaseArchiving.ICaseInventory> FillCaseInventories(List<CaseArchiving.ICaseInventory> emptyCaseInventories)
{
var filledCaseInventories = new List<CaseArchiving.ICaseInventory>();
foreach (var caseInventory in emptyCaseInventories)
{
// Сформировать тело документа из отчета.
CaseArchiving.PublicFunctions.CaseInventory.GenerateLastVersionFromReport(caseInventory);
filledCaseInventories.Add(caseInventory);
// Отправить опись на верификацию.
CaseArchiving.PublicFunctions.Module.SendCaseInventoryForVerification(caseInventory);
}
return filledCaseInventories;
}
/// <summary>
/// Отобразить настройки модуля "Описи электронных дел".
/// </summary>
[Public]
public virtual void ShowCaseInventorySettingsDialog()
{
var createInventoryByDepartments = CaseArchiving.PublicFunctions.Module.Remote.IsCreateCaseInventoryByDepartments();
var useInventoryInSource = CaseArchiving.PublicFunctions.Module.Remote.IsCaseInventoryUsedInSourceSystem();
var useInventoryInArchive = CaseArchiving.PublicFunctions.Module.Remote.IsCaseInventoryUsedInArchiveSystem();
var dialog = Dialogs.CreateInputDialog(Resources.CaseInventorySettingsDialogTitle);
var useInSourceSelector = dialog.AddBoolean(Resources.CaseInventorySettingsUseInSourceLabel, useInventoryInSource);
var useInArchiveSelector = dialog.AddBoolean(Resources.CaseInventorySettingsUseInArchiveLabel, useInventoryInArchive);
var createByDepartmentSelector = dialog.AddBoolean(Resources.CaseInventorySettingsCreateByDepartmentsLabel, createInventoryByDepartments);
// Сделать настройки места использования описей взаимоисключающими.
useInArchiveSelector.SetOnValueChanged((m) =>
{
if (m.NewValue == true)
useInSourceSelector.Value = false;
});
useInSourceSelector.SetOnValueChanged((m) =>
{
if (m.NewValue == true)
useInArchiveSelector.Value = false;
});
if (dialog.Show() == DialogButtons.Ok)
{
if (createByDepartmentSelector.Value.Value != createInventoryByDepartments)
CaseArchiving.PublicFunctions.Module.Remote.SetDocflowParam(CaseArchiving.PublicConstants.Module.DocflowParams.CreateCaseInventoryByDepartmentsKey, createByDepartmentSelector.Value.Value.ToString().ToLower());
if (useInSourceSelector != null)
{
if (useInSourceSelector.Value.Value != useInventoryInSource)
CaseArchiving.PublicFunctions.Module.Remote.SetDocflowParam(CaseArchiving.PublicConstants.Module.DocflowParams.UseCaseInventoryInSourceSystemKey, useInSourceSelector.Value.Value.ToString().ToLower());
if (useInArchiveSelector.Value.Value != useInventoryInArchive)
CaseArchiving.PublicFunctions.Module.Remote.SetDocflowParam(CaseArchiving.PublicConstants.Module.DocflowParams.UseCaseInventoryInArchiveSystemKey, useInArchiveSelector.Value.Value.ToString().ToLower());
}
}
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace DirRX.CaseArchiving.Client
{
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace DirRX.CaseArchiving.Client
{
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace DirRX.CaseArchiving
{
partial class CaseInventoryMainReportClientHandlers
{
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace DirRX.CaseArchiving
{
partial class PaperCaseInventoryMainReportClientHandlers
{
}
}
\ No newline at end of file
<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
<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
<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
<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
<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
<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
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.VerificationAssignment;
namespace DirRX.CaseArchiving.Client
{
partial class VerificationAssignmentActions
{
public virtual void Terminate(Sungero.Workflow.Client.ExecuteResultActionArgs e)
{
var document = _obj.DocumentGroup.CaseInventories.Single();
var error = CaseArchiving.PublicFunctions.CaseInventory.Remote.RemoveAllCaseFiles(document);
if (!string.IsNullOrEmpty(error))
e.AddError(error);
}
public virtual bool CanTerminate(Sungero.Workflow.Client.CanExecuteResultActionArgs e)
{
return true;
}
public virtual void Forward(Sungero.Workflow.Client.ExecuteResultActionArgs e)
{
if (_obj.Addressee == null)
{
e.AddError(VerificationTasks.Resources.CantRedirectWithoutAddressee);
e.Cancel();
}
// Изменить ответственного в описи и в делах.
var document = _obj.DocumentGroup.CaseInventories.SingleOrDefault();
var error = CaseArchiving.PublicFunctions.CaseInventory.Remote.ChangeCaseFilesResponsible(document, _obj.Addressee);
if (!string.IsNullOrEmpty(error))
{
e.AddError(error);
e.Cancel();
}
}
public virtual bool CanForward(Sungero.Workflow.Client.CanExecuteResultActionArgs e)
{
return true;
}
public virtual void Complete(Sungero.Workflow.Client.ExecuteResultActionArgs e)
{
var document = _obj.DocumentGroup.CaseInventories.SingleOrDefault();
// Проверить наличие документа.
if (document == null || !document.HasVersions)
{
e.AddError(VerificationTasks.Resources.ErrorDocumentNotFound);
return;
}
// Проверить тип текущего пользователя.
var currentUser = Sungero.CoreEntities.Users.Current;
if (currentUser == null || currentUser.IsSystem == true)
{
e.AddError(VerificationTasks.Resources.ErrorSystemUserIsNotAllowed);
return;
}
// Подписать документ, если еще не подписан.
if (!Signatures.Get(document.LastVersion).Where(s => s.Signatory.Equals(currentUser) && s.SignatureType == SignatureType.Endorsing).Any())
{
if (!Signatures.Endorse(document.LastVersion, VerificationTasks.Resources.EndorseNote))
{
e.AddError(VerificationTasks.Resources.ErrorUnableToSign);
return;
}
}
 // Обновить жизненный цикл описи в зависимости от ее вида.
      var isElectronic = document.DocumentKind != null && PublicFunctions.Module.Remote.GetCaseInvenoryDocumentKinds().Contains(document.DocumentKind);
      document.VerificationState = CaseInventory.VerificationState.Completed;
      document.InternalApprovalState = isElectronic ? CaseInventory.InternalApprovalState.PendingSign : CaseInventory.InternalApprovalState.OnApproval;      
      
      if (document.State.IsChanged)
        document.Save();
      
// Отправить на согласование по регламенту.
PublicFunctions.Module.SendCaseInventoryForApproving(document, _obj.Performer);
}
public virtual bool CanComplete(Sungero.Workflow.Client.CanExecuteResultActionArgs e)
{
return true;
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.VerificationAssignment;
namespace DirRX.CaseArchiving.Client
{
partial class VerificationAssignmentFunctions
{
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.VerificationAssignment;
namespace DirRX.CaseArchiving
{
partial class VerificationAssignmentClientHandlers
{
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.VerificationTask;
namespace DirRX.CaseArchiving.Client
{
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.VerificationTask;
namespace DirRX.CaseArchiving.Client
{
partial class VerificationTaskFunctions
{
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.VerificationTask;
namespace DirRX.CaseArchiving
{
partial class VerificationTaskClientHandlers
{
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.CaseInventory;
namespace DirRX.CaseArchiving
{
partial class CaseInventoryArchivistPropertyFilteringServerHandler<T>
{
public virtual IQueryable<T> ArchivistFiltering(IQueryable<T> query, Sungero.Domain.PropertyFilteringEventArgs e)
{
// Ограничить выбор из списка ролью Архивист.
var employees = Functions.Module.GetEmployeesForArchivistRole();
return query.Where(x => employees.Contains(x));
}
}
partial class CaseInventoryFilteringServerHandler<T>
{
public override IQueryable<T> Filtering(IQueryable<T> query, Sungero.Domain.FilteringEventArgs e)
{
var filter = _filter;
if (filter == null)
return query;
// Фильтр по НОР.
if (filter.BusinessUnit != null)
query = query.Where(f => f.BusinessUnit == filter.BusinessUnit);
// Фильтр по подразделению.
if (filter.Department != null)
query = query.Where(f => f.Department == filter.Department);
var currentYear = Calendar.UserToday.Year;
// Фильтр по текущему году.
if (filter.CurrentYear)
query = query.Where(f => f.EndOfYear.Value.Year == currentYear);
// Фильтр по предыдущему году.
var previousYear = currentYear - 1;
if (filter.PreviousYear)
query = query.Where(f => f.EndOfYear.Value.Year == previousYear);
// Фильтр по диапазону лет.
if (filter.ManualPeriod)
{
if (filter.DateRangeTo != null)
query = query.Where(f => f.EndOfYear.Value.Year <= filter.DateRangeTo.Value.Year);
if (filter.DateRangeFrom != null)
query = query.Where(f => f.EndOfYear.Value.Year >= filter.DateRangeFrom.Value.Year);
}
return query;
}
}
partial class CaseInventoryServerHandlers
{
public override void Saving(Sungero.Domain.SavingEventArgs e)
{
base.Saving(e);
// Проверить необходимость передачи документов в архив после подписания описи.
if (_obj.ArchiveState == ArchiveState.Approved && !_obj.ProcessingDate.HasValue)
{
_obj.ProcessingDate = Calendar.Now;
e.Params.Add(Constants.Module.DocflowParams.NeedFinishArchiving, true);
}
}
public override void AfterSave(Sungero.Domain.AfterSaveEventArgs e)
{
base.AfterSave(e);
// Запустить асинхронный обработчик для завершения передачи дел в архив.
if (e.Params.Contains(Constants.Module.DocflowParams.NeedFinishArchiving))
{
e.Params.Remove(Constants.Module.DocflowParams.NeedFinishArchiving);
var job = AsyncHandlers.TransferDocumentsToArchive.Create();
job.caseInventoryId = _obj.Id;
job.ExecuteAsync();
}
}
public override void Created(Sungero.Domain.CreatedEventArgs e)
{
base.Created(e);
_obj.State.Properties.Subject.IsRequired = false;
_obj.VerificationState = DirRX.CaseArchiving.CaseInventory.VerificationState.InProcess;
_obj.ArchiveState = DirRX.CaseArchiving.CaseInventory.ArchiveState.Checking;
_obj.InternalApprovalState = DirRX.CaseArchiving.CaseInventory.InternalApprovalState.OnApproval;
}
public override void BeforeSave(Sungero.Domain.BeforeSaveEventArgs e)
{
base.BeforeSave(e);
if (!_obj.DocumentNumber.HasValue)
_obj.DocumentNumber = Functions.CaseInventory.GetNextDocumentNumber(_obj);
_obj.Subject = _obj.Name;
_obj.State.Properties.BusinessUnit.IsRequired = false;
_obj.State.Properties.Department.IsRequired = PublicFunctions.Module.Remote.IsCreateCaseInventoryByDepartments();
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<queries>
</queries>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.CaseInventory;
namespace DirRX.CaseArchiving.Server
{
partial class CaseInventoryFunctions
{
/// <summary>
/// Получить список дел описи.
/// </summary>
/// <returns>Список дел.</returns>
[Remote(IsPure=true),Public]
public virtual IQueryable<DirRX.LongTermArchive.ICaseFile> GetCaseFiles()
{
return DirRX.LongTermArchive.CaseFiles.GetAll(x => x.LTACaseInventoryDirRX != null && x.LTACaseInventoryDirRX.Equals(_obj));
}
/// <summary>
/// Сформировать версию документа из отчета.
/// </summary>
/// <returns>Версия документа.</returns>
[Public]
public virtual Sungero.Content.IElectronicDocumentVersions GenerateLastVersionFromReport()
{
Sungero.Reporting.Shared.IInternalReport internalReport = null;
var electronicCaseInventory = Sungero.Docflow.PublicFunctions.DocumentKind.GetNativeDocumentKind(Constants.Module.Initialize.CaseInventoryDocumentKind);
if (_obj.DocumentKind.Equals(electronicCaseInventory))
{
var report = CaseArchiving.Reports.GetCaseInventoryMainReport();
report.Entity = _obj;
internalReport = (Sungero.Reporting.Shared.IInternalReport)report;
}
else
{
var report = CaseArchiving.Reports.GetPaperCaseInventoryMainReport();
report.Entity = _obj;
internalReport = (Sungero.Reporting.Shared.IInternalReport)report;
}
if (!_obj.HasVersions)
_obj.Versions.AddNew();
var version = _obj.LastVersion;
using (var reportMS = new System.IO.MemoryStream())
{
internalReport.InternalExecute(reportMS);
version.Body.Write(reportMS);
}
version.Author = Users.Current;
version.AssociatedApplication = Sungero.Content.AssociatedApplications.GetByExtension("docx");
_obj.Save();
return version;
}
/// <summary>
/// Исключить все дела из описи.
/// </summary>
/// <returns>Сообщение об ошибке, либо пустая строка.</returns>
[Public, Remote]
public string RemoveAllCaseFiles()
{
try
{
foreach (var caseFile in CaseArchiving.PublicFunctions.CaseInventory.Remote.GetCaseFiles(_obj))
{
if (!DirRX.LongTermArchive.PublicFunctions.CaseFile.UpdateInventory(caseFile, null))
return CaseInventories.Resources.WarningCanNotUpdateCaseFileFormat(caseFile.DisplayValue);
}
_obj.Save();
return string.Empty;
}
catch (Exception e)
{
Logger.Debug(e.ToString());
return e.Message;
}
}
/// <summary>
/// Изменить ответственного в описи и делах.
/// </summary>
/// <param name="responsible">Ответственный.</param>
/// <returns>Сообщение об ошибке, либо пустая строка.</returns>
[Public, Remote]
public string ChangeCaseFilesResponsible(Sungero.Company.IEmployee responsible)
{
try
{
foreach (var caseFile in CaseArchiving.PublicFunctions.CaseInventory.Remote.GetCaseFiles(_obj))
{
caseFile.LTAResponsibleDirRX = responsible;
caseFile.Save();
}
_obj.Responsible = responsible;
_obj.Save();
return string.Empty;
}
catch (Exception e)
{
Logger.Debug(e.ToString());
return e.Message;
}
}
/// <summary>
/// Запустить передачу дел на архивное хранение.
/// </summary>
[Public, Remote]
public virtual void StartArchieving()
{
// Сбросить статус описи.
AccessRights.AllowRead(
() =>
{
_obj.ArchiveState = null;
_obj.ProcessingDate = Calendar.Now;
_obj.Save();
});
// Запустить передачу в архив.
var job = CaseArchiving.AsyncHandlers.TransferDocumentsToArchive.Create();
job.caseInventoryId = _obj.Id;
job.ExecuteAsync();
}
/// <summary>
/// Получить следующий по порядку номер описи.
/// </summary>
/// <returns>Номер описи.</returns>
public virtual int GetNextDocumentNumber()
{
var result = 1;
var useByDepartments = CaseArchiving.PublicFunctions.Module.Remote.IsCreateCaseInventoryByDepartments();
AccessRights.AllowRead(
() =>
{
// Нумеровать в разрезе видов описей.
var query = CaseArchiving.CaseInventories.GetAll(x => x.Id != _obj.Id && x.DocumentNumber.HasValue && x.EndOfYear == _obj.EndOfYear.Value && x.DocumentKind.Equals(_obj.DocumentKind));
// И в разрезе подразделений, если включена соответствующая настройка.
if (useByDepartments)
query = query.Where(x => x.Department != null && x.Department.Equals(_obj.Department));
var lastDocument = query.OrderByDescending(x => x.Id).FirstOrDefault();
if (lastDocument != null)
result += lastDocument.DocumentNumber.Value;
});
return result;
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace DirRX.CaseArchiving.Server
{
partial class CaseArchivingHandlers
{
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace DirRX.CaseArchiving.Server
{
public class ModuleJobs
{
/// <summary>
/// Сформировать описи электронных дел.
/// </summary>
public virtual void CreateCaseInventories()
{
Logger.Debug("Job. CreateCaseInventories. Старт");
var year = Calendar.Now.Year;
var caseFiles = PublicFunctions.Module.Remote.GetCaseFiles(DirRX.LongTermArchive.CaseFile.LTAStageDirRX.CompletedDirRX);
caseFiles = caseFiles.Where(x => (x.StartDate.HasValue ? x.StartDate.Value.Year : 0) <= year && (x.EndDate.HasValue ? x.EndDate.Value.Year : 5000) >= year);
var isCreateByDepartments = PublicFunctions.Module.Remote.IsCreateCaseInventoryByDepartments();
if (isCreateByDepartments)
caseFiles = caseFiles.Where(x => x.Department != null);
PublicFunctions.Module.Remote.CreateCaseInventories(year, caseFiles.ToList(), null);
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<queries>
</queries>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace DirRX.CaseArchiving.Server
{
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using CommonLibrary;
namespace DirRX.CaseArchiving
{
partial class CaseInventoryMainReportServerHandlers
{
public override void BeforeExecute(Sungero.Reporting.Server.BeforeExecuteEventArgs e)
{
// Заполнить параметры.
var doc = CaseInventoryMainReport.Entity;
var caseFileList = this.GetLTACaseFiles().ToList();
// Число дел прописью.
CaseInventoryMainReport.CFTotal = caseFileList.Count;
CaseInventoryMainReport.CFTotalInWords = string.Format("{0} ({1})", caseFileList.Count, CommonLibrary.StringUtils.NumberToWords(caseFileList.Count));
}
public virtual IQueryable<DirRX.LongTermArchive.ICaseFile> GetLTACaseFiles()
{
return DirRX.LongTermArchive.CaseFiles.GetAll(x => x.LTACaseInventoryDirRX != null && x.LTACaseInventoryDirRX.Equals(CaseInventoryMainReport.Entity));
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<queries>
</queries>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using CommonLibrary;
namespace DirRX.CaseArchiving
{
partial class PaperCaseInventoryMainReportServerHandlers
{
public override void BeforeExecute(Sungero.Reporting.Server.BeforeExecuteEventArgs e)
{
// Заполнить параметры.
var doc = PaperCaseInventoryMainReport.Entity;
var caseFileList = this.GetLTACaseFiles().ToList();
// Число дел прописью.
PaperCaseInventoryMainReport.CFTotal = caseFileList.Count;
PaperCaseInventoryMainReport.CFTotalInWords = string.Format("{0} ({1})", caseFileList.Count, CommonLibrary.StringUtils.NumberToWords(caseFileList.Count));
}
public virtual IQueryable<DirRX.LongTermArchive.ICaseFile> GetLTACaseFiles()
{
return DirRX.LongTermArchive.CaseFiles.GetAll(x => x.LTACaseInventoryDirRX != null && x.LTACaseInventoryDirRX.Equals(PaperCaseInventoryMainReport.Entity));
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<queries>
</queries>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.VerificationAssignment;
namespace DirRX.CaseArchiving
{
partial class VerificationAssignmentAddresseePropertyFilteringServerHandler<T>
{
public virtual IQueryable<T> AddresseeFiltering(IQueryable<T> query, Sungero.Domain.PropertyFilteringEventArgs e)
{
// Ограничить список сотрудников ролью Делопроизводители.
var clerksRole = Sungero.CoreEntities.Roles
.GetAll(x => Equals(x.Sid.Value, DirRX.CaseArchiving.PublicConstants.Module.Initialize.ClerksRole))
.SingleOrDefault();
if (clerksRole == null)
return null;
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();
return query.Where(x => clerkIds.Contains(x.Id));
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<queries>
</queries>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.VerificationAssignment;
namespace DirRX.CaseArchiving.Server
{
partial class VerificationAssignmentFunctions
{
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.VerificationTask;
namespace DirRX.CaseArchiving
{
partial class VerificationTaskServerHandlers
{
public override void BeforeSave(Sungero.Domain.BeforeSaveEventArgs e)
{
// Выдать права на документы, для всех, кому выданы права на задачу.
if (_obj.State.IsChanged)
Sungero.Docflow.PublicFunctions.Module.GrantManualReadRightForAttachments(_obj, _obj.AllAttachments.ToList());
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<queries>
</queries>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using Sungero.Workflow;
using DirRX.CaseArchiving.VerificationTask;
namespace DirRX.CaseArchiving.Server
{
partial class VerificationTaskRouteHandlers
{
public virtual void StartBlock3(DirRX.CaseArchiving.Server.VerificationAssignmentArguments e)
{
// Получить исполнителя из карточки документа.
var document = _obj.DocumentGroup.CaseInventories.Single();
e.Block.Performers.Clear();
e.Block.Performers.Add(document.Responsible);
e.Block.Subject = CaseArchiving.VerificationTasks.Resources.VerificationAssignmentSubjectFormat(Sungero.Docflow.PublicFunctions.Module.TrimSpecialSymbols(document.Name));
}
}
}
\ No newline at end of file
<?xml version="1.0"?>
<RouteScheme xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" MaxBlockId="7">
<Blocks>
<BlockBase xsi:type="StartBlock">
<Id>1</Id>
</BlockBase>
<BlockBase xsi:type="FinishBlock">
<Id>2</Id>
<UnderReview>false</UnderReview>
<ReviewAssignmentId>0</ReviewAssignmentId>
</BlockBase>
<BlockBase xsi:type="AssignmentBlock">
<Id>3</Id>
<CreatedInTaskGuid>d5924d6c-a2e0-43c8-8eab-7257b4f6dada</CreatedInTaskGuid>
<Title>Проверка описи Делопроизводителем</Title>
<GroupsAttachmentsRights>
<GroupAttachmentsRights>
<GroupId>7316bbc6-4c3a-4bff-8c94-61c0ceb1ec17</GroupId>
<AttachmentsRights>AllPerformersAllAttachments</AttachmentsRights>
<AttachmentsRightsType>6eb00eea-b585-43ce-8a0a-a294146e0825</AttachmentsRightsType>
</GroupAttachmentsRights>
<GroupAttachmentsRights>
<GroupId>00000000-0000-0000-0000-000000000000</GroupId>
<AttachmentsRights>AllPerformersAllAttachments</AttachmentsRights>
<AttachmentsRightsType>179af257-a60f-44b8-97b5-1d5bbd06716b</AttachmentsRightsType>
</GroupAttachmentsRights>
</GroupsAttachmentsRights>
<CustomProperties />
<TypeGuid>14d3913f-8072-413a-a274-074c1d83bafc</TypeGuid>
<CreatedEntitiesIds />
<Performers />
<StopResult />
<NoPerformersResult>NoPerformers</NoPerformersResult>
<IsStopped>false</IsStopped>
<IsParallel>false</IsParallel>
<AbsoluteDeadline>0001-01-01T00:00:00</AbsoluteDeadline>
<RelativeDeadline>3.00:00:00</RelativeDeadline>
<RelativeDeadlineDays>3</RelativeDeadlineDays>
<RelativeDeadlineHours>0</RelativeDeadlineHours>
<RelativeDeadlineTimeBase xsi:nil="true" />
<AbsoluteStopAssignmentsDeadline>0001-01-01T00:00:00</AbsoluteStopAssignmentsDeadline>
<RelativeStopAssignmentsDeadline>00:00:00</RelativeStopAssignmentsDeadline>
<RelativeStopDeadlineDays xsi:nil="true" />
<RelativeStopDeadlineHours xsi:nil="true" />
<AbsoluteStopAssignmentsDeadlineInternal>0001-01-01T00:00:00</AbsoluteStopAssignmentsDeadlineInternal>
</BlockBase>
</Blocks>
<Edges>
<Edge>
<Id>1</Id>
<Source>1</Source>
<Target>3</Target>
</Edge>
<Edge>
<Id>2</Id>
<Source>3</Source>
<Target>2</Target>
<Value />
</Edge>
<Edge>
<Id>3</Id>
<Source>3</Source>
<Target>3</Target>
<Value>Forward</Value>
</Edge>
</Edges>
<Layout>
<BlocksLayout>
<BlockLayout>
<BlockId>1</BlockId>
<Bounds>
<Location>
<X>-344.79527559055123</X>
<Y>-204.62933858267377</Y>
</Location>
<Size>
<Width>48</Width>
<Height>48</Height>
</Size>
<X>-344.79527559055123</X>
<Y>-204.62933858267377</Y>
<Width>48</Width>
<Height>48</Height>
</Bounds>
</BlockLayout>
<BlockLayout>
<BlockId>2</BlockId>
<Bounds>
<Location>
<X>-344.79527559055123</X>
<Y>22.055322834648109</Y>
</Location>
<Size>
<Width>48</Width>
<Height>48</Height>
</Size>
<X>-344.79527559055123</X>
<Y>22.055322834648109</Y>
<Width>48</Width>
<Height>48</Height>
</Bounds>
</BlockLayout>
<BlockLayout>
<BlockId>3</BlockId>
<Bounds>
<Location>
<X>-445.79527559055123</X>
<Y>-99.944677165351891</Y>
</Location>
<Size>
<Width>250</Width>
<Height>70</Height>
</Size>
<X>-445.79527559055123</X>
<Y>-99.944677165351891</Y>
<Width>250</Width>
<Height>70</Height>
</Bounds>
</BlockLayout>
</BlocksLayout>
<EdgesLayout>
<EdgeLayout>
<DestinationAnchor>3</DestinationAnchor>
<EdgeId>1</EdgeId>
<EndPoint>
<X>-320.79527559055123</X>
<Y>-99.944677165351891</Y>
</EndPoint>
<OriginAnchor>3</OriginAnchor>
<Points>
<Point>
<X>-320.79527559055123</X>
<Y>-156.62933858267377</Y>
</Point>
<Point>
<X>-320.79527559055123</X>
<Y>-99.944677165351891</Y>
</Point>
<Point>
<X>-320.79527559055123</X>
<Y>-99.944677165351891</Y>
</Point>
</Points>
<StartPoint>
<X>-320.79527559055123</X>
<Y>-156.62933858267377</Y>
</StartPoint>
</EdgeLayout>
<EdgeLayout>
<DestinationAnchor>1</DestinationAnchor>
<EdgeId>2</EdgeId>
<EndPoint>
<X>-320.79527559055123</X>
<Y>22.055322834648109</Y>
</EndPoint>
<OriginAnchor>10</OriginAnchor>
<Points>
<Point>
<X>-320.79527559055123</X>
<Y>-29.944677165351891</Y>
</Point>
<Point>
<X>-320.79527559055123</X>
<Y>22.055322834648109</Y>
</Point>
<Point>
<X>-320.79527559055123</X>
<Y>22.055322834648109</Y>
</Point>
</Points>
<StartPoint>
<X>-320.79527559055123</X>
<Y>-29.944677165351891</Y>
</StartPoint>
</EdgeLayout>
<EdgeLayout>
<DestinationAnchor>4</DestinationAnchor>
<EdgeId>3</EdgeId>
<EndPoint>
<X>-289.54527559055123</X>
<Y>-99.944677165351891</Y>
</EndPoint>
<OriginAnchor>18</OriginAnchor>
<Points>
<Point>
<X>-195.79527559055123</X>
<Y>-64.944677165351891</Y>
</Point>
<Point>
<X>-158.00000000000006</X>
<Y>-64.944677165351891</Y>
</Point>
<Point>
<X>-158.00000000000006</X>
<Y>-123.28700787401283</Y>
</Point>
<Point>
<X>-289.54527559055123</X>
<Y>-123.28700787401283</Y>
</Point>
<Point>
<X>-289.54527559055123</X>
<Y>-99.944677165351891</Y>
</Point>
</Points>
<StartPoint>
<X>-195.79527559055123</X>
<Y>-64.944677165351891</Y>
</StartPoint>
</EdgeLayout>
</EdgesLayout>
</Layout>
</RouteScheme>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.VerificationTask;
namespace DirRX.CaseArchiving.Server
{
partial class VerificationTaskFunctions
{
public Sungero.Core.StateView GetStateView(Sungero.Docflow.IOfficialDocument document)
{
if (_obj.DocumentGroup.CaseInventories.Any(d => Equals(document, d)))
return this.GetStateView();
else
return StateView.Create();
}
[Remote(IsPure = true)]
public Sungero.Core.StateView GetStateView()
{
var stateView = StateView.Create();
// Блок информации о задаче.
var taskBlock = this.AddTaskBlock(stateView);
// Получить все задания по задаче.
var taskAssignments = VerificationAssignments.GetAll(a => Equals(a.Task, _obj)).OrderBy(a => a.Created).ToList();
// Статус задачи.
var status = _obj.Info.Properties.Status.GetLocalizedValue(_obj.Status);
var lastAssignment = taskAssignments.OrderByDescending(a => a.Created).FirstOrDefault();
if (!string.IsNullOrWhiteSpace(status))
Sungero.Docflow.PublicFunctions.Module.AddInfoToRightContent(taskBlock, status);
// Блоки информации о заданиях.
foreach (var assignment in taskAssignments)
{
var assignmentBlock = this.GetAssignmentBlock(assignment);
taskBlock.AddChildBlock(assignmentBlock);
}
return stateView;
}
/// <summary>
/// Добавить блок задачи на верификацию.
/// </summary>
/// <param name="stateView">Схема представления.</param>
/// <returns>Новый блок.</returns>
public Sungero.Core.StateBlock AddTaskBlock(Sungero.Core.StateView stateView)
{
// Создать блок задачи.
var taskBlock = stateView.AddBlock();
// Добавить ссылку на задачу и иконку.
taskBlock.Entity = _obj;
taskBlock.AssignIcon(StateBlockIconType.OfEntity, StateBlockIconSize.Large);
// Определить схлопнутость.
taskBlock.IsExpanded = _obj.Status == Sungero.Workflow.Task.Status.InProcess;
taskBlock.AddLabel(_obj.Info.LocalizedName, Sungero.Docflow.PublicFunctions.Module.CreateHeaderStyle());
return taskBlock;
}
/// <summary>
/// Добавить блок задания на верификацию.
/// </summary>
/// <param name="assignment">Задание.</param>
/// <returns>Новый блок.</returns>
public Sungero.Core.StateBlock GetAssignmentBlock(Sungero.Workflow.IAssignment assignment)
{
// Стили.
var performerDeadlineStyle = Sungero.Docflow.PublicFunctions.Module.CreatePerformerDeadlineStyle();
var boldStyle = Sungero.Docflow.PublicFunctions.Module.CreateStyle(true, false);
var grayStyle = Sungero.Docflow.PublicFunctions.Module.CreateStyle(false, true);
var separatorStyle = Sungero.Docflow.PublicFunctions.Module.CreateSeparatorStyle();
var noteStyle = Sungero.Docflow.PublicFunctions.Module.CreateNoteStyle();
var block = StateView.Create().AddBlock();
block.Entity = assignment;
// Иконка.
this.SetIcon(block, VerificationAssignments.As(assignment));
// Заголовок.
block.AddLabel(VerificationAssignments.Info.LocalizedName, boldStyle);
block.AddLineBreak();
// Кому.
var assigneeShortName = Sungero.Company.PublicFunctions.Employee.GetShortName(Sungero.Company.Employees.As(assignment.Performer), false);
var performerInfo = string.Format("{0}: {1}", Sungero.Docflow.OfficialDocuments.Resources.StateViewTo, assigneeShortName);
block.AddLabel(performerInfo, performerDeadlineStyle);
// Срок.
if (assignment.Deadline.HasValue)
{
var deadlineLabel = Sungero.Docflow.PublicFunctions.Module.ToShortDateShortTime(assignment.Deadline.Value.ToUserTime());
block.AddLabel(string.Format("{0}: {1}", Sungero.Docflow.OfficialDocuments.Resources.StateViewDeadline, deadlineLabel), performerDeadlineStyle);
}
// Текст задания.
var comment = Sungero.Docflow.PublicFunctions.Module.GetAssignmentUserComment(Sungero.Workflow.Assignments.As(assignment));
if (!string.IsNullOrWhiteSpace(comment))
{
// Разделитель.
block.AddLineBreak();
block.AddLabel(Sungero.Docflow.PublicFunctions.Module.GetSeparatorText(), separatorStyle);
block.AddLineBreak();
block.AddEmptyLine(Sungero.Docflow.PublicFunctions.Module.GetEmptyLineMargin());
block.AddLabel(comment, noteStyle);
}
// Статус.
var status = Sungero.Workflow.AssignmentBases.Info.Properties.Status.GetLocalizedValue(assignment.Status);
// Для непрочитанных заданий указать это.
if (assignment.IsRead == false)
status = Sungero.Docflow.ApprovalTasks.Resources.StateViewUnRead.ToString();
// Для исполненных заданий указать результаты, с которым они исполнены, кроме "Проверено".
if (assignment.Status == Sungero.Workflow.AssignmentBase.Status.Completed
&& assignment.Result != Storage.VerificationActAssignment.Result.Complete)
status = Storage.VerificationActAssignments.Info.Properties.Result.GetLocalizedValue(assignment.Result);
if (!string.IsNullOrWhiteSpace(status))
Sungero.Docflow.PublicFunctions.Module.AddInfoToRightContent(block, status);
// Задержка исполнения.
if (assignment.Deadline.HasValue &&
assignment.Status == Sungero.Workflow.AssignmentBase.Status.InProcess)
Sungero.Docflow.PublicFunctions.OfficialDocument.AddDeadlineHeaderToRight(block, assignment.Deadline.Value, assignment.Performer);
return block;
}
/// <summary>
/// Установить иконку.
/// </summary>
/// <param name="block">Блок, для которого требуется установить иконку.</param>
/// <param name="assignment">Задание, от которого построен блок.</param>
private void SetIcon(StateBlock block, IVerificationAssignment assignment)
{
var iconSize = StateBlockIconSize.Large;
// Иконка по умолчанию.
block.AssignIcon(StateBlockIconType.OfEntity, iconSize);
// Прекращено, остановлено по ошибке.
if (assignment.Status == Sungero.Workflow.AssignmentBase.Status.Aborted ||
assignment.Status == Sungero.Workflow.AssignmentBase.Status.Suspended)
{
block.AssignIcon(StateBlockIconType.Abort, iconSize);
return;
}
if (assignment.Result == null)
return;
// Проверено.
if (assignment.Result == Storage.VerificationActAssignment.Result.Complete)
{
block.AssignIcon(StateBlockIconType.Completed, iconSize);
return;
}
// Переадресовано.
if (assignment.Result == Storage.VerificationActAssignment.Result.Forward)
{
block.AssignIcon(Sungero.Docflow.FreeApprovalTasks.Resources.Forward, iconSize);
}
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="WarningCanNotUpdateCaseFile" xml:space="preserve">
<value>Can not update case file {0}.</value>
</data>
<data name="WarningCaseListIsEmpty" xml:space="preserve">
<value>Case list is empty.</value>
</data>
<data name="WarningCaseFilesNotFound" xml:space="preserve">
<value>Case files not found.</value>
</data>
<data name="WarningCaseInventoryAlreadyArchived" xml:space="preserve">
<value>Case inventory has already been archived.</value>
</data>
<data name="WarningOnlyResponsibleCanAddCaseFiles" xml:space="preserve">
<value>Only responsible clerk {0} can include case files to inventory.</value>
</data>
<data name="WarningOnlyResponsibleCanRemoveCaseFiles" xml:space="preserve">
<value>Only responsible clerk {0} can remove case files from inventory.</value>
</data>
<data name="NotifyVersionCreated" xml:space="preserve">
<value>New version has been created</value>
</data>
<data name="NotifyVersionReformatted" xml:space="preserve">
<value>The latest document revision has been reformatted</value>
</data>
<data name="ErrorFailedReformatVersion" xml:space="preserve">
<value>Failed to reformat version. Contact your administrator.</value>
</data>
<data name="WarningOnlyResponsibleCanReformVersion" xml:space="preserve">
<value>Only responsible clerk {0} can re-form case inventory.</value>
</data>
<data name="WarningCaseInventoryAlreadySigned" xml:space="preserve">
<value>Case inventory has already been signed.</value>
</data>
</root>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="WarningCanNotUpdateCaseFile" xml:space="preserve">
<value>Дело {0} редактируется другим пользователем. </value>
</data>
<data name="WarningCaseListIsEmpty" xml:space="preserve">
<value>Список дел пуст.</value>
</data>
<data name="WarningCaseFilesNotFound" xml:space="preserve">
<value>Отсутствуют завершенные дела, соответствующие параметрам описи.</value>
</data>
<data name="WarningCaseInventoryAlreadyArchived" xml:space="preserve">
<value>Опись дел уже передана в архив.</value>
</data>
<data name="WarningOnlyResponsibleCanAddCaseFiles" xml:space="preserve">
<value>Включать дела в опись может только ответственный делопроизводитель {0}.</value>
</data>
<data name="WarningOnlyResponsibleCanRemoveCaseFiles" xml:space="preserve">
<value>Исключать дела из описи может только ответственный делопроизводитель {0}.</value>
</data>
<data name="NotifyVersionCreated" xml:space="preserve">
<value>Создана новая версия</value>
</data>
<data name="NotifyVersionReformatted" xml:space="preserve">
<value>Последняя версия переформирована</value>
</data>
<data name="ErrorFailedReformatVersion" xml:space="preserve">
<value>Не удалось переформировать версию. Обратитесь к администратору.</value>
</data>
<data name="WarningOnlyResponsibleCanReformVersion" xml:space="preserve">
<value>Переформировать опись может только ответственный делопроизводитель {0}.</value>
</data>
<data name="WarningCaseInventoryAlreadySigned" xml:space="preserve">
<value>Опись дел уже подписана.</value>
</data>
</root>
\ No newline at end of file
using System;
using Sungero.Core;
namespace DirRX.CaseArchiving.Constants
{
public static class CaseInventory
{
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.CaseInventory;
namespace DirRX.CaseArchiving
{
partial class CaseInventorySharedHandlers
{
public override void InternalApprovalStateChanged(Sungero.Domain.Shared.EnumerationPropertyChangedEventArgs e)
{
base.InternalApprovalStateChanged(e);
// Изменить состояние описи в зависимости от жизненного цикла подписания.
if (e.NewValue == InternalApprovalState.OnApproval && _obj.ArchiveState == ArchiveState.Checking && _obj.VerificationState == VerificationState.Completed)
_obj.ArchiveState = ArchiveState.OnApproval;
else if (e.NewValue == InternalApprovalState.PendingSign && (_obj.ArchiveState == ArchiveState.OnApproval || _obj.ArchiveState == ArchiveState.Checking))
_obj.ArchiveState = ArchiveState.Signing;
else if (e.NewValue == InternalApprovalState.Signed && _obj.ArchiveState == ArchiveState.Signing)
_obj.ArchiveState = ArchiveState.Approved;
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
using DirRX.CaseArchiving.CaseInventory;
namespace DirRX.CaseArchiving.Shared
{
partial class CaseInventoryFunctions
{
/// <summary>
/// Заполнить имя документа.
/// </summary>
public override void FillName()
{
// Вид документа.
var name = _obj.DocumentKind.DisplayValue;
// Подразделение.
if (_obj.Department != null && Functions.Module.Remote.IsCreateCaseInventoryByDepartments())
name += " " + _obj.Department.DisplayValue;
using (TenantInfo.Culture.SwitchTo())
{
// Номер описи.
name += _obj.DocumentNumber.HasValue ? " № " + _obj.DocumentNumber.ToString() : string.Empty;
// Год.
name += _obj.EndOfYear.HasValue ? " за " + _obj.EndOfYear.Value.Year.ToString() + " год" : string.Empty;
}
_obj.Name = name.Length > _obj.Info.Properties.Name.Length ? name.Substring(0, _obj.Info.Properties.Name.Length - 1) : name;
}
/// <summary>
/// Отправить уведомление о завершении обработки сдаточной описи.
/// </summary>
[Public]
public virtual void SendCompletionNotification()
{
if (_obj.Archivist == null)
return;
var simpleTask = Sungero.Workflow.SimpleTasks.Create();
// Вложить опись.
simpleTask.Attachments.Add(_obj);
// Уведомить архивиста.
var step = simpleTask.RouteSteps.AddNew();
step.AssignmentType = Sungero.Workflow.SimpleTask.AssignmentType.Notice;
step.Performer = _obj.Archivist;
// Получить тему и текст уведомления в зависимости от статуса.
if (_obj.ArchiveState == ArchiveState.Complete)
{
simpleTask.Subject = Resources.InfoArchivingCompleted;
simpleTask.ActiveText = _obj.Name;
// Уведомить делопроизводителя.
if (_obj.Responsible != null && _obj.Responsible != _obj.Archivist)
{
step = simpleTask.RouteSteps.AddNew();
step.AssignmentType = Sungero.Workflow.SimpleTask.AssignmentType.Notice;
step.Performer = _obj.Responsible;
}
}
else
{
simpleTask.Subject = Resources.InfoArchivingError;
simpleTask.ActiveText = _obj.Name;
simpleTask.ActiveText += Environment.NewLine;
simpleTask.ActiveText += "При обработке описи возникли ошибки. Обратитесь к Администратору системы.";
}
simpleTask.Save();
simpleTask.Start();
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace DirRX.CaseArchiving.Structures.CaseInventory
{
}
\ No newline at end of file
{
"$type": "Sungero.Metadata.EntityMetadata, Sungero.Metadata",
"NameGuid": "9e538fe4-9181-446d-844f-be2dd0ce1748",
"Name": "CaseInventoryTracking",
"AccessRightsMode": "NoRight",
"BaseGuid": "2d7f6507-6d0a-4bb7-b2a1-2f4248b962e7",
"CanBeNavigationPropertyType": true,
"CreationAreaMetadata": {
"NameGuid": "4d08fccd-8eaf-487e-bf81-7535b0448dcf",
"Name": "CreationArea",
"Buttons": [],
"IsAncestorMetadata": true,
"Versions": []
},
"ExtraSearchProperties": [],
"IsAutoGenerated": true,
"IsChildEntity": true,
"Overridden": [
"IsAutoGenerated"
],
"Properties": [
{
"$type": "Sungero.Metadata.NavigationPropertyMetadata, Sungero.Metadata",
"NameGuid": "68863851-86ec-4a3d-aaa9-ac4d7fcbba89",
"Name": "OfficialDocument",
"EntityGuid": "64551469-8c45-4778-9650-9cc29d4812f1",
"IsAncestorMetadata": true,
"IsReferenceToRootEntity": true,
"Overridden": [
"EntityGuid"
],
"Versions": []
}
],
"PublicStructures": [],
"RibbonCardMetadata": {
"NameGuid": "22e0f737-a2cf-4ea4-8949-21cb996e4fd3",
"Name": "RibbonCard",
"Categories": [],
"Elements": [],
"Groups": [],
"IsAncestorMetadata": true,
"Pages": [],
"RibbonKind": "Card",
"Versions": []
},
"RibbonCollectionMetadata": {
"NameGuid": "f0c2a232-7f87-4b3e-bd3e-bd1b0899964f",
"Name": "RibbonCollection",
"Categories": [],
"Elements": [],
"Groups": [],
"IsAncestorMetadata": true,
"Pages": [],
"Versions": []
},
"Versions": [
{
"Type": "EntityMetadata",
"Number": 11
},
{
"Type": "DomainApi",
"Number": 2
}
]
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
{
"$type": "Sungero.Metadata.EntityMetadata, Sungero.Metadata",
"NameGuid": "3225a1a1-012d-4a3e-a39b-29e0d8acb781",
"Name": "CaseInventoryVersions",
"AccessRightsMode": "NoRight",
"BaseGuid": "6180769e-de94-43ff-8894-e32cb5260789",
"CanBeAncestor": true,
"CreationAreaMetadata": {
"NameGuid": "8cc0db4d-d33e-4631-ad19-01e80fc8f71b",
"Name": "CreationArea",
"Buttons": [],
"IsAncestorMetadata": true,
"Versions": []
},
"ExtraSearchProperties": [],
"IsAutoGenerated": true,
"IsChildEntity": true,
"IsVisible": false,
"Overridden": [
"IsVisible",
"IsAutoGenerated"
],
"Properties": [
{
"$type": "Sungero.Metadata.NavigationPropertyMetadata, Sungero.Metadata",
"NameGuid": "9db5ead2-a918-4f50-8aa4-f75a44cfce07",
"Name": "ElectronicDocument",
"EntityGuid": "64551469-8c45-4778-9650-9cc29d4812f1",
"IsAncestorMetadata": true,
"IsReferenceToRootEntity": true,
"Overridden": [
"EntityGuid"
],
"Versions": []
}
],
"PublicStructures": [],
"ResourcesKeys": [],
"RibbonCardMetadata": {
"NameGuid": "a1d0f296-7ace-4cda-b8b1-d6e63ff3588e",
"Name": "RibbonCard",
"Categories": [],
"Elements": [],
"Groups": [],
"IsAncestorMetadata": true,
"Pages": [],
"RibbonKind": "Card",
"Versions": []
},
"RibbonCollectionMetadata": {
"NameGuid": "46da8e4a-823b-4011-aab5-849abaa29d81",
"Name": "RibbonCollection",
"Categories": [],
"Elements": [],
"Groups": [],
"IsAncestorMetadata": true,
"Pages": [],
"Versions": []
},
"Versions": [
{
"Type": "EntityMetadata",
"Number": 11
},
{
"Type": "DomainApi",
"Number": 2
}
]
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CreateInventoriesDialogTitle" xml:space="preserve">
<value>Create case file inventory</value>
</data>
<data name="CreateInventoriesDialogYearLabel" xml:space="preserve">
<value>Year</value>
</data>
<data name="InitCaseInvenoryDocumentKindName" xml:space="preserve">
<value>Case file inventory</value>
</data>
<data name="AddCaseFilesDialogTitle" xml:space="preserve">
<value>Add case files</value>
</data>
<data name="CaseFilesLabel" xml:space="preserve">
<value>Case files</value>
</data>
<data name="RemoveCaseFileDialogTitle" xml:space="preserve">
<value>Remove case files</value>
</data>
<data name="RuleCaseInventoryDefaultRuleName" xml:space="preserve">
<value>Default rule for case file inventories</value>
</data>
<data name="RoleArchivistName" xml:space="preserve">
<value>Archivist</value>
</data>
<data name="RoleArchivistDescription" xml:space="preserve">
<value>Long term archive responsible user</value>
</data>
<data name="CreateInventoriesDialogCaseFileNotFoundWarning" xml:space="preserve">
<value>Case files not found.</value>
</data>
<data name="CreateInventoriesDialogResponsibleLabel" xml:space="preserve">
<value>Responsible</value>
</data>
<data name="InfoArchivingCompleted" xml:space="preserve">
<value>Archiving completed</value>
</data>
<data name="CreateInventoriesDialogArchivistLabel" xml:space="preserve">
<value>Archivist</value>
</data>
<data name="RuleApprovalWithArchivistStageName" xml:space="preserve">
<value>Approval with the Archivist</value>
</data>
<data name="CreateInventoriesDialogKindsLabel" xml:space="preserve">
<value>Inventory types</value>
</data>
<data name="CaseInventorySettingsCreateByDepartmentsLabel" xml:space="preserve">
<value>Use case files by departments</value>
</data>
<data name="CaseInventorySettingsUseInSourceLabel" xml:space="preserve">
<value>Use in source system</value>
</data>
<data name="CaseInventorySettingsUseInArchiveLabel" xml:space="preserve">
<value>Use in archive system</value>
</data>
<data name="CaseInventorySettingsDialogTitle" xml:space="preserve">
<value>Module settings</value>
</data>
<data name="RulePaperCaseInventoryDefaultRuleName" xml:space="preserve">
<value>Default rule for paper case file inventories</value>
</data>
<data name="InitPaperCaseInvenoryDocumentKindName" xml:space="preserve">
<value>Paper case file inventory</value>
</data>
<data name="RuleStageArchivistSubject" xml:space="preserve">
<value>Approve</value>
</data>
<data name="RuleStageArchivistName" xml:space="preserve">
<value>Assignment for archivist</value>
</data>
<data name="InfoArchivingError" xml:space="preserve">
<value>Archiving failed</value>
</data>
</root>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CreateInventoriesDialogTitle" xml:space="preserve">
<value>Создать описи дел</value>
</data>
<data name="CreateInventoriesDialogYearLabel" xml:space="preserve">
<value>Год</value>
</data>
<data name="InitCaseInvenoryDocumentKindName" xml:space="preserve">
<value>Опись электронных дел</value>
</data>
<data name="AddCaseFilesDialogTitle" xml:space="preserve">
<value>Добавление дел в опись</value>
</data>
<data name="CaseFilesLabel" xml:space="preserve">
<value>Дела</value>
</data>
<data name="RemoveCaseFileDialogTitle" xml:space="preserve">
<value>Исключение дел из описи</value>
</data>
<data name="RuleCaseInventoryDefaultRuleName" xml:space="preserve">
<value>Правило по умолчанию для описей электронных дел</value>
</data>
<data name="RoleArchivistName" xml:space="preserve">
<value>Архивист</value>
</data>
<data name="RoleArchivistDescription" xml:space="preserve">
<value>Пользователь, ответственный за долговременный архив</value>
</data>
<data name="CreateInventoriesDialogCaseFileNotFoundWarning" xml:space="preserve">
<value>Завершенные дела для включения в опись не найдены.</value>
</data>
<data name="CreateInventoriesDialogResponsibleLabel" xml:space="preserve">
<value>Ответственные</value>
</data>
<data name="InfoArchivingCompleted" xml:space="preserve">
<value>Завершена передача документов на архивное хранение</value>
</data>
<data name="CreateInventoriesDialogArchivistLabel" xml:space="preserve">
<value>Архивист</value>
</data>
<data name="RuleApprovalWithArchivistStageName" xml:space="preserve">
<value>Согласование с Архивистом</value>
</data>
<data name="CreateInventoriesDialogKindsLabel" xml:space="preserve">
<value>Виды описей</value>
</data>
<data name="CaseInventorySettingsCreateByDepartmentsLabel" xml:space="preserve">
<value>Вести дела в разрезе подразделений</value>
</data>
<data name="CaseInventorySettingsUseInSourceLabel" xml:space="preserve">
<value>Использовать описи в системе-источнике</value>
</data>
<data name="CaseInventorySettingsUseInArchiveLabel" xml:space="preserve">
<value>Использовать описи в архивной системе</value>
</data>
<data name="CaseInventorySettingsDialogTitle" xml:space="preserve">
<value>Настройки сдаточных описей</value>
</data>
<data name="RulePaperCaseInventoryDefaultRuleName" xml:space="preserve">
<value>Правило по умолчанию для описей бумажных дел</value>
</data>
<data name="InitPaperCaseInvenoryDocumentKindName" xml:space="preserve">
<value>Опись бумажных дел</value>
</data>
<data name="RuleStageArchivistSubject" xml:space="preserve">
<value>Согласуйте</value>
</data>
<data name="RuleStageArchivistName" xml:space="preserve">
<value>Задание архивисту</value>
</data>
<data name="InfoArchivingError" xml:space="preserve">
<value>Не удалось передать дела на архивное хранение</value>
</data>
</root>
\ No newline at end of file
using System;
using Sungero.Core;
namespace DirRX.CaseArchiving.Constants
{
public static class Module
{
public static class DocflowParams
{
// Имя ключа для настройки "Формировать описи в разрезе подрезделений".
[Sungero.Core.Public]
public const string CreateCaseInventoryByDepartmentsKey = "LTACreateCaseInventoryByDepartments";
// Имя ключа для настройки "Описи формируются в исходной системе".
[Sungero.Core.Public]
public const string UseCaseInventoryInSourceSystemKey = "LTAUseCaseInventoryInSourceSystem";
// Имя ключа для настройки "Описи формируются в архивной системе".
[Sungero.Core.Public]
public const string UseCaseInventoryInArchiveSystemKey = "LTAUseCaseInventoryInArchiveSystem";
// Имя ключа для настройки "Планируемая дата создания описей".
[Sungero.Core.Public]
public const string ScheduledDateKey = "LTACaseInventoryScheduledDate";
// Имя параметра "Необходимо передать документы в архив", используемого в событии сохранения описи.
public const string NeedFinishArchiving = "LTANeedFinishArchiving";
}
public static class Initialize
{
// ГУИД вида документа "Опись электронных дел".
[Sungero.Core.Public]
public static readonly Guid CaseInventoryDocumentKind = Guid.Parse("2750E572-764C-4CA7-A71E-64711B601868");
// ГУИД вида документа "Опись бумажных дел".
[Sungero.Core.Public]
public static readonly Guid PaperCaseInventoryDocumentKind = Guid.Parse("B4E6B4F4-37A6-4AE7-B728-3EE4D082950E");
// ГУИД сущности "Виды документов".
[Sungero.Core.Public]
public static readonly Guid DocumentKindTypeGuid = Guid.Parse("14a59623-89a2-4ea8-b6e9-2ad4365f358c");
// ГУИД роли "Архивист".
[Sungero.Core.Public]
public static readonly Guid ArchivistRoleGuid = Guid.Parse("5020577A-B6AA-4D85-A13A-10525EAB87C2");
// ГУИД роли "Делопроизводители".
[Sungero.Core.Public]
public static readonly Guid ClerksRole = Guid.Parse("B0A07866-7D6F-4860-8850-7016D01EA649");
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace DirRX.CaseArchiving.Shared
{
public class ModuleFunctions
{
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace DirRX.CaseArchiving.Structures.Module
{
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="DisplayName" xml:space="preserve">
<value>Long-term archive inventory</value>
</data>
<data name="CoverTitle" xml:space="preserve">
<value>CaseArchiving</value>
</data>
<data name="CoverDescription" xml:space="preserve">
<value>Cистема управления электронным архивом c гарантией юридической значимости документов</value>
</data>
<data name="JobDisplayName_ecb38a0c0e344facbf5207d23c15db5a" xml:space="preserve">
<value>Create case inventories</value>
</data>
<data name="JobDescription_ecb38a0c0e344facbf5207d23c15db5a" xml:space="preserve">
<value>Create case inventories</value>
</data>
<data name="AsyncHandler_Description_3b29dc6686d44a4daa4bcf4169657ae3" xml:space="preserve">
<value>Transfer documents to archive</value>
</data>
<data name="AsyncHandler_Description_dfc00582261046109350d1ff4fb2f064" xml:space="preserve">
<value>Change case file stage to transferred to archive</value>
</data>
</root>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CoverTitle" xml:space="preserve">
<value>Описи электронных дел</value>
</data>
<data name="CoverDescription" xml:space="preserve">
<value>Cистема управления электронным архивом c гарантией юридической значимости документов</value>
</data>
<data name="DisplayName" xml:space="preserve">
<value>Долговременный архив. Описи дел</value>
</data>
<data name="JobDisplayName_ecb38a0c0e344facbf5207d23c15db5a" xml:space="preserve">
<value>ДА. Формирование сдаточных описей</value>
</data>
<data name="JobDescription_ecb38a0c0e344facbf5207d23c15db5a" xml:space="preserve">
<value>Формирование сдаточных описей</value>
</data>
<data name="AsyncHandler_Description_3b29dc6686d44a4daa4bcf4169657ae3" xml:space="preserve">
<value>Передать документы в архивную систему</value>
</data>
<data name="AsyncHandler_Description_dfc00582261046109350d1ff4fb2f064" xml:space="preserve">
<value>Изменение статуса дела на "Передано в архив"</value>
</data>
</root>
\ No newline at end of file
{
"$type": "Sungero.Metadata.ReportMetadata, Sungero.Reporting.Shared",
"NameGuid": "560cc7ec-2c3f-444b-83c0-ae9426880793",
"Name": "CaseInventoryMainReport",
"AccessRightsMode": "NoRight",
"AssociatedGuid": "64551469-8c45-4778-9650-9cc29d4812f1",
"BaseGuid": "cef9a810-3f30-4eca-9fe3-30992af0b818",
"DataSources": [
{
"NameGuid": "1a9c1c6b-8070-4c8e-9c2f-e518401b3bad",
"Name": "LTACaseFiles",
"EntityType": "e1023590-be5f-40d3-a890-ba4e933b9210"
}
],
"DefaultExportFormat": "Word",
"ExportFormats": [
"Word"
],
"HandledEvents": [
"BeforeExecuteServer"
],
"IconResourcesKeys": [],
"Overridden": [
"AccessRightsMode",
"PublicConstants",
"PublicStructures",
"ExportFormats",
"DefaultExportFormat",
"DisplayName",
"DataSources",
"Parameters",
"HandledEvents"
],
"Parameters": [
{
"NameGuid": "0273663b-5429-4291-8e9d-9899efd31ee3",
"Name": "Entity",
"EntityType": "64551469-8c45-4778-9650-9cc29d4812f1",
"InternalDataTypeName": "DirRX.CaseArchiving.ICaseInventory, Sungero.Domain.Interfaces",
"IsRequired": true
},
{
"NameGuid": "f1708f91-58ba-4e27-97fe-d00d26033ee3",
"Name": "CFTotal",
"InternalDataTypeName": "System.Int32",
"IsSimpleDataType": true
},
{
"NameGuid": "6c7dea4d-4fe8-4493-a92b-88cf7ca33efa",
"Name": "CFTotalInWords",
"InternalDataTypeName": "System.String"
},
{
"NameGuid": "fefe23cd-ebd3-4ec1-a28a-49d91530b6cd",
"Name": "Parameter",
"InternalDataTypeName": "System.String"
}
],
"PublicStructures": [],
"ResourcesKeys": [
"CaseFileNumber",
"CaseFileName",
"CaseFileEdgeDates",
"CaseFileDocumentAmount",
"CaseFileIndex",
"CaseFileNote"
],
"Versions": []
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CaseFileNumber" xml:space="preserve">
<value>№№</value>
</data>
<data name="CaseFileName" xml:space="preserve">
<value>Case file title</value>
</data>
<data name="CaseFileEdgeDates" xml:space="preserve">
<value>Period</value>
</data>
<data name="CaseFileDocumentAmount" xml:space="preserve">
<value>Size, Mb</value>
</data>
<data name="CaseFileIndex" xml:space="preserve">
<value>Case file index</value>
</data>
<data name="CaseFileNote" xml:space="preserve">
<value>Note</value>
</data>
</root>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CaseFileNumber" xml:space="preserve">
<value>№ п/п</value>
</data>
<data name="CaseFileName" xml:space="preserve">
<value>Заголовок дела</value>
</data>
<data name="CaseFileEdgeDates" xml:space="preserve">
<value>Крайние даты</value>
</data>
<data name="CaseFileDocumentAmount" xml:space="preserve">
<value>Объем, Мб</value>
</data>
<data name="CaseFileIndex" xml:space="preserve">
<value>Индекс дела</value>
</data>
<data name="CaseFileNote" xml:space="preserve">
<value>Примечание</value>
</data>
</root>
\ No newline at end of file
using System;
using Sungero.Core;
namespace DirRX.CaseArchiving.Constants
{
public static class CaseInventoryMainReport
{
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace DirRX.CaseArchiving.Structures.CaseInventoryMainReport
{
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Description" xml:space="preserve">
<value />
</data>
<data name="DisplayName" xml:space="preserve">
<value>Case inventory</value>
</data>
</root>
\ 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.