Class NcTagEdit
- Namespace
- Hi.NcParsers.NcWriteback
- Assembly
- HiMech.dll
A single anchored tag edit for NcPatchWriter: set the tag to the value (NaN deletes the token). A null format resolves to the writer's per-tag default (FeedrateFormat for F, CoordinateFormat otherwise).
public record NcTagEdit : IEquatable<NcTagEdit>
- Inheritance
-
NcTagEdit
- Implements
- Inherited Members
- Extension Methods
Constructors
NcTagEdit(string, double, string)
A single anchored tag edit for NcPatchWriter: set the tag to the value (NaN deletes the token). A null format resolves to the writer's per-tag default (FeedrateFormat for F, CoordinateFormat otherwise).
public NcTagEdit(string Tag, double Value, string Format = null)
Parameters
TagstringTag to address, e.g.
“F”,“X”.ValuedoubleNew value; NaN deletes the token.
FormatstringNumeric format (see FormatTagNumber(double, string)); null picks the writer's per-tag default.
Properties
Format
Numeric format (see FormatTagNumber(double, string)); null picks the writer's per-tag default.
public string Format { get; init; }
Property Value
Tag
Tag to address, e.g. “F”, “X”.
public string Tag { get; init; }
Property Value
Value
New value; NaN deletes the token.
public double Value { get; init; }