Skip to content

Commit 25bea13

Browse files
add default value to lock reason of LockElevator
1 parent 794c89a commit 25bea13

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Code/MethodSystem/Methods/ElevatorMethods/LockElevatorMethod.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ public class LockElevatorMethod : SynchronousMethod
1515
[
1616
new ElevatorsArgument("elevators"),
1717
new EnumArgument<DoorLockReason>("lockReason")
18+
{
19+
DefaultValue = new(DoorLockReason.AdminCommand, null)
20+
}
1821
];
1922

2023
public override void Execute()

0 commit comments

Comments
 (0)