The structure of safe ship control system.