Pic one is plug for generator and pic two is of two 30 Amps receptacles. The one on the left feed the subpanel from the main distribution panel, the one on the left is fed by the generator.
When power goes out one switch the plug from the distribution panel (left side) to the one fed by the generator (right side) and plug the generator.
Even though it is unusual, it appears to be safe. What are your thoughts?