Class TcoStruct
Basic structure block from which most of the structures in TcOpen derive. TcoStruct
provides construction mechanism to allow for access to the
parent function block and the context.
important
The derived structure must be initialized in the declaration of the function block `mystruct : MyCustomStructure := (Parent := THIS^)`,
when nested in another structure `mystruct : MyCustomStructure := (Parent := THISSTRUCT)`. This will provide access to the `TcoContext`
and parent `TcoObject`.
Inheritance
System.Object
TcoStruct
Implements
Vortex.Connector.IVortexObject
Vortex.Connector.ITwinObject
Vortex.Connector.IVortexElement
Vortex.Connector.IVortexOnlineObject
Vortex.Connector.IVortexShadowObject
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: TcoCoreConnector.dll
Syntax
[TypeMetaDescriptor("{attribute addProperty Name \"\" }", "TcoStruct", "TcoCore", TypeComplexityEnum.Complex)]
public class TcoStruct : IVortexObject, ITwinObject, IVortexElement, ITcoStruct, IShadowTcoStruct, IVortexOnlineObject, IVortexShadowObject
Constructors
|
Improve this Doc
View Source
TcoStruct()
Declaration
|
Improve this Doc
View Source
TcoStruct(IVortexObject, String, String)
Declaration
public TcoStruct(IVortexObject parent, string readableTail, string symbolTail)
Parameters
Type |
Name |
Description |
Vortex.Connector.IVortexObject |
parent |
|
System.String |
readableTail |
|
System.String |
symbolTail |
|
Fields
|
Improve this Doc
View Source
_humanReadable
Declaration
protected string _humanReadable
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
_AttributeName
Declaration
string _AttributeName { }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
AttributeName
Declaration
public string AttributeName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Children
Declaration
List<IVortexObject> Children { }
Property Value
Type |
Description |
System.Collections.Generic.List<Vortex.Connector.IVortexObject> |
|
|
Improve this Doc
View Source
Connector
Declaration
protected IConnector Connector { get; set; }
Property Value
Type |
Description |
Vortex.Connector.IConnector |
|
|
Improve this Doc
View Source
HumanReadable
Declaration
public string HumanReadable { get; protected set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Kids
Declaration
List<IVortexElement> Kids { }
Property Value
Type |
Description |
System.Collections.Generic.List<Vortex.Connector.IVortexElement> |
|
|
Improve this Doc
View Source
Parent
Declaration
protected IVortexObject Parent { get; set; }
Property Value
Type |
Description |
Vortex.Connector.IVortexObject |
|
|
Improve this Doc
View Source
Symbol
Declaration
public string Symbol { get; protected set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SymbolTail
Declaration
protected string SymbolTail { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
List<IValueTag> ValueTags { }
Property Value
Type |
Description |
System.Collections.Generic.List<Vortex.Connector.IValueTag> |
|
Methods
|
Improve this Doc
View Source
AddChild(IVortexObject)
Declaration
public void AddChild(IVortexObject vortexObject)
Parameters
Type |
Name |
Description |
Vortex.Connector.IVortexObject |
vortexObject |
|
|
Improve this Doc
View Source
AddKid(IVortexElement)
Declaration
public void AddKid(IVortexElement vortexElement)
Parameters
Type |
Name |
Description |
Vortex.Connector.IVortexElement |
vortexElement |
|
|
Improve this Doc
View Source
AddValueTag(IValueTag)
Declaration
public void AddValueTag(IValueTag valueTag)
Parameters
Type |
Name |
Description |
Vortex.Connector.IValueTag |
valueTag |
|
|
Improve this Doc
View Source
CopyPlainToShadow(PlainTcoStruct)
Declaration
public void CopyPlainToShadow(PlainTcoStruct source)
Parameters
|
Improve this Doc
View Source
CreatePlainerType()
Declaration
public PlainTcoStruct CreatePlainerType()
Returns
|
Improve this Doc
View Source
CreatePlainerType(PlainTcoStruct)
Declaration
protected PlainTcoStruct CreatePlainerType(PlainTcoStruct cloned)
Parameters
Returns
|
Improve this Doc
View Source
FlushOnlineToPlain(PlainTcoStruct)
Declaration
public void FlushOnlineToPlain(PlainTcoStruct source)
Parameters
|
Improve this Doc
View Source
FlushOnlineToShadow()
Declaration
public void FlushOnlineToShadow()
|
Improve this Doc
View Source
FlushPlainToOnline(PlainTcoStruct)
Declaration
public void FlushPlainToOnline(PlainTcoStruct source)
Parameters
|
Improve this Doc
View Source
FlushShadowToOnline()
Declaration
public void FlushShadowToOnline()
|
Improve this Doc
View Source
GetChildren()
Declaration
public IEnumerable<IVortexObject> GetChildren()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Vortex.Connector.IVortexObject> |
|
|
Improve this Doc
View Source
GetConnector()
Declaration
public IConnector GetConnector()
Returns
Type |
Description |
Vortex.Connector.IConnector |
|
|
Improve this Doc
View Source
GetKids()
Declaration
public IEnumerable<IVortexElement> GetKids()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Vortex.Connector.IVortexElement> |
|
|
Improve this Doc
View Source
GetParent()
Declaration
public IVortexObject GetParent()
Returns
Type |
Description |
Vortex.Connector.IVortexObject |
|
|
Improve this Doc
View Source
GetSymbolTail()
Declaration
public string GetSymbolTail()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public IEnumerable<IValueTag> GetValueTags()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<Vortex.Connector.IValueTag> |
|
|
Improve this Doc
View Source
LazyOnlineToShadow()
Declaration
public void LazyOnlineToShadow()
|
Improve this Doc
View Source
LazyShadowToOnline()
Declaration
public void LazyShadowToOnline()
|
Improve this Doc
View Source
PexConstructor(IVortexObject, String, String)
Declaration
void PexConstructor(IVortexObject parent, string readableTail, string symbolTail)
Parameters
Type |
Name |
Description |
Vortex.Connector.IVortexObject |
parent |
|
System.String |
readableTail |
|
System.String |
symbolTail |
|
|
Improve this Doc
View Source
PexConstructorParameterless()
Declaration
void PexConstructorParameterless()
|
Improve this Doc
View Source
PexPreConstructor(IVortexObject, String, String)
Declaration
void PexPreConstructor(IVortexObject parent, string readableTail, string symbolTail)
Parameters
Type |
Name |
Description |
Vortex.Connector.IVortexObject |
parent |
|
System.String |
readableTail |
|
System.String |
symbolTail |
|
|
Improve this Doc
View Source
PexPreConstructorParameterless()
Declaration
void PexPreConstructorParameterless()
Implements
Vortex.Connector.IVortexObject
Vortex.Connector.ITwinObject
Vortex.Connector.IVortexElement
Vortex.Connector.IVortexOnlineObject
Vortex.Connector.IVortexShadowObject
See Also