CommandGroup Class
The TcHmiSrv.CommandGroup class was moved from the TcHmiSrv to the TcHmiSrv.Core namespace. It was therefore replaced by the TcHmiSrv.Core.CommandGroup class.
Differences between this release
- TcHmiSrv.Core.CommandGroup implements TcHmiSrv.Core.Duplication.ICopyable.T., System.Collections.Generic.IList.T. and System.IEquatable.T..
- The CommandGroup.CommandGroup(CommandGroup) constructor was removed. Use the CommandGroup.DeepCopy. method instead.
- The CommandGroup.CommandGroup(IEnumerable.Command.) and CommandGroup.CommandGroup(String, IEnumerable.Command.) constructors were added.
- The CommandGroup.Empty property was replaced by CommandGroup.IsEmpty.
- 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 System.ArgumentOutOfRangeException instead of returning an empty TcHmiSrv.Core.Command if the index is not a valid index in the TcHmiSrv.Core.CommandGroup.
- The CommandGroup.clear() method was replaced by CommandGroup.Clear..
- The CommandGroup.find(UInt32) method was removed. Use the CommandGroup.Item.Int32. indexer instead.
- The CommandGroup.insert(CommandVectorIterator, Command) method was replaced by CommandGroup.Insert(Int32, Command).
- The CommandGroup.remove(CommandVectorIterator) method was replaced by CommandGroup.RemoveAt(Int32).
- The CommandGroup.reserve(UInt32) method was replaced by CommandGroup.Capacity.