[AlarmAbsolute] check parameter for constructor of AlarmAbsolute
[AlarmRelative] check parameter of constructor for AlarmRelative
Merge pull request #298 from xuzhang/dev

fix bug TDIS-5685