Bang-Bang Theorem for a Coupled ODE-PDE Control System