Table of Contents

Class SiemensFrameTableProxy

Namespace
Hi.NcParsers.Dependencys.Siemens
Assembly
HiMech.dll

Get-or-create INcDependencyProxy for SiemensFrameTable: a placeholder in the shared PipelineNcDependencyList that resolves the host project's own per-case settable work frames ($P_UIFR, G54–G57…).

public sealed class SiemensFrameTableProxy : INcDependencyProxy, INcDependency, IMakeXmlSource
Inheritance
SiemensFrameTableProxy
Implements
Inherited Members
Extension Methods

Properties

XName

XML element name used to register this dependency with XFactory.

public static string XName { get; }

Property Value

string

Methods

GetNcDependency()

Takes the host's SiemensFrameTable (created during InitNcDependencyHost(INcDependencyListHost)). Returns null when no host is wired.

public INcDependency GetNcDependency()

Returns

INcDependency

InitNcDependencyHost(INcDependencyListHost)

Wires the host and materializes the per-case SiemensFrameTable: when the host list has none, one is created and installed so it exists and is editable before any run. GetNcDependency() is then a pure take. Idempotent — an existing table is left untouched.

public void InitNcDependencyHost(INcDependencyListHost host)

Parameters

host INcDependencyListHost

MakeXmlSource(string, string, bool)

Runtime-only proxy — the wired host and the resolved table are not persisted in the shared runner; serialization writes only the empty element.

public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)

Parameters

baseDirectory string
relFile string
exhibitionOnly bool

Returns

XElement

Reg(XFactory)

Registers this type's deserializer with the given XFactory (or Default when factory is null). Idempotent.

public static void Reg(XFactory factory = null)

Parameters

factory XFactory