A Study on the Development of Tram Operational Safety System