EFeru / DbcParser

.NET CAN bus dbc file parser
MIT License
78 stars 28 forks source link

Ignore Min/Max values of CustomAttributes when both are set to 0 #65

Closed JuRichter closed 4 months ago

JuRichter commented 5 months ago

Hi, I'm facing a problem when importing DBCs, hwere the minumum and Maximum values of a custom attributes are set to 0. I'm working with the Vector CANDB++ Editor. The Editor ignores the validation of min max values for custom properties, when both are set to 0, and accept all Default values.

image

When importing such DBCs the DBCParser library returns 0 in such cases. Would it be possible to also ignore min/max validation by a setting or default behavior?

Best regards and you do a fantastic job, Julius

Whitehouse112 commented 4 months ago

Hi @JuRichter, you are definitely right: ignoring the validation should be the default behavior when both min and max values are set to zero. We will work on that for the next release.

Thanks Regards

EFeru commented 4 months ago

Fixed #66