made method for calculating alarm time in AlarmModel
Merge branch 'master' of https://github.com/scbasma/Metonix1.0