Skip to content

When using the RepresentationInstanceList.vr[...].ToModelRepresentation(), the Dimension property is always set to UnitOfMeasureDimensionEnum.PerVolume #140

Open

Description

@JasonRoesbeke

AgGateway.ADAPT.ApplicationDataModel.Representations.NumericRepresentation temp = RepresentationInstanceList.vrIngredientDensity.ToModelRepresentation();
Gives:

  • Code: "vrIngredientDensity"
  • CodeSource: "ADAPT"
  • DecimalDigits: 0
  • Description: "Ingredient Density"
  • Dimension: PerVolume
  • ...

Have tried to do it the following but it threw an exception of type 'System.IO.FileNotFoundException'
AgGateway.ADAPT.Representation.RepresentationSystem.NumericRepresentation temp2 = RepresentationInstanceList.vrIngredientDensity;

Jason Roesbeke, jason.roesbeke@cnhind.com

Activity

  1. JasonRoesbeke commented on Jan 9, 2018

    @JasonRoesbeke
    ContributorAuthor

    This happens also when using ToModelUom().
    e.g.

    • CompositeUnitOfMeasure("kg1[m2]-1").ToModelUom()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions