TSMaster icon indicating copy to clipboard operation
TSMaster copied to clipboard

[Feature] enum type handling from dbc

Open totocaca123 opened this issue 2 years ago • 3 comments

I dbc file we have enum types for signals (kind of constants). It would be good to have access to these values somewhere (importing value tables from dbc into global constants or internal data types)

totocaca123 avatar Nov 11 '22 15:11 totocaca123

Thanks for suggestion, I will add this feature in system constants

freshhope avatar Nov 12 '22 03:11 freshhope

Is it possible to have a better structured constant. For example:

Type1.Value0 (or Type1_Value0) Type1.Value1

Because we can have multiple enum with value 0, and we dont know which type it is

totocaca123 avatar Nov 12 '22 10:11 totocaca123

upg. to new version, you can control generation of constant defs.

image

freshhope avatar Jan 19 '23 02:01 freshhope