Quantity
Назначение
Класс Quantity хранит совокупность показателей, определяющих точные идентификационные характеристики металла: вес, длина, количество и.т.д. При этом каждый из показателей описывается в базовой единице учета.
Общая схема документа:

Описание:
element quantity
| diagram | |
| type | QuantityType |
| properties | |
| children | Weight Length Amount |
| source | <xsd:element name="quantity" type="QuantityType"/> |
| Description | Вложенные теги Quantity могут иметь три типа Weight (вес), Length (длина), Amount (кол-во штук). |
element Weight
| diagram |  |
| properties | |
| used by | |
| attributes | |
| source | <xsd:element name="Weight"> <xsd:complexType> <xsd:attribute name="Measure" type="MeasureValue"/> <xsd:attribute name="Reliability" type="ReliabilityValue"/> <xsd:attribute name="GrossNet" type="GrossNetValue"/> <xsd:attribute name="Unit" type="UnitValue"/> <xsd:attribute name="Value" type="xsd:decimal"/> xsd:complexType> xsd:element> |
| Description | Показатель веса |
attribute Weight/@Measure
| type | MeasureValue |
| properties | |
| facets | | Kind | Value | annotation | | pattern | Primary | | | pattern | Second | | |
| source | <xsd:attribute name="Measure" type="MeasureValue"/> |
| Description | Свойство Measure может принимать два значения Primary и Second. Свойство Primary рекомендует использовать значение свойства в бизнес-приложении в качестве учетного. |
attribute Weight/@Reliability
| type | ReliabilityValue |
| properties | |
| facets | | Kind | Value | annotation | | pattern | Real | | | pattern | Documentary | | | pattern | Theoretical | | |
| source | <xsd:attribute name="Reliability" type="ReliabilityValue"/> |
| Description | Свойство Reliability (достоверность) может принимать три значения Real (фактический), Documentary (документальный), Theoretical (теоретический). |
attribute Weight/@GrossNet
| type | GrossNetValue |
| properties | |
| facets | | Kind | Value | annotation | | pattern | Gross | | | pattern | Net | | | pattern | None | | |
| source | <xsd:attribute name="GrossNet" type="GrossNetValue"/> |
| Description | Свойство GrossNet Брутто/нетто может принимать три значения Gross (Брутто), Net (Нетто), None |
attribute Weight/@Unit
| type | UnitValue |
| properties | |
| facets | | Kind | Value | annotation | | pattern | Tonn | | | pattern | Kilogram | | | pattern | Gram | | | pattern | Metre | | | pattern | Centimetre | | | pattern | Millimetre | | | pattern | Pieces | | |
| source | <xsd:attribute name="Unit" type="UnitValue"/> |
| Description | Свойство Unit описывает единицу измерения. Допустимые значения: Tonn - тонны Kilogram - килограммы Gram - граммы Metre - метры Centimetre - сантиметры Millimetre - миллиметры Pieces - штуки |
attribute Weight/@Value
| type | xsd:decimal |
| properties | |
| source | <xsd:attribute name="Value" type="xsd:decimal"/> |
| Description | Значение показателя |
element Length
| diagram |  |
| properties | |
| used by | |
| attributes | |
| source | <xsd:element name="Length"> <xsd:complexType> <xsd:attribute name="Measure" type="MeasureValue"/> <xsd:attribute name="Reliability" type="ReliabilityValue"/> <xsd:attribute name="GrossNet" type="GrossNetValue"/> <xsd:attribute name="Unit" type="UnitValue"/> <xsd:attribute name="Value" type="xsd:decimal"/> xsd:complexType> xsd:element> |
attribute Length/@Measure
| type | MeasureValue |
| properties | |
| facets | | Kind | Value | annotation | | pattern | Primary | | | pattern | Second | | |
| source | <xsd:attribute name="Measure" type="MeasureValue"/> |
attribute Length/@Reliability
| type | ReliabilityValue |
| properties | |
| facets | | Kind | Value | annotation | | pattern | Real | | | pattern | Documentary | | | pattern | Theoretical | | |
| source | <xsd:attribute name="Reliability" type="ReliabilityValue"/> |
attribute Length/@GrossNet
| type | GrossNetValue |
| properties | |
| facets | | Kind | Value | annotation | | pattern | Gross | | | pattern | Net | | | pattern | None | | |
| source | <xsd:attribute name="GrossNet" type="GrossNetValue"/> |
attribute Length/@Unit
| type | UnitValue |
| properties | |
| facets | | Kind | Value | annotation | | pattern | Tonn | | | pattern | Kilogram | | | pattern | Gram | | | pattern | Metre | | | pattern | Centimetre | | | pattern | Millimetre | | | pattern | Pieces | | |
| source | <xsd:attribute name="Unit" type="UnitValue"/> |
attribute Length/@Value
| type | xsd:decimal |
| properties | |
| source | <xsd:attribute name="Value" type="xsd:decimal"/> |
element Amount
| diagram |  |
| properties | |
| used by | |
| attributes | |
| source | <xsd:element name="Amount"> <xsd:complexType> <xsd:attribute name="Measure" type="MeasureValue"/> <xsd:attribute name="Reliability" type="ReliabilityValue"/> <xsd:attribute name="GrossNet" type="GrossNetValue"/> <xsd:attribute name="Unit" type="UnitValue"/> <xsd:attribute name="Value" type="xsd:decimal"/> xsd:complexType> xsd:element> |
attribute Amount/@Measure
| type | MeasureValue |
| properties | |
| facets | | Kind | Value | annotation | | pattern | Primary | | | pattern | Second | | |
| source | <xsd:attribute name="Measure" type="MeasureValue"/> |
attribute Amount/@Reliability
| type | ReliabilityValue |
| properties | |
| facets | | Kind | Value | annotation | | pattern | Real | | | pattern | Documentary | | | pattern | Theoretical | | |
| source | <xsd:attribute name="Reliability" type="ReliabilityValue"/> |
attribute Amount/@GrossNet
| type | GrossNetValue |
| properties | |
| facets | | Kind | Value | annotation | | pattern | Gross | | | pattern | Net | | | pattern | None | | |
| source | <xsd:attribute name="GrossNet" type="GrossNetValue"/> |
attribute Amount/@Unit
| type | UnitValue |
| properties | |
| facets | | Kind | Value | annotation | | pattern | Tonn | | | pattern | Kilogram | | | pattern | Gram | | | pattern | Metre | | | pattern | Centimetre | | | pattern | Millimetre | | | pattern | Pieces | | |
| source | <xsd:attribute name="Unit" type="UnitValue"/> |
attribute Amount/@Value
| type | xsd:decimal |
| properties | |
| source | <xsd:attribute name="Value" type="xsd:decimal"/> |