Class RetainedCommonVariableTableProxy
- Namespace
- Hi.NcParsers.Dependencys.Fanuc
- Assembly
- HiMech.dll
Get-or-create INcDependencyProxy for RetainedCommonVariableTable:
a placeholder in the shared PipelineNcDependencyList that
resolves the host project's own per-case retained common variables
(#500–#999).
public sealed class RetainedCommonVariableTableProxy : INcDependencyProxy, INcDependency, IMakeXmlSource
- Inheritance
-
RetainedCommonVariableTableProxy
- Implements
- Inherited Members
- Extension Methods
Properties
XName
XML element name used to register this dependency with XFactory.
public static string XName { get; }
Property Value
Methods
GetNcDependency()
Takes the host's RetainedCommonVariableTable (created during
InitNcDependencyHost(INcDependencyListHost)). Returns null when no host is wired.
public INcDependency GetNcDependency()
Returns
InitNcDependencyHost(INcDependencyListHost)
Wires the host and materializes the per-case RetainedCommonVariableTable: 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
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
Returns
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
factoryXFactory