Skip to content

The GenMsgCycleTime field of the message is parsed as 0. #107

@huohuaing

Description

@huohuaing

I have a DBC file where the characteristics such as GenMsgCycleTime and GenMsgStartDelayTime are of floating-point type. This file can be opened normally by Vector CANdb++.

Image Image

I found that floating-point numbers cannot be parsed by int.TryParse, resulting in a value of 0 being returned.

Image

I have changed the code to use all the parsing operations with double.TryParse.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions