Need to add a column for RO_MODE_GENP too (not just a row). The row shows which modes (columns) you can transition to from that mode associated with the row. If it's allowed, put the new mode. If it's not allowed, put RO_MODE_NLEG. The items on the diagonal (top left to bottom right) are always allowed since you're not changing the mode.
Specify DD throughout DD classes in function headers and console output text to make it clear we are talking about DD component. DD and RO share a lot of components so we want to be specific to remove ambiguity. e.g. ".. DD conductivity sensor data messages.".