Class _internals_TcoContext
Partial class exposes Open and Close context methods for testing purposes.
Inheritance
System.Object
_internals_TcoContext
Implements
Vortex.Connector.Identity.IVortexIdentity
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
[ExcludeFromApiDocumentation]
[TypeMetaDescriptor("{attribute addProperty Name \"\" }", "_internals_TcoContext", "TcoCore", TypeComplexityEnum.Complex)]
public class _internals_TcoContext : TcoContext, IVortexIdentity, IsTcoContext, IsTcoObject, ITestContext, IVortexObject, ITwinObject, IVortexElement, I_internals_TcoContext, ITcoContext, IShadow_internals_TcoContext, IShadowTcoContext, IVortexOnlineObject, IVortexShadowObject
Constructors
|
Improve this Doc
View Source
_internals_TcoContext()
Declaration
public _internals_TcoContext()
|
Improve this Doc
View Source
_internals_TcoContext(IVortexObject, String, String)
Declaration
public _internals_TcoContext(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
__plcCycleCounter
Declaration
OnlinerULInt __plcCycleCounter
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerULInt |
|
|
Improve this Doc
View Source
__probeCurrentCycleCount
Declaration
OnlinerULInt __probeCurrentCycleCount
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerULInt |
|
|
Improve this Doc
View Source
__probeRunRequiredCycles
Declaration
OnlinerULInt __probeRunRequiredCycles
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerULInt |
|
|
Improve this Doc
View Source
__testDoneCounter
Declaration
OnlinerULInt __testDoneCounter
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerULInt |
|
|
Improve this Doc
View Source
__testId
Declaration
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerULInt |
|
Properties
|
Improve this Doc
View Source
_plcCycleCounter
Declaration
public OnlinerULInt _plcCycleCounter { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerULInt |
|
|
Improve this Doc
View Source
_probeCurrentCycleCount
Declaration
public OnlinerULInt _probeCurrentCycleCount { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerULInt |
|
|
Improve this Doc
View Source
_probeRunRequiredCycles
Declaration
public OnlinerULInt _probeRunRequiredCycles { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerULInt |
|
|
Improve this Doc
View Source
_testDoneCounter
Declaration
public OnlinerULInt _testDoneCounter { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerULInt |
|
|
Improve this Doc
View Source
_testId
Declaration
public OnlinerULInt _testId { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerULInt |
|
Methods
|
Improve this Doc
View Source
_Close()
Declaration
|
Improve this Doc
View Source
_Open()
Declaration
|
Improve this Doc
View Source
_rtcUpdate()
Declaration
|
Improve this Doc
View Source
ContextClose()
Closes the context form testing application.
Declaration
public bool ContextClose()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ContextOpen()
Opens the context from testing application.
Declaration
public bool ContextOpen()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CopyPlainToShadow(Plain_internals_TcoContext)
Declaration
public void CopyPlainToShadow(Plain_internals_TcoContext source)
Parameters
|
Improve this Doc
View Source
CreatePlainerType()
Declaration
public Plain_internals_TcoContext CreatePlainerType()
Returns
|
Improve this Doc
View Source
CreatePlainerType(Plain_internals_TcoContext)
Declaration
protected Plain_internals_TcoContext CreatePlainerType(Plain_internals_TcoContext cloned)
Parameters
Returns
|
Improve this Doc
View Source
ExecuteProbeRun(UInt64)
Executes context cycle until ProbeDoneWhen
method in the PLC is executed.
In the plc you must ensure cyclical call of method.
Declaration
public void ExecuteProbeRun(ulong testId)
Parameters
Type |
Name |
Description |
System.UInt64 |
testId |
Test Id
|
|
Improve this Doc
View Source
ExecuteProbeRun(UInt64, Func<Boolean>)
Executes context cycle until end condition is met. Optionally can provide _testId for test code isolation.
In the plc you must ensure cyclical call of method.
Declaration
public void ExecuteProbeRun(ulong testId, Func<bool> endCondition)
Parameters
Type |
Name |
Description |
System.UInt64 |
testId |
Test Id
|
System.Func<System.Boolean> |
endCondition |
Evaluates end condition for the test.
|
|
Improve this Doc
View Source
ExecuteProbeRun(UInt64, UInt64)
Executes context cycle given number of times. Optionally can provide _testId for test code isolation.
In the plc you must ensure cyclical call of method.
Declaration
public void ExecuteProbeRun(ulong counts, ulong testId)
Parameters
Type |
Name |
Description |
System.UInt64 |
counts |
Number of time the context cycle executes
|
System.UInt64 |
testId |
Test Id
|
|
Improve this Doc
View Source
FlushOnlineToPlain(Plain_internals_TcoContext)
Declaration
public void FlushOnlineToPlain(Plain_internals_TcoContext source)
Parameters
|
Improve this Doc
View Source
FlushOnlineToShadow()
Declaration
public void FlushOnlineToShadow()
|
Improve this Doc
View Source
FlushPlainToOnline(Plain_internals_TcoContext)
Declaration
public void FlushPlainToOnline(Plain_internals_TcoContext source)
Parameters
|
Improve this Doc
View Source
FlushShadowToOnline()
Declaration
public void FlushShadowToOnline()
|
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()
Explicit Interface Implementations
|
Improve this Doc
View Source
I_internals_TcoContext._plcCycleCounter
Declaration
IOnlineULInt I_internals_TcoContext._plcCycleCounter { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineULInt |
|
|
Improve this Doc
View Source
I_internals_TcoContext._probeCurrentCycleCount
Declaration
IOnlineULInt I_internals_TcoContext._probeCurrentCycleCount { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineULInt |
|
|
Improve this Doc
View Source
I_internals_TcoContext._probeRunRequiredCycles
Declaration
IOnlineULInt I_internals_TcoContext._probeRunRequiredCycles { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineULInt |
|
|
Improve this Doc
View Source
I_internals_TcoContext._testDoneCounter
Declaration
IOnlineULInt I_internals_TcoContext._testDoneCounter { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineULInt |
|
|
Improve this Doc
View Source
I_internals_TcoContext._testId
Declaration
IOnlineULInt I_internals_TcoContext._testId { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineULInt |
|
|
Improve this Doc
View Source
IShadow_internals_TcoContext._plcCycleCounter
Declaration
IShadowULInt IShadow_internals_TcoContext._plcCycleCounter { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowULInt |
|
|
Improve this Doc
View Source
IShadow_internals_TcoContext._probeCurrentCycleCount
Declaration
IShadowULInt IShadow_internals_TcoContext._probeCurrentCycleCount { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowULInt |
|
|
Improve this Doc
View Source
IShadow_internals_TcoContext._probeRunRequiredCycles
Declaration
IShadowULInt IShadow_internals_TcoContext._probeRunRequiredCycles { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowULInt |
|
|
Improve this Doc
View Source
IShadow_internals_TcoContext._testDoneCounter
Declaration
IShadowULInt IShadow_internals_TcoContext._testDoneCounter { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowULInt |
|
|
Improve this Doc
View Source
IShadow_internals_TcoContext._testId
Declaration
IShadowULInt IShadow_internals_TcoContext._testId { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowULInt |
|
Implements
Vortex.Connector.Identity.IVortexIdentity
Vortex.Connector.IVortexObject
Vortex.Connector.ITwinObject
Vortex.Connector.IVortexElement
Vortex.Connector.IVortexOnlineObject
Vortex.Connector.IVortexShadowObject
Extension Methods