Class TCodes
Static class that processes T-codes in the control server
Inherited Members
Namespace: DuetControlServer.Codes.Handlers
Assembly: DuetControlServer.dll
Syntax
public static class TCodes
Methods
CodeExecuted(Code)
React to an executed T-code before its result is returned
Declaration
public static Task CodeExecuted(Code code)
Parameters
Type | Name | Description |
---|---|---|
Code | code | Code processed by RepRapFirmware |
Returns
Type | Description |
---|---|
Task | Result to output |
Process(Code)
Process a T-code that should be interpreted by the control server
Declaration
public static Task<Message?> Process(Code code)
Parameters
Type | Name | Description |
---|---|---|
Code | code | Code to process |
Returns
Type | Description |
---|---|
Task<Message> | Result of the code if the code completed, else null |