Class GetObjectModel
- Namespace
- DuetControlServer.Commands
- Assembly
- DuetControlServer.dll
Implementation of the Command command
public sealed class GetObjectModel : GetObjectModel
- Inheritance
-
GetObjectModel
- Inherited Members
Constructors
GetObjectModel(ObjectModel)
Implementation of the Command command
public GetObjectModel(ObjectModel model)
Parameters
modelObjectModelObject model
Methods
ExecuteAsync(CancellationToken)
Retrieve a copy of the current machine model
public override Task<ObjectModel> ExecuteAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenOptional cancellation token
Returns
- Task<ObjectModel>
Clone of the current machine model