Q3. UML State Machines. Smart door locks eliminate the need for traditional door keys. Smart locks allow access to a roo
Posted: Fri Jul 01, 2022 5:33 am
Q3. UML State Machines. Smart door locks eliminate the need for traditional door keys. Smart locks allow access to a room using NFC enabled ID cards. A smart lock can be unlocked when the ID comes in close proximity to the lock sensor. When the door is unlocked, the smart lock is designed to automatically re-lock the door after a set period of time (say three seconds). In the case of an emergency (i.e., fire or earth quake), smart locks automatically become unlocked to enable individuals to quickly evacuate the building. In such as case, these locks must be reset (with a special ID card) to normal function by the administrator. Draw a state diagram for this controller.