Method SetCurrentOperation
Namespace: Belay.Core
Assembly: Belay.Core.dll
SetCurrentOperation(string?)
Sets the current operation and updates internal tracking.
csharp
public void SetCurrentOperation(string? operationName)
Parameters
operationName
string?
The name of the operation being started.
Examples
device.State.SetCurrentOperation("ExecutePythonCode");
// ... perform operation ...
device.State.CompleteOperation();
Remarks
This method is called internally by the Device class to track the current operation for debugging and error reporting purposes.