Class TechDocumentDesignation
Содержит параметры обозначения технологического документа.
Implements
Inherited Members
Namespace: Ascon.Vertical.Core
Assembly: Ascon.Vertical.Core.dll
Syntax
public class TechDocumentDesignation : ITechDocumentDesignation
Constructors
TechDocumentDesignation(TechDocumentDesignationDto)
Создает новый экземпляр класса TechDocumentDesignation.
Declaration
public TechDocumentDesignation(TechDocumentDesignationDto dto)
Parameters
| Type | Name | Description |
|---|---|---|
| TechDocumentDesignationDto | dto | Описание параметров обозначения документа. |
Properties
DocumentDesignation
Возвращает обозначение документа.
Declaration
public string DocumentDesignation { get; }
Property Value
| Type | Description |
|---|---|
| string |
MainObjectFamilyId
Возвращает идентификатор семейства версий главного объекта.
Declaration
public int MainObjectFamilyId { get; }
Property Value
| Type | Description |
|---|---|
| int |
MainObjectName
Возвращает наименование главного объекта.
Declaration
public string MainObjectName { get; }
Property Value
| Type | Description |
|---|---|
| string |
MainObjectTechnologyDisplayName
Возвращает отображаемое наименование технологии, которой принадлежит главный объект.
Declaration
public string MainObjectTechnologyDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| string |
MainObjectTechnologyId
Возвращает идентификатор технологии, которой принадлежит главный объект.
Declaration
public int MainObjectTechnologyId { get; }
Property Value
| Type | Description |
|---|---|
| int |
RegistrationCardId
Возвращает идентификатор регистрационной карточки документа.
Declaration
public int RegistrationCardId { get; }
Property Value
| Type | Description |
|---|---|
| int |
TemplateKey
Возвращает ключ первого шаблона, по которому построен отчет.
Declaration
public Guid TemplateKey { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
TemplateName
Возвращает Наименование первого шаблона, по которому построен отчет.
Declaration
public string TemplateName { get; }
Property Value
| Type | Description |
|---|---|
| string |
TitleTemplateKey
Возвращает ключ заглавного шаблона, по которому построен отчет.
Declaration
public Guid? TitleTemplateKey { get; }
Property Value
| Type | Description |
|---|---|
| Guid? |
Remarks
Заполняется только для второстепенных документов.
TitleTemplateName
Возвращает наименование заглавного шаблона, по которому построен отчет.
Declaration
public string? TitleTemplateName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Заполняется только для второстепенных документов.
Methods
ToDto()
Формирует описание обозначения документа отчета.
Declaration
public TechDocumentDesignationDto ToDto()
Returns
| Type | Description |
|---|---|
| TechDocumentDesignationDto | Сформированное описание. |