Interface IStepPropertyAccessHost
- Namespace
- Hi.MachiningSteps
- Assembly
- HiMech.dll
Narrow host contract for accessing the step-variable registry and registering new step variables. Exposed as a dedicated surface so pipelines that only need step-variable wiring (e.g. CsvRowSyntax) do not have to depend on the broader IMachiningService.
public interface IStepPropertyAccessHost
- Extension Methods
Properties
StepPropertyAccessDictionary
Dictionary of step-property accessors keyed by property name. Used by CSV title-row processing to decide whether a column already maps to a reserved step property; new columns are registered via RegisterStepVariable(string, string, string, string, Func<MachiningStep, object>).
ConcurrentDictionary<string, PropertyAccess<MachiningStep>> StepPropertyAccessDictionary { get; }
Property Value
Methods
RegisterStepVariable(string, string, string, string, Func<MachiningStep, object>)
Registers a step variable so downstream components (strip charts,
CSV exports, scripting) can read it from MachiningStep.
Idempotent on key.
void RegisterStepVariable(string key, string name, string unit, string formatString, Func<MachiningStep, object> variableFunc = null)
Parameters
keystringUnique key.
namestringHuman-readable name; may equal
key.unitstringPhysical unit name (
PhysicsUnit); nullable.formatStringstringDisplay format string; nullable.
variableFuncFunc<MachiningStep, object>Optional value extractor; nullable when the value comes from the step's flex dictionary.