What is the meaning of Maindeck?

The principal deck of a ship or vessel

Source: wiktionary.org