rem "dM"
IFelem(dM)
#Yes
##IFelemON(elem)
###Yes
####AlarmDoor(=dM)
####Stop
IsDoorLock(door)
#Yes
##IFelem(A1)
###No
####IFelem(P1)
#####No
######IFelem(Timer)
#######No
########StandartAction(elem)
########Stop
