Class LockMachineModel
Implementation of the LockMachineModel command
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DuetControlServer.Commands
Assembly: DuetControlServer.dll
Syntax
public class LockMachineModel : LockMachineModel
Properties
SourceConnection
Source connection of this command. Needed to register the owner of the lock
Declaration
public int SourceConnection { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Execute()
Lock the machine model for write access
Declaration
public override Task Execute()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | Asynchronous task |