Class TcoDigitalInspector
Provides a mechanism for inspecting status of discrete signal.
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()
Namespace: PlcDocu.TcoInspectors
Assembly: TcoInspectorsConnector.dll
Syntax
public abstract class TcoDigitalInspector : TcoInspector
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;
Constructors
| Improve this Doc View SourceTcoDigitalInspector()
Prevents creating instance of this class via public constructor
Declaration
public TcoDigitalInspector()
Fields
| Improve this Doc View Source_data
Declaration
public TcoDigitalInspectorData _data
Field Value
Type | Description |
---|---|
TcoDigitalInspectorData |
Properties
| Improve this Doc View SourceCommonData
Gets common data settings of inspectors.
Declaration
[IgnoreReflection]
public dynamic CommonData { get; }
Property Value
Type | Description |
---|---|
System.Object | Plc type TcoInspectorData; Twin type: TcoInspectorData |
Data
Gets data of this inspector.
Declaration
[IgnoreReflection]
public dynamic Data { get; }
Property Value
Type | Description |
---|---|
System.Object | Plc type TcoDigitalInspectorData; Twin type: TcoDigitalInspectorData |
Methods
| Improve this Doc View SourceInspect(Object)
Inspects the signal and evaluates that it matches the value set in RequiredStatus
.
Declaration
[IgnoreReflection]
public dynamic Inspect(dynamic Status)
Parameters
Type | Name | Description |
---|---|---|
System.Object | Status | Plc type : BOOL [VAR_INPUT]; Twin type : Vortex.Connector.ValueTypes.OnlinerBool
|
Returns
Type | Description |
---|---|
System.Object | Returns the interface with information about the state of inspection. |
OnDone()
Executes when task reaches the Done
state .
Declaration
[IgnoreReflection]
protected void OnDone()