Release Notes for Prosys Sentrol 2.2.0
This version of Sentrol concentrates on improvements to Storage and
usability of the UI Controls.
Sentrol now supports ADO, IB Express and Zeos, in addition to BDE and
dbExpress.
There is also preliminary work that targets to a more powerful Storage
usage, including management of variables and modules. This work is
still underway, but should not be visible to you, if you use it as
previously. You may see some new classes, properties and methods in
PsStorage.pas, but these may still change a little bit, so you should
consider them as beta features.
There is also now basic support for DateTime data.
Fixed
- TPsVar.SetPropValueAt to set Quality correctly bad, if given invalid Value
- TPsState.AlarmState, States, Next & Prev
- TPsOPCServerList.AddServer seemed to have a potential bug enabling
duplicate entries - and on the other hand missing some entries.
- TPsOPCServer.ReadItemValue & ReadItemValues
- TPsOPCGroup.Disconnect calls OnDisconnect before removing the group
- TPsOPCConnector.VarChangeRequest to use (New) TPsOPCConnector.WriteItem, which DoCopyToExternal is now also using
- TPsOPCWriteTransaction:s were not used properly
- TPsOPCTransaction.Commit
- TPsCheckbox could end up to EStackOverflow
- TPsCustomComboBox.Focused fixes Borland QC issue #19770 in
TCustomCombo.Focused
- AV at TPsCustomStorage, if OwnsStmts was True.
- TPsHistorian.SetLoadHistoryParams, TPsHistorian.SetGetValueAtStmtParams
- Several changes & fixes to TPsEventView & TPsEventList, especially
the preformance of TPsEventView is now adequate independent of the
event log size
- Uninstall has had several issues preventing it from running
correctly. We wish (!) they are now over...
New Forms
New Components
- TPsDateTimePicker
- TPsMultiEditPanel (beta)
- ADO Storage: TPsADOStorage (uses TADOConnection) included in SentrolStdADOXX.bpl
- Interbase Express Storage: TPsIBStorage (uses TIBConnection) and TPsIBManager (for backup, restore, etc. using IB Admin components) included in SentrolStdIBXX.bpl (requires ibxpress)
Note: The installer will also install the Zeos package into Sentrol/bin-driectory, but it is not enabled into the component palette. You must manually enable it from Delphi/C++Builder Components-menu (Add Packages). You must have ZComponent also installed at that time.
Note: PsADOStorage and PsZStorage are not included in
Delphi/C++Builder version 5, simply because ADO or Zeos are not
currently available for them (actually, Zeos DBO includes source for
Delphi/C++Builder 5, but it does not compile!
See the report
)
New Members
- Properties: TPsStringTree.OnChange & OnChanging
- Behaviour: TPsStringTree.PathToSequence ignores separators at string ends and optionally escapes them in the middle, when doubled
- Enum value: TPsAlarmState.asUnknown
- Properties: TPsVar.Description, AlarmText, AlarmHelp, available also
via PropValues (vpDescription, vpAlarmText, vpAlarmHelp)
- Property: TPsVar.PropReadOnly
- Methods: TPsCustomState.GetBitmap & TPsCustomState.GetBitmapForValue
- Behaviour: TPsVar.DoChanging catches exceptions and reports the associated
information with the EPsVarChangeReject exception
- Property: TPsBitset.BitItems (replaces States in Bitsets)
- Properties: TPsSpeedButton.VarImage & TPsBitBtn.VarImage
- Property: TPsControlVarLink.AutoEnable, used in all controls to automatically enable/disable the control according to read/write access to the connected variable property
- Properties: TPsCustomCompPanel.CaptionAutoSize & TPsCustomCompPanel.EngUnitAutoSize
- Enum value: TPsHintValue.hmClickValue
- Behaviour: TPsBitsetView uses StateImages for "On" bits only, unless you provide addtional images
- Properties: TPsCustomConnector.ShowErrors, TPsCustomConnector.DeactivateOnError, TPsCustomConnector.DeactivateLinkOnError
- Changed: TPsOPCGroup.WriteItem will convert the value to write to the
Item's DataType
- Methods: TPsOPCServer.WriteItemValue & WriteItemValues
- Properties: TPsOPCItem.Value, Quality & Timestamp (cached last values)
- Method: TPsOPCConnector.WriteItem
- Changed: TPsOPCGroup.Connect raises exceptions if it fails, instead of returning a boolean value. It also connects the server, if it already wasn't.
- Changed: TPsOPCServer.MakeUniqueGroupName does not modify an empty string - to support connectors without names
- Property: TPsOPCProvider.LocalTimeBias
- Property & Methods: TPsCustomStorage.Connected, Open & Close
- Methods: TPsCustomStorage.StartTransaction, Commit, Rollback & InTransaction
- Methods: TPsCustomStorage.Lock & UnLock (thread-safety)
- Methods: TPsCustomStorage.GetTableNames & GetFieldNames
- Methods: TPsCustomStorage.ExecSQL, Select, SelectValue, SelectMax, CreateTable
- Feature: TPsHistorian.Snapshot, SnapshotSchedule, SnapshotTable, OnSnapshot,
etc.
- Method: TPsCustomHistorian.ClearHistory
- Property: TPsEvent.Quality
- Method: TPsEventLog.LoadEvents
- Method: TPsEventList.IndexOfTimestamp
- Properties: TPsEventView.Events, LocalTimeBias
- Method: TPsEventView.IndexOfEvent
Beta Feature: Storage Table Management
The storage can now maintain meta information of data modules and variables in the DB. This feature is still under development, so regard it as beta, suspect to change in future releases. All properties are still available only at runtime.
- Classes: TPsStorageTable, TPsStorageField, TPsObjectTable, TPsComponentTable, TPsPropValueTable, TPsHistoryTable, TPsSnapshotTable, TPsSnapshotValuesTable, TPsObjectIDMap & TPsProxyObject
- Properties: TPsCustomStorage.ModulesTable, VariablesTable, VarPropsTable, TPsHistorian.SnapshotTable, TPsCustomHistorian.HistoryTable
13.12.05