Botts-Innovative-Research / osh-oakridge-modules

0 stars 0 forks source link

Update D5's KromekSerialRadiometricStatusReport with correct values for nuclideData #35

Open MichaelElmore1 opened 10 months ago

MichaelElmore1 commented 10 months ago

Currently, nuclideData is stored as an array of bytes. The data is described as "an array of nuclide data, format: KromekSerialNuclideIdType, KromekSerialNuclideIdCategory, Confidence Indication." KromekSerialNuclideIdType and KromekSerialNuclideIdCategory are both enums.

During development, I did not have access to a radiation source, and without one, this data is always empty. When we have the D5 and a radiation source together, let's update this to parse the data correctly.

MichaelElmore1 commented 9 months ago

Another thing to check would be the KromekSerialRemoteIsotopeConfirmationStatusReport. There are some fields with the types KromekSerialNuclideIdType and KromekSerialNuclideIdCategory. It would be good to make sure these print out proper and human-readable text.