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