GXDN: Gurux Developer Network
GXScheduleCollection Class
NamespacesGurux.DeviceGXScheduleCollection
GXScheduleCollection component implements the GXScheduleCollection interface. GXScheduleCollection is a collection of GXSchedules, which are used to create and execute timings for transactions between real world devices and GXDeviceCollection.
Members
All Members Constructors Methods Properties Events



Icon Member Description
GXScheduleCollection()()()
Initializes a new instance of the GXScheduleCollection class

Add(GXSchedule)
Add adds a new item to the collection.

AddRange(GXScheduleCollection)
AddRange appends items to the list. AllowDuplicates indicates if duplicates are allowed.

AllowDuplicateNames
AllowDuplicateNames determines, if duplicate names are allowed in the collection.

Clear()()()
Clear clears the collection.

Contains(GXSchedule)
Contains determines if an item is in the collection.

CopyTo(array<GXSchedule>[]()[], Int32)
The CopyTo method copies object settings to the target object.

Count
Count indicates the number of items in the collection.

Dispose(Boolean)
Dispose()()()
Equals(Object)
Determines whether two objects are equal.
(Overrides Object.Equals(Object).)
Finalize()()() (Overrides Object.Finalize()()().)
Find(String, Object)
Finds a GXSchedule by name.

FindByParameter(String, Object)
Returns collection of objects that match search parameters.

FindItemByID(UInt64)
FindItemByID finds an item using item identification.

GetActiveSchedules()()()
GetActiveSchedules returns the collection of active schedules.

GetEnumerator()()()
Returns an enumerator that iterates through a collection.

GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetOcx()()()
Retrieves a reference to the underlying ActiveX control.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
IndexOf(GXSchedule)
IndexOf returns the zero-based index of the first occurrence of a device type in the list.

Insert(Int32, GXSchedule)
Insert inserts a new item to the collection.

IsEmpty()()()
Checks if the collection is empty.

IsReadOnly
Checks if the collection is read-only.

IsSynchronized
Checks if the collection is synchronized (thread safe).

Item[([(Int32])])
Item[([(Object])])
Retrieves an item from the collection, using numeric index.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnScheduleItemAdded
OnScheduleItemAdded notifies, with the added item and its index, when a GXSchedule is added.

OnScheduleItemRemoved
OnScheduleItemRemoved notifies, with the removed item and its index, when a GXSchedule is removed.

OnScheduleItemStateChanged
OnScheduleItemStateChanged notifies, if the state of a GXSchedule has changed.

OnScheduleItemUpdated
ScheduleItemUpdated notifies, when contents of a GXSchedule has changed.

OnSchedulesClear
OnSchedulesClear notifies, when the collection is cleared.

Parent
Parent property gets the m_Parent item of the collection.

Remove(GXSchedule)
Remove removes an item from the collection.

RemoveAt(Int32)
RemoveAt removes item type from the collection. This method removes one element starting at a zero-based index in an array. In the process, it shifts down all the elements above the removed element.

ResetRunCount()()()
Resets the run count.

Run()()()
Run runs the schedule item once.

RunCount
How many times the schedule is run.

RunFailCount
How many times the schedule run has failed.

Start()()()
Start activates the schedule and transaction is started when the schedule triggers.

Stop()()()
Stop disables the schedule.

SyncRoot
Gets an object that can be used to synchronize the collection.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
GXScheduleCollection

Assembly: Gurux.Device (Module: Gurux.Device) Version: 5.0.0.1