DiamondLightSource / mx_bluesky

Holds Bluesky code used in MX but outside the Hyperion project
Apache License 2.0
0 stars 1 forks source link

I24 ssx: replace enums #77

Open noemifrisina opened 5 months ago

noemifrisina commented 5 months ago

The current solution for dealing with the edm inputs from the dropdown menus works but is not very nice. To improve on it, we should use a mix of dataclasses and enums for things like the chip type and chip map. Whatever the final solution, it is important that the order matches the one on the MUX - eg. if the first chip on the drop down menu is "Oxford" type, the edm wil return a value of 0 and this has to be reflected in the code.