Example #1
0
 public string DoorStatus()
 {
     if (doorLock.GetLockStatus() == LockStatus.Opened)
     {
         return("Opened");
     }
     else
     {
         return("Closed");
     }
 }