Here is the top of the switch asembeley:
Here are the pins:
Sorry it is blurry but you get the idea.
Looks like a standard 7-way DIP switch so you can use it for... switching stuff?
Most likely the pins on either side of each switch are open when the switch is one way, and closed the other way. You can use the continuity or resistance function on a multimeter to easily test this.