Class TcoMomentaryTask
Provides basic momentary on function.
To get the actual state of the momentary task, , and State properties are available.
Inheritance
System.Object
TcoMomentaryTask
Implements
Vortex.Connector.Identity.IVortexIdentity
System.Windows.Input.ICommand
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 StateOnDesc \"<#On#>\" } {attribute addProperty StateOffDesc \"<#Off#>\" } {attribute addProperty Name \"\" }", "TcoMomentaryTask", "TcoCore", TypeComplexityEnum.Complex)]
public class TcoMomentaryTask : TcoObject, IVortexIdentity, IsTcoObject, ICommand, IDecorateLog, IsTask, IVortexObject, ITwinObject, IVortexElement, ITcoMomentaryTask, ITcoObject, IShadowTcoMomentaryTask, IShadowTcoObject, IVortexOnlineObject, IVortexShadowObject
Constructors
|
Improve this Doc
View Source
TcoMomentaryTask()
Declaration
public TcoMomentaryTask()
|
Improve this Doc
View Source
TcoMomentaryTask(IVortexObject, String, String)
Declaration
public TcoMomentaryTask(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
__enabled
Declaration
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
__isServiceable
Declaration
OnlinerBool __isServiceable
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
__setOnRequest
Declaration
OnlinerBool __setOnRequest
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
__state
Declaration
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
_logPayloadDecoration
Declaration
Func<object> _logPayloadDecoration
Field Value
Type |
Description |
System.Func<System.Object> |
|
|
Improve this Doc
View Source
codeProvider
Declaration
ICodeProvider codeProvider
Field Value
Properties
|
Improve this Doc
View Source
_AttributeStateOffDesc
Declaration
string _AttributeStateOffDesc { }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
_AttributeStateOnDesc
Declaration
string _AttributeStateOnDesc { }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
_enabled
Use to determine if the manipulation is enabled for example from the HMI application.
This value is read only, to modify it use the property Enabled
Declaration
[ReadOnly]
public OnlinerBool _enabled { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
_isServiceable
Indicated whether the task is in serviceable state. The default state 'serviceable' that means that the task
can be invoked from the higher-level application. The serviceable state is cancelled when the immediate parent is ITcoServiceable
and at the same time the parent is not in servicebable state. TcoComponent
is serviceable, in order for the component's task to be
invokable from higher-level application component must call Service
method to induce the component into serviceable state.
Declaration
[ReadOnly]
[RenderIgnore]
public OnlinerBool _isServiceable { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
_setOnRequest
Use to set the state to the '''TRUE''' value.
Declaration
public OnlinerBool _setOnRequest { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
_state
Declaration
[ReadOnly]
public OnlinerBool _state { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
AttributeStateOffDesc
Declaration
public string AttributeStateOffDesc { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
AttributeStateOnDesc
Declaration
public string AttributeStateOnDesc { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CodeProvider
Gets swift code provider for this task.
Declaration
public virtual ICodeProvider CodeProvider { get; protected set; }
Property Value
|
Improve this Doc
View Source
LogPayloadDecoration
Declaration
public Func<object> LogPayloadDecoration { get; set; }
Property Value
Type |
Description |
System.Func<System.Object> |
|
|
Improve this Doc
View Source
RecordTaskAction
Gets or set action recording delegate for this task.
Declaration
public RecordTaskActionDelegate RecordTaskAction { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
CanExecute(Object)
Queries whether the command can be executed.
Declaration
public bool CanExecute(object parameter)
Parameters
Type |
Name |
Description |
System.Object |
parameter |
|
Returns
Type |
Description |
System.Boolean |
Boolean result of the query.
|
|
Improve this Doc
View Source
CopyPlainToShadow(PlainTcoMomentaryTask)
Declaration
public void CopyPlainToShadow(PlainTcoMomentaryTask source)
Parameters
|
Improve this Doc
View Source
CreatePlainerType()
Declaration
public PlainTcoMomentaryTask CreatePlainerType()
Returns
|
Improve this Doc
View Source
CreatePlainerType(PlainTcoMomentaryTask)
Declaration
protected PlainTcoMomentaryTask CreatePlainerType(PlainTcoMomentaryTask cloned)
Parameters
Returns
|
Improve this Doc
View Source
Execute(Object)
The calling of the execute method does not have effect on this particular task type.
Declaration
public void Execute(object parameter)
Parameters
Type |
Name |
Description |
System.Object |
parameter |
|
|
Improve this Doc
View Source
FlushOnlineToPlain(PlainTcoMomentaryTask)
Declaration
public void FlushOnlineToPlain(PlainTcoMomentaryTask source)
Parameters
|
Improve this Doc
View Source
FlushOnlineToShadow()
Declaration
public void FlushOnlineToShadow()
|
Improve this Doc
View Source
FlushPlainToOnline(PlainTcoMomentaryTask)
Declaration
public void FlushPlainToOnline(PlainTcoMomentaryTask 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()
|
Improve this Doc
View Source
Start()
Starts momentary task execution.
Declaration
|
Improve this Doc
View Source
Stop()
Stops momentary task execution.
Declaration
|
Improve this Doc
View Source
TcoToggleTask_CanExecuteChanged(Object, EventArgs)
Declaration
void TcoToggleTask_CanExecuteChanged(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
|
Improve this Doc
View Source
ValidateCanExecute(IValueTag, ValueChangedEventArgs)
Declaration
void ValidateCanExecute(IValueTag sender, ValueChangedEventArgs args)
Parameters
Type |
Name |
Description |
Vortex.Connector.IValueTag |
sender |
|
Vortex.Connector.ValueTypes.ValueChangedEventArgs |
args |
|
Events
|
Improve this Doc
View Source
CanExecuteChanged
Declaration
public event EventHandler CanExecuteChanged
Event Type
Type |
Description |
System.EventHandler |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
IShadowTcoMomentaryTask._enabled
Declaration
[ReadOnly]
IShadowBool IShadowTcoMomentaryTask._enabled { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowBool |
|
|
Improve this Doc
View Source
IShadowTcoMomentaryTask._isServiceable
Declaration
[ReadOnly]
[RenderIgnore]
IShadowBool IShadowTcoMomentaryTask._isServiceable { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowBool |
|
|
Improve this Doc
View Source
IShadowTcoMomentaryTask._setOnRequest
Declaration
IShadowBool IShadowTcoMomentaryTask._setOnRequest { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowBool |
|
|
Improve this Doc
View Source
IShadowTcoMomentaryTask._state
Declaration
[ReadOnly]
IShadowBool IShadowTcoMomentaryTask._state { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowBool |
|
|
Improve this Doc
View Source
ITcoMomentaryTask._enabled
Declaration
[ReadOnly]
IOnlineBool ITcoMomentaryTask._enabled { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineBool |
|
|
Improve this Doc
View Source
ITcoMomentaryTask._isServiceable
Declaration
[ReadOnly]
[RenderIgnore]
IOnlineBool ITcoMomentaryTask._isServiceable { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineBool |
|
|
Improve this Doc
View Source
ITcoMomentaryTask._setOnRequest
Declaration
IOnlineBool ITcoMomentaryTask._setOnRequest { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineBool |
|
|
Improve this Doc
View Source
ITcoMomentaryTask._state
Declaration
[ReadOnly]
IOnlineBool ITcoMomentaryTask._state { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineBool |
|
Implements
Vortex.Connector.Identity.IVortexIdentity
System.Windows.Input.ICommand
Vortex.Connector.IVortexObject
Vortex.Connector.ITwinObject
Vortex.Connector.IVortexElement
Vortex.Connector.IVortexOnlineObject
Vortex.Connector.IVortexShadowObject
See Also