Table of Contents

Struct CodeHeader

Namespace
DuetControlServer.Link.Protocol.SbcRequests
Assembly
DuetControlServer.dll

Header for G/M/T-codes

public struct CodeHeader
Inherited Members

This is followed by NumParameters CodeParameter instances, which is then followed by concatenated zero-terminated UTF8-strings for each parameter where applicable

Fields

Target of the code

public CodeChannel Channel

Field Value

CodeChannel

File position after the read code. This is used for pausing and resuming

public uint FilePosition

Field Value

uint

Flags of this code

public CodeFlags Flags

Field Value

CodeFlags

Letter of this code (G/M/T)

public byte Letter

Field Value

byte

Major code number (e.g. 1 in G1)

public int MajorCode

Field Value

int

Minor code number (e.g. 4 in G53.4)

public int MinorCode

Field Value

int

Number of parameters following the

public byte NumParameters

Field Value

byte