When initialising an NTEnum with a python dict, it is assumed that the dict is meant for the Value.value and contains index and choices keys for the value. This PR adds ability to initialise value and any other fields of the NTEnum, similar to initialising an NTScalar.
When initialising an NTEnum with a python dict, it is assumed that the dict is meant for the Value.value and contains
index
andchoices
keys for the value. This PR adds ability to initialise value and any other fields of the NTEnum, similar to initialising an NTScalar.