Add xj2alarm.py

Add xj2alarm.py for testing