From what I see on the picture, I would assume A and B translate to the 2 COM terminals, with A1,B1 and A2,B2 translating to L1 and L2 (not marked on picture but should be on the switch) to the appropriate switch.
Test this with a multimeter first by checking the continuity paths match when...