Class MappingUtil
Shared CSV column tags and physics-related column prefixes for mapping simulator or logged controller data onto MachiningStep rows.
public static class MappingUtil
- Inheritance
-
MappingUtil
- Inherited Members
Fields
ActualDateTimeTag
Absolute controller-instant column written alongside
ActualTimecodeTag (the MachiningStep.ActualDateTime
member) so the calendar date survives. Pinned to a literal so renaming
the member does not change the CSV header; optional companion column.
public const string ActualDateTimeTag = "ActualDateTime"
Field Value
ActualTimeTag
Legacy single-column title for actual time in the CSV (a bare TimeSpan timecode or an absolute DateTime). The step-file writer now splits this into the ActualTimecodeTag + ActualDateTimeTag pair; this column is still read for pre-split files.
public const string ActualTimeTag = "ActualTime"
Field Value
ActualTimecodeTag
Run-relative actual timecode column written by the step-file exporter
(the MachiningStep.ActualTimecode member). Pinned to a literal so
renaming the member does not change the CSV header; preferred over the
legacy single ActualTimeTag column when present.
public const string ActualTimecodeTag = "ActualTimecode"
Field Value
CoolantTag
Coolant tag for CSV parsing. The cell holds the coolant mode name
(e.g. Flood / Mist / Off) or a boolean on/off flag.
public const string CoolantTag = "Coolant"
Field Value
CutterLocationPrefix
Cutter Location Prefix Tag for CSV Parsing.
public const string CutterLocationPrefix = "CL."
Field Value
DurationTag
Duration tag for CSV parsing.
public const string DurationTag = "StepDuration"
Field Value
FeedrateTag_mmdmin
Feedrate for Simulator Tag for CSV Parsing.
public const string FeedrateTag_mmdmin = "Feedrate_mmdmin"
Field Value
FileNoTag
Gets or sets the column title for file number in the CSV.
public const string FileNoTag = "FileNo"
Field Value
HolderMomentPrefix
CSV column prefix for holder moment / torque channels.
public const string HolderMomentPrefix = "Holder.M"
Field Value
LineBeginCsScriptTag
LineBeginCsScript Tag for CSV Parsing.
public const string LineBeginCsScriptTag = "LineBeginCsScript"
Field Value
LineEndCsScriptTag
LineEndCsScript Tag for CSV Parsing.
public const string LineEndCsScriptTag = "LineEndCsScript"
Field Value
LineNoTag
Gets or sets the column title for line number in the CSV.
public const string LineNoTag = "LineNo"
Field Value
MachineCoordinatePrefix
Machine Coordinate Prefix Tag for CSV Parsing.
public const string MachineCoordinatePrefix = "MC."
Field Value
SimTimeTag
Fallback time column when ActualTimeTag is absent or unparseable: the simulated end timecode. Pinned to a literal (decoupled from the model member name) so renaming the member does not change the CSV header; pre-rename files that used the old “AccumulatedTime” header are still read via SimTimeTagLegacy / GetSimTimeCell(IReadOnlyDictionary<string, string>).
public const string SimTimeTag = "EndTimecode"
Field Value
SimTimeTagLegacy
Legacy CSV header accepted as a fallback for SimTimeTag
(files written before the EndTimecode rename used the member name
AccumulatedTime).
public const string SimTimeTagLegacy = "AccumulatedTime"
Field Value
SpindleDirectionTag
Spindle direction Tag for CSV Parsing.
public const string SpindleDirectionTag = "Spd.Dir."
Field Value
SpindleSpeedTag_rpm
Spindle speed for Simulator Tag for CSV Parsing.
public const string SpindleSpeedTag_rpm = "SpindleSpeed_rpm"
Field Value
TimeTag
Gets or sets the column title for time in the CSV. The time generally obtained by the simulated data.
public const string TimeTag = "Time"
Field Value
ToolForcePrefix
CSV column prefix for tool-side force components (e.g. dynamometer).
public const string ToolForcePrefix = "Tool.F"
Field Value
ToolIdTag
Tool ID Tag for CSV Parsing.
public const string ToolIdTag = "ToolId"
Field Value
WorkpieceForcePrefix
CSV column prefix for workpiece-side force components.
public const string WorkpieceForcePrefix = "Workpiece.F"
Field Value
Methods
GetSimTimeCell(IReadOnlyDictionary<string, string>)
Returns the de-quoted simulated-time cell from row,
reading SimTimeTag first and falling back to the legacy
SimTimeTagLegacy header, or null when neither column
is present.
public static string GetSimTimeCell(IReadOnlyDictionary<string, string> row)
Parameters
rowIReadOnlyDictionary<string, string>