The CogIOMCB 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.) | |
| DeviceIndex |
Return the index number of CogIODevice object.
(Inherited from CogIODiscreteDevice.) | |
| DeviceName |
Return the name that characterizes the instance of CogIODevice object.
(Inherited from CogIODevice.) | |
| Enabled | (Inherited from CogIODiscreteDevice.) | |
| HasChanged | (Inherited from CogSerializableChangedEventBase.) | |
| InputDelegate | (Inherited from CogIODiscreteDevice.) | |
| InputPollingPeriod |
Time period between each polling of inputs, in mSec.
The default value is 10ms.
| |
| IsDeviceOpen |
This property is true upon successfully calling the Open() method.
This property is false upon calling the Close() method. This
property must be true in order to call the Write(), SetValue(),
GetValue(), or WriteSyncPulse() methods.
(Overrides CogIODevice IsDeviceOpen.) | |
| MonitorInputs | (Overrides CogIODiscreteDevice MonitorInputs.) | |
| NumLines |
How many lines on this device. Since this will always be 24,
this property is provided as a convenience.
| |
| 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.) |
See Also