Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing .dbc file in the repo #2

Open
FlYnN91 opened this issue Apr 1, 2019 · 2 comments
Open

Error parsing .dbc file in the repo #2

FlYnN91 opened this issue Apr 1, 2019 · 2 comments

Comments

@FlYnN91
Copy link

FlYnN91 commented Apr 1, 2019

Unable to parse the default file that is found in the repository.

image

@FlYnN91
Copy link
Author

FlYnN91 commented Apr 1, 2019

image

@Pi57
Copy link

Pi57 commented Jun 21, 2021

Hi, I got the same exception :(
How to solve it ?
Thanks

Edit : This is the solution I found, maybe not the best, but it work

/// <summary>
/// The collection of ECUs.
/// </summary>
public IReadOnlyDictionary<string, IDBCECU> ECUs
        => ecus.Select(d => new KeyValuePair<string, IDBCECU>(d.Key, d.Value)).ToDictionary(k => k.Key, k => k.Value);
/// <summary>
/// The collection of DBC Messages.
/// </summary>
public IReadOnlyDictionary<string, IDBCMessage> Messages 
        => messages.Select(d => new KeyValuePair<string, IDBCMessage>(d.Key, d.Value)).ToDictionary(k => k.Key, k => k.Value);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants