Table of Contents

Class LockObjectModel

Namespace
DuetControlServer.Commands
Assembly
DuetControlServer.dll

Implementation of the LockObjectModel command

public sealed class LockObjectModel : LockObjectModel, IConnectionCommand
Inheritance
LockObjectModel
Implements
Inherited Members

Constructors

LockObjectModel(LockManager)

Implementation of the LockObjectModel command

public LockObjectModel(LockManager lockManager)

Parameters

lockManager LockManager

Lock manager

Properties

Connection

Source connection of this command

public Connection? Connection { get; set; }

Property Value

Connection

Methods

ExecuteAsync(CancellationToken)

Lock the machine model for write access

public override Task ExecuteAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task

Asynchronous task