Class SignalCollection
A collection of signal objects.
Inherited Members
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
Namespace: ABB.Robotics.Controllers.IOSystemDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public class SignalCollection : EnumerableTCollectionBase<Signal>, IList, ICollection, IEnumerable<Signal>, IEnumerable
Constructors
SignalCollection()
Initializes a new instance of the SignalCollection class.
Declaration
public SignalCollection()
Properties
Item[Int32]
Gets or sets the Signal at the specified index.
Declaration
public Signal this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Property Value
Type | Description |
---|---|
Signal | Signal object. |
Methods
Add(Signal)
Adds the specified value.
Declaration
public int Add(Signal value)
Parameters
Type | Name | Description |
---|---|---|
Signal | value | The value. |
Returns
Type | Description |
---|---|
Int32 | Index of value. |
Contains(Signal)
Determines whether the collection contains the spcefied value.
Declaration
public bool Contains(Signal value)
Parameters
Type | Name | Description |
---|---|---|
Signal | value | The value. |
Returns
Type | Description |
---|---|
Boolean |
|
IndexOf(Signal)
Gets the index of the signal.
Declaration
public int IndexOf(Signal value)
Parameters
Type | Name | Description |
---|---|---|
Signal | value | The value. |
Returns
Type | Description |
---|---|
Int32 | Index of signal if exists; otherwise -1. |
Insert(Int32, Signal)
Inserts the signal at specified index.
Declaration
public void Insert(int index, Signal value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index | The index. |
Signal | value | The signal. |
Remove(Signal)
Removes the specified value.
Declaration
public void Remove(Signal value)
Parameters
Type | Name | Description |
---|---|---|
Signal | value | The value. |