A smart railcar prototype for Dangerous Good transportation