IOLine Class |
The IOLine type exposes the following members.
Name | Description | |
---|---|---|
AValue | The Value that the Analog Input or Output is at | |
Count | Get the count of the input, that is the number of times the input has latched since the counter has been reset | |
HighLatchedStatus | Whether this IOLine has had its High Latch set since the last latch reset | |
Label | User definable label for the io line to help when debugging | |
LowLatchedStatus | Whether this IOLine has had its Low Latch set since the last latch reset | |
MostRecentChangeType | The most recent type of change to occur to the IOLine examples: a. if the previous value seen was 1 and the current value is 0 then the change type will be IOChangeType.FallingEdge. b. if the device has just been turned on then the change type will be IOChangeType.Undefined c. if the line has gone from 1 to 0 and back to 1 within the IOLineCacheTimeout the change type will be IOChangeType.Latched d. if the line has not changed within the last IOLineCacheTimeout the change type will be IOChangeType.NoChange The method will only return meaningful results if there are event handlers attached to the EDDevice | |
Value | Whether the line is: Digital Input : HIGH (1) or LOW(0) Output/Relay : CLOSED (1) or OPEN (0) NOTE: only Outputs can be set, inputs will throw InvalidOperationException |
Name | Description | |
---|---|---|
ClearCount | Clear the count currently recorded on the line | |
Describe | Give a complete summary of the IOLine | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
SubscribeToDeltaEvent | Register an event with this handler to be notified when the state of this AIOLine changes over the delta value specified | |
SubscribeToTargetEvent | Register an event with this handler to be notified when the state of this AIOLine goes over the value specified and below the value specified | |
SubscribeToTargetEvents | Obsolete. Register an event with this handler to be notified when the state of this AIOLine goes over the value specified and below the value specified | |
SubscribeToTargetRangeEvent | Register an event with this handler to be notified when the state of this AIOLine changes more than the specified delta value away from the specified target value | |
SubscribeToTargetRangeEvents | Obsolete. Register an event with this handler to be notified when the state of this AIOLine changes more than the specified delta value away from the specified target value | |
Toggle | If the line is an output this function will invert the state of the line e.g. if the line was closed (1) it will become open (0) or if the line was open (0) it will become closed (1) only valid for Digital outputs | |
ToString |
ToString
(Overrides ObjectToString) | |
UnsubscribeToDeltaEvent | Unsubscribe a registered delta event with this handler to stop being notified when this event is triggered | |
UnsubscribeToTargetEvent | Unsubscribe a registered target event with this handler to stop being notified when this event is triggered | |
UnsubscribeToTargetEvents | Obsolete. Unsubscribe a registered target event with this handler to stop being notified when this event is triggered | |
UnsubscribeToTargetRangeEvent | Unsubscribe a registered target range event with this handler to stop being notified when this event is triggered | |
UnsubscribeToTargetRangeEvents | Obsolete. Unsubscribe a registered target range event with this handler to stop being notified when this event is triggered |
Name | Description | |
---|---|---|
IOLineChanged | register an event for this IOLine | |
IOLineCount | register a count event for this IOLine | |
IOLineFallingEdge | register a rising edge event for this IOLine | |
IOLineRisingEdge | register a rising edge event for this IOLine |
Name | Description | |
---|---|---|
IODirection | Whether the IO line is an input or an output | |
IONumber | The IO Number from 0 to 15 e.g DOUT2, DIN1, Relay3 | |
IOType | Whether the line is digital or analog | |
LogicalNumber | The IO Line Number from 0 to 15 as defined on the case |