Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
i.borovik committed Dec 12, 2022
1 parent 5ae5825 commit b5abbde
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ public MessageBoxEventTypeRegistry()
Register<OutboxDiadocDocumentSenderPowerOfAttorneyStatusChangedEventContent>(MessageBoxEventType.OutboxDiadocDocumentSenderPowerOfAttorneyStatusChanged);
Register<InboxDiadocDocumentRecipientPowerOfAttorneyStatusChangedEventContent>(MessageBoxEventType.InboxDiadocDocumentRecipientPowerOfAttorneyStatusChanged);
Register<InboxDiadocDocumentSenderPowerOfAttorneyStatusChangedEventContent>(MessageBoxEventType.InboxDiadocDocumentSenderPowerOfAttorneyStatusChanged);
Register<InboxDiadocDocumentGisMtStatusChanged>(MessageBoxEventType.InboxDiadocDocumentGisMtStatusChanged);
Register<InboxDiadocDocumentRevocationGisMtStatusChanged>(MessageBoxEventType.InboxDiadocDocumentRevocationGisMtStatusChanged);
Register<OutboxDiadocDocumentGisMtStatusChanged>(MessageBoxEventType.OutboxDiadocDocumentGisMtStatusChanged);
Register<OutboxDiadocDocumentRevocationGisMtStatusChanged>(MessageBoxEventType.OutboxDiadocDocumentRevocationGisMtStatusChanged);
Register<InboxDiadocDocumentGisMtStatusChangedEventContent>(MessageBoxEventType.InboxDiadocDocumentGisMtStatusChanged);
Register<InboxDiadocDocumentRevocationGisMtStatusChangedEventContent>(MessageBoxEventType.InboxDiadocDocumentRevocationGisMtStatusChanged);
Register<OutboxDiadocDocumentGisMtStatusChangedEventContent>(MessageBoxEventType.OutboxDiadocDocumentGisMtStatusChanged);
Register<OutboxDiadocDocumentRevocationGisMtStatusChangedEventContent>(MessageBoxEventType.OutboxDiadocDocumentRevocationGisMtStatusChanged);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ public class DiadocGisMtInfo
public string GisMtAttachmentEntityId { get; set; }

/// <summary>Cтатус проверки в ГИС МТ "Честный ЗНАК"</summary>
public DiadocGisMtStatus StatusNamedId { get; set; }
public DiadocGisMtStatus GisMtStatus { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ public class DiadocGisMtStatus
public DiadocGisMtStatusNamedId StatusNamedId { get; set; }

/// <summary>Тип статуса обработки в ГИС МТ "Честный ЗНАК"</summary>
public DiadocGisMtOuterStatusType StatusType { get; set; }
public DiadocGisMtStatusType StatusType { get; set; }

/// <summary>Описание статуса в ГИС МТ "Честный ЗНАК"</summary>
public string Description { get; set; } = default!;
public string Description { get; set; }

/// <summary>Список ошибок, которые были получены при взаимодействии с ГИС МТ "Честный ЗНАК" в рамках документооборота</summary>
public DiadocGisMtStatusDetail[] Details { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ public enum DiadocGisMtStatusNamedId
SendingInProgress = 1,

/// <summary>Обрабатывается в ГИС МТ "Честный ЗНАК"</summary>
ProcessingInGisMt = 2,
InProcessing = 2,

/// <summary>Обработан в ГИС МТ "Честный ЗНАК"</summary>
SuccessProcessedInGisMt = 3,
SuccessProcessed = 3,

/// <summary>Ошибка обработки документа в ГИС МТ "Честный ЗНАК"</summary>
ProcessingFailInGisMt = 4,
ProcessingError = 4,
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents
{
/// <summary>Тип статуса обработки в ГИС МТ "Честный ЗНАК"</summary>
public enum DiadocGisMtOuterStatusType
public enum DiadocGisMtStatusType
{
/// <summary>Неизвестный тип</summary>
UnknownStatus = 0,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Inbox
{
/// <summary>Информация о событии InboxDiadocDocumentGisMtStatusChanged в ящике получателя</summary>
public class InboxDiadocDocumentGisMtStatusChanged : InboxDiadocEventContentBase
public class InboxDiadocDocumentGisMtStatusChangedEventContent : InboxDiadocEventContentBase
{
/// <summary>Информация о статусе проверки в ГИС МТ "Честный ЗНАК"</summary>
public DiadocGisMtInfo DiadocGisMtInfo { get; set; }
public DiadocGisMtInfo GisMtInfo { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Inbox
{
/// <summary>Информация о событии InboxDiadocRevocationGisMtStatusChanged в ящике получателя</summary>
public class InboxDiadocDocumentRevocationGisMtStatusChanged : InboxDiadocEventContentBase
/// <summary>Информация о событии InboxDiadocDocumentRevocationGisMtStatusChanged в ящике получателя</summary>
public class InboxDiadocDocumentRevocationGisMtStatusChangedEventContent : InboxDiadocEventContentBase
{
/// <summary>Информация о статусе проверки в ГИС МТ "Честный знак"</summary>
public DiadocGisMtInfo DiadocGisMtInfo { get; set; }
public DiadocGisMtInfo GisMtInfo { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Outbox
{
/// <summary>Информация о событии OutboxDiadocDocumentGisMtStatusChanged в ящике отправителя</summary>
public class OutboxDiadocDocumentGisMtStatusChanged : OutboxDiadocEventContentBase
public class OutboxDiadocDocumentGisMtStatusChangedEventContent : OutboxDiadocEventContentBase
{
/// <summary>Информация о статусе проверки в ГИС МТ "Честный ЗНАК"</summary>
public DiadocGisMtInfo DiadocGisMtInfo { get; set; }
public DiadocGisMtInfo GisMtInfo { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Outbox
{
/// <summary>Информация о событии OutboxDiadocRevocationGisMtStatusChanged в ящике отправителя</summary>
public class OutboxDiadocDocumentRevocationGisMtStatusChanged : OutboxDiadocEventContentBase
/// <summary>Информация о событии OutboxDiadocDocumentRevocationGisMtStatusChanged в ящике отправителя</summary>
public class OutboxDiadocDocumentRevocationGisMtStatusChangedEventContent : OutboxDiadocEventContentBase
{
/// <summary>Информация о статусе проверки в ГИС МТ "Честный ЗНАК"</summary>
public DiadocGisMtInfo DiadocGisMtInfo { get; set; }
public DiadocGisMtInfo GisMtInfo { get; set; }
}
}
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "2.1-pre4",
"version": "2.1-pre5",
"assemblyVersion": {
"precision": "build"
},
Expand Down

0 comments on commit b5abbde

Please sign in to comment.