CommandGroup Class
The TcHmiSrv.CommandGroup class was moved from the TcHmiSrv to the TcHmiSrv.Core namespace. It was therefore replaced by the CommandGroup class.
Differences between this release
- CommandGroup implements ICopyableT, IListT and IEquatableT.
- The CommandGroup.CommandGroup(CommandGroup) constructor was removed. Use the CommandGroupDeepCopy method instead.
- The CommandGroupCommandGroup(IEnumerableCommand) and CommandGroupCommandGroup(String, IEnumerableCommand) constructors were added.
- The CommandGroup.Empty property was replaced by CommandGroupIsEmpty.
- The CommandGroup.BeginVector and CommandGroup.EndVector properties were removed. Please take a look at How to migrate to see how they can be replaced in your TwinCAT HMI server extension.
- The CommandGroup.Item(UInt32) property throws a ArgumentOutOfRangeException instead of returning an empty Command if the index is not a valid index in the CommandGroup.
- The CommandGroup.clear() method was replaced by CommandGroupClear.
- The CommandGroup.find(UInt32) method was removed. Use the CommandGroupItemInt32 indexer instead.
- The CommandGroup.insert(CommandVectorIterator, Command) method was replaced by CommandGroupInsert(Int32, Command).
- The CommandGroup.remove(CommandVectorIterator) method was replaced by CommandGroupRemoveAt(Int32).
- The CommandGroup.reserve(UInt32) method was replaced by CommandGroupCapacity.