Struct CodeHeader
- Namespace
- DuetControlServer.Link.Protocol.SbcRequests
- Assembly
- DuetControlServer.dll
Header for G/M/T-codes
public struct CodeHeader
- Inherited Members
Remarks
This is followed by NumParameters CodeParameter instances, which is then followed by concatenated zero-terminated UTF8-strings for each parameter where applicable
Fields
Channel
Target of the code
public CodeChannel Channel
Field Value
FilePosition
File position after the read code. This is used for pausing and resuming
public uint FilePosition
Field Value
Flags
Flags of this code
public CodeFlags Flags
Field Value
Letter
Letter of this code (G/M/T)
public byte Letter
Field Value
MajorCode
Major code number (e.g. 1 in G1)
public int MajorCode
Field Value
MinorCode
Minor code number (e.g. 4 in G53.4)
public int MinorCode
Field Value
NumParameters
Number of parameters following the
public byte NumParameters