Hello Zewhopoi98
Yes, this is sufficient. We, the Swiss, like it efficient, waiting for the train at the station is not what we like to do. Thus, the railway does not offer connections which are by default not doable.
It is more likely that the train from Milan will have a delay and this will make the change impossible. In such a case, you simply take the next train.
Kind regards,
Roland