Version 1.1.0.0
TcHmiSrvExtNet.Core version 1.1.0.0 was released on February 15, 2021.
Issues fixed in this release
- Fixed an issue where property Alarm.Name could be null.
- Fixed an issue where creating a deep copy of an TcHmiSrv.Core.Alarm threw a System.NullReferenceException if property Alarm.Parameters was null.
- Fixed an issue where creating a deep copy of a TcHmiSrv.Core.Command threw a System.NullReferenceException if property Command.ReadValue, Command.WriteValue or Command.SymbolOptions was null.
- Fixed an issue where creating a deep copy of a TcHmiSrv.Core.Context threw a System.NullReferenceException if property Context.Session was null.
- Fixed an issue where creating a deep copy of an TcHmiSrv.Core.Event threw a System.NullReferenceException if property Event.Payload or Event.Session was null.
- Fixed an issue where creating a deep copy of a TcHmiSrv.Core.Message threw a System.NullReferenceException if property Alarm.Parameters was null.
- Fixed an issue where properties Command.IsSet and Command.Paging were not set in the deep copy of TcHmiSrv.Core.Commands.
- Fixed an issue where method Value.GetHashCode. threw a System.StackOverflowException.
- Fixed an issue where methods and properties of the TcHmiSrv.Core.Value class threw a System.NullReferenceException because the internal value was null or of an unexpected System.Type.
- Fixed an issue where property JsonSchemaValue.Definitions could be modified by adding or removing
elements from the System.Collections.Generic.IDictionary.TKey, TValue. that was used to initialize a new instance of the
TcHmiSrv.Core.Tools.DynamicSymbols.JsonSchemaValue class.
This could have resulted in TcHmiSrv.Core.Tools.DynamicSymbols.Definitions not being cleaned up after the corresponding TcHmiSrv.Core.Tools.DynamicSymbols.Symbol was removed from the TcHmiSrv.Core.Tools.DynamicSymbols.DynamicSymbolsProvider.
New features in this release
- Classes TcHmiSrv.Core.CommandGroup and TcHmiSrv.Core.Value implement the System.Collections.ICollection interface.
- Constructors CommandGroup.CommandGroup(IList.Command.) and CommandGroup.CommandGroup(String, IList.Command.) were added to create new TcHmiSrv.Core.CommandGroups without having to copy the specified collection of TcHmiSrv.Core.Commands first.
- Constructor Event.Event(Context, String) was added.
- Method CommandGroup.RemoveRange(Int32, Int32) was added to remove a range of TcHmiSrv.Core.Commands from a TcHmiSrv.Core.CommandGroup.
- Property Command.Paging can be set.
- Methods TcHmiApplication.JoinPath(.Object.), TcHmiApplication.JoinPath.T.(IEnumerable.String.) and TcHmiApplication.JoinPath.T.(IEnumerable.T.) were added to concatenate elements using TcHmiApplication.PathElementSeparator.
- Property Symbol.ReadOnly was added and can be specified in the constructors of classes TcHmiSrv.Core.Tools.DynamicSymbols.Symbol, TcHmiSrv.Core.Tools.DynamicSymbols.SymbolWithValue and TcHmiSrv.Core.Tools.DynamicSymbols.SymbolWithDirectValue.