The CogIODiscreteElement type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ChangedEventSuspended |
If nonzero, indicates that the raising of the Changed event has been
suspended. This value is incremented when SuspendChangedEvent is called
and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventBase.) | |
| HasChanged | (Inherited from CogSerializableChangedEventBase.) | |
| Line |
Get/Set a discrete device I/O line number.
| |
| Property |
Gets/Sets a tool's property that is used to collect a result.
| |
| StateFlags |
Returns the complete set of state flags supported on this object. The
flags may be indexed by name as shown in the following C# code snippet:
if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.) | |
| TreatWarningAsReject |
When Property produces a Warning result, it will be treated as Reject
when TreatWarningAsReject is set to true; Accept otherwise. It has no
impact when Property generates a boolean result.
|
See Also