You should use the enum type here from systemalarms.h really