Use common types defined in Messages for message's values
Created function DoubleToInteger
Merge branch 'OpenETCS/master'