Below are the outlet and virtual outlets I'm using for this setup (in case people are curious). You'll notice the latch is set to off for 1 minute in the case of a power reset. Virtual outlets tend to be "sticky" in the case of power resets, it's best to force them on in a state at which it doesn't fail.
Middle Float (Virtual)
Set OFF
If Swx7_3 CLOSED Then ON
Defer 001:00 Then ON
Defer 001:00 Then OFF
Top Float (Virtual)
Set OFF
If Swx7_2 OPEN Then ON
Defer 001:00 Then ON
Latch Reset (Virtual)
Set OFF
If Outlet RODI_Mid = ON Then ON
Latch (Virtual)
If Outlet Res_Latch = ON Then OFF
If Power Apex Off 001 Then OFF
If Outlet RODI_Full = ON Then ON
Solenoid (Outlet)
If Outlet RODI_Mid = ON Then ON
If Outlet RODI_Latch = ON Then OFF
If Outlet RODI_Alarm = ON Then OFF