Class TcoDialog
Provides standard dialog to interact with the user.
Inheritance
System.Object
TcoDialog
Implements
Vortex.Connector.Identity.IVortexIdentity
System.Windows.Input.ICommand
System.ComponentModel.INotifyPropertyChanged
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 \"\" }", "TcoDialog", "TcoCore", TypeComplexityEnum.Complex)]
public class TcoDialog : TcoDialogBase, IVortexIdentity, IsTcoObject, ICommand, IDecorateLog, IsTask, INotifyPropertyChanged, IsDialog, IVortexObject, ITwinObject, IVortexElement, ITcoDialog, ITcoDialogBase, ITcoRemoteTask, ITcoTask, ITcoObject, IShadowTcoDialog, IShadowTcoDialogBase, IShadowTcoRemoteTask, IShadowTcoTask, IShadowTcoObject, IVortexOnlineObject, IVortexShadowObject
Examples
answer := _dialog
.Show()
.WithType(eDialogType.Question)
.WithCaption('Ready to go?')
.WithText('We are about to start the inspection sequence. Do we go ahead?')
.WithYesNo()
.Answer;
IF (answer = TcoCore.eDialogAnswer.Yes) THEN
seq.CompleteStep();
ELSIF(answer = TcoCore.eDialogAnswer.No) THEN
_sequence1Task.Restore();
END_IF;
TcOpen.Inxton.TcoAppDomain.Current.Builder
.SetPlcDialogs(DialogProxyServiceWpf.Create(new[] { App.Plc.MAIN._exampleContext }))
Constructors
|
Improve this Doc
View Source
TcoDialog()
Declaration
|
Improve this Doc
View Source
TcoDialog(IVortexObject, String, String)
Declaration
public TcoDialog(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
__answer
Declaration
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerInt |
|
|
Improve this Doc
View Source
__caption
Declaration
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerString |
|
|
Improve this Doc
View Source
__dialogType
Declaration
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerInt |
|
|
Improve this Doc
View Source
__hasCancel
Declaration
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
__hasNo
Declaration
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
__hasOK
Declaration
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
__hasYes
Declaration
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
__text
Declaration
Field Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerString |
|
Properties
|
Improve this Doc
View Source
_answer
Declaration
[EnumeratorDiscriminator(typeof(eDialogAnswer))]
public OnlinerInt _answer { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerInt |
|
|
Improve this Doc
View Source
_caption
Declaration
public OnlinerString _caption { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerString |
|
|
Improve this Doc
View Source
_dialogType
Declaration
[EnumeratorDiscriminator(typeof(eDialogType))]
public OnlinerInt _dialogType { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerInt |
|
|
Improve this Doc
View Source
_hasCancel
Declaration
public OnlinerBool _hasCancel { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
_hasNo
Declaration
public OnlinerBool _hasNo { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
_hasOK
Declaration
public OnlinerBool _hasOK { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
_hasYes
Declaration
public OnlinerBool _hasYes { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerBool |
|
|
Improve this Doc
View Source
_text
Declaration
public OnlinerString _text { get; }
Property Value
Type |
Description |
Vortex.Connector.ValueTypes.OnlinerString |
|
Methods
|
Improve this Doc
View Source
CopyPlainToShadow(PlainTcoDialog)
Declaration
public void CopyPlainToShadow(PlainTcoDialog source)
Parameters
|
Improve this Doc
View Source
CreatePlainerType()
Declaration
public PlainTcoDialog CreatePlainerType()
Returns
|
Improve this Doc
View Source
CreatePlainerType(PlainTcoDialog)
Declaration
protected PlainTcoDialog CreatePlainerType(PlainTcoDialog cloned)
Parameters
Returns
|
Improve this Doc
View Source
FlushOnlineToPlain(PlainTcoDialog)
Declaration
public void FlushOnlineToPlain(PlainTcoDialog source)
Parameters
|
Improve this Doc
View Source
FlushOnlineToShadow()
Declaration
public void FlushOnlineToShadow()
|
Improve this Doc
View Source
FlushPlainToOnline(PlainTcoDialog)
Declaration
public void FlushPlainToOnline(PlainTcoDialog 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
IShadowTcoDialog._answer
Declaration
[EnumeratorDiscriminator(typeof(eDialogAnswer))]
IShadowInt IShadowTcoDialog._answer { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowInt |
|
|
Improve this Doc
View Source
IShadowTcoDialog._caption
Declaration
IShadowString IShadowTcoDialog._caption { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowString |
|
|
Improve this Doc
View Source
IShadowTcoDialog._dialogType
Declaration
[EnumeratorDiscriminator(typeof(eDialogType))]
IShadowInt IShadowTcoDialog._dialogType { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowInt |
|
|
Improve this Doc
View Source
IShadowTcoDialog._hasCancel
Declaration
IShadowBool IShadowTcoDialog._hasCancel { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowBool |
|
|
Improve this Doc
View Source
IShadowTcoDialog._hasNo
Declaration
IShadowBool IShadowTcoDialog._hasNo { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowBool |
|
|
Improve this Doc
View Source
IShadowTcoDialog._hasOK
Declaration
IShadowBool IShadowTcoDialog._hasOK { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowBool |
|
|
Improve this Doc
View Source
IShadowTcoDialog._hasYes
Declaration
IShadowBool IShadowTcoDialog._hasYes { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowBool |
|
|
Improve this Doc
View Source
IShadowTcoDialog._text
Declaration
IShadowString IShadowTcoDialog._text { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Shadows.IShadowString |
|
|
Improve this Doc
View Source
ITcoDialog._answer
Declaration
[EnumeratorDiscriminator(typeof(eDialogAnswer))]
IOnlineInt ITcoDialog._answer { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineInt |
|
|
Improve this Doc
View Source
ITcoDialog._caption
Declaration
IOnlineString ITcoDialog._caption { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineString |
|
|
Improve this Doc
View Source
ITcoDialog._dialogType
Declaration
[EnumeratorDiscriminator(typeof(eDialogType))]
IOnlineInt ITcoDialog._dialogType { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineInt |
|
|
Improve this Doc
View Source
ITcoDialog._hasCancel
Declaration
IOnlineBool ITcoDialog._hasCancel { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineBool |
|
|
Improve this Doc
View Source
ITcoDialog._hasNo
Declaration
IOnlineBool ITcoDialog._hasNo { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineBool |
|
|
Improve this Doc
View Source
ITcoDialog._hasOK
Declaration
IOnlineBool ITcoDialog._hasOK { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineBool |
|
|
Improve this Doc
View Source
ITcoDialog._hasYes
Declaration
IOnlineBool ITcoDialog._hasYes { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineBool |
|
|
Improve this Doc
View Source
ITcoDialog._text
Declaration
IOnlineString ITcoDialog._text { get; }
Returns
Type |
Description |
Vortex.Connector.ValueTypes.Online.IOnlineString |
|
Implements
Vortex.Connector.Identity.IVortexIdentity
System.Windows.Input.ICommand
System.ComponentModel.INotifyPropertyChanged
Vortex.Connector.IVortexObject
Vortex.Connector.ITwinObject
Vortex.Connector.IVortexElement
Vortex.Connector.IVortexOnlineObject
Vortex.Connector.IVortexShadowObject
See Also