ADAPT - Representation, UOM & DDI Discussion
RepresentationCodeSourceEnum
Enumeration Literal | Description |
|---|---|
ISO 11783 - DDI |
|
ISO 11783 - SPN |
|
J1939 - SPN |
|
ADAPT |
|
Proprietary |
|
Representation
Attribute | Type | Multiplicity | Description |
|---|---|---|---|
Id | CompoundIdentifier | 1 | Defined somewhere for ADAPT |
Code | String | 1 | Code is a unique representation code that corresponds to the representation's ID in our reference data API / XML file. |
Description | String | 1 |
|
LongDescription | String | 0..1 |
|
CodeSource | RepresentationCodeSourceEnum | 0..1 | The source for the reference id listed in the enumeration below |
|
|
|
|
StringRepresentation |
|
|
|
Attribute | Type | Multiplicity | Description |
MinCharacters | Integer | 0..1 |
|
MaxCharacters | Integer | 0..1 |
|
|
|
|
|
NumericRepresentation |
|
|
|
Attribute | Type | Multiplicity | Description |
DecimalDigits | Integer | 1 |
|
MinValue | NumericValue | 0..1 |
|
MaxValue | NumericValue | 0..1 |
|
Dimension | UnitOfMeasureDimensionEnum | 1 |
|
|
|
|
|
EnumeratedRepresentation |
|
|
|
Attribute | Type | Multiplicity | Description |
EnumerationMembers | EnumerationMember | 1..* |
|
RepresentationGroupId | Integer | 1 |
|
|
|
|
|
UnitType [Not Implemented] |
|
|
|
Attribute | Type | Multiplicity | Description |
Id | String | 1 |
|
Name |
| 1 |
|
CompondUnitOfMeasures | CompondUnitOfMeasure | 1..* | List of support unit of measures |
BaseUnitOfMeasure | CompondUnitOfMeasure | 1 | The base unit which will be used for conversion |
|
|
|
|
CompoundUnitOfMeasure [Not Implemented] |
|
|
|
Attribute | Type | Multiplicity | Description |
Components | UnitOfMeasureComponent | 1..* |
|
Name | String | 1 |
|
Symbol | String | 1 |
|
|
|
|
|
UnitOfMeasureComponent |
|
|
|
Attribute | Type | Multiplicity | Description |
Unit | UnitOfMeasure | 1 |
|
Power | Integer | 1 |
|
|
|
|
|
UnitOfMeasure |
|
|
|
Attribute | Type | Multiplicity | Description |
Id | CompoundIdentifier | 1 |
|
Code | String | 1 | This is a string, according to the composite Deere scheme. e.g., m2 |
Name | String | 1 | e.g., "meter squared" |
Symbol | String | 1 | e.g., "m^2" |
UNRec20Code | String | 1 | e.g., "MTK" |
Scale | Double | 1 | e.g., 1 |
UnitType | UnitType | 1 | e.g. "area" |
Dimension | UnitOfMeasureDimensionEnum | 1 |
|
IsReferenceForDimension | Boolean | 1 |
|
Offset | Double | 1 |
|
UnitOfMeasureAuthorityEnum
Enumeration Literal | Description |
|---|---|
UNRec20 |
|
QUDT |
|
UCUM |
|
ADAPT |
|
UnitOfMeasureDimensionEnum
https://github.com/ADAPT/ADAPT/blob/develop/source/ADAPT/Common/UnitOfMeasureDimensionEnum.cs
Examples
NumericRepresentation |
|
|---|---|
Id | 1001 |
Name | YieldWetMass |
UnitType | MassType |
RecordedValues | Array of double |
RecordedUnitOfMeasure | kg |
|
|
NumericRepresentation |
|
Id | 1002 |
Name | ApplicationRate |
UnitType | VolumeAreaType |
RecordedValues | Array of double |
RecordedUnitOfMeasure | litres/ac |
EnteredValues | Array of double |
EnteredUnitOfMeasure | gallon/ac |
|
|
NumericRepresentation |
|
Id | 1020 |
Name | SectionWidth |
UnitType | LengthType |
RecordedValue | 10 |
RecordedUnitOfMeasure | in |
EnteredValue | 254 |
EnteredUnitOfMeasure | mm |
|
|
CompoundUnitOfMeasure |
|
Components | lb;ac-1 |
Symbol | lb/ac |
|
|
UnitOfMeasure |
|
Id | lb |
Name | pounds |
Conversion scale | 1 |
UnitType | MassType |
|
|
EnumeratedRepresentation |
|
Id | 2001 |
Name | HitchType |
DefinedTypes | ThreePoint, RearTwoPoint, DrawBar, RearPivotWagonHitch, FrontRigidThreePoint |
SelectedDefinedType | ThreePoint |
|
|
EnumeratedRepresentation |
|
Id | 2002 |