private GetResolution ( AgGateway.ADAPT.ApplicationDataModel.Representations.NumericRepresentationValue value ) : double | ||
value | AgGateway.ADAPT.ApplicationDataModel.Representations.NumericRepresentationValue | |
return | double |
private double GetResolution(NumericRepresentationValue value)
{
var ddi = _representationMapper.Map(value.Representation);
var resolution = 1d;
if (_ddis.ContainsKey(ddi.GetValueOrDefault()))
{
resolution = _ddis[ddi.GetValueOrDefault()].Resolution;
}
return resolution;
}