Storage

<< Click to Display Table of Contents >>

 

Storage

Storage has been revised and several improvements were implemented. Among them, a new log section in E3 was created, called Storage, which allows debugging values that entered the Storage algorithm and which values were sent to the Database.

A new field type has been added to Storage, Integer. Just like fields of type Bit and Text, the Integer fields are not submitted to the compressing algorithm of the Storage.

New Integer data type

New Integer data type

Now users can configure empty Storage objects (without fields) to allow querying data generated by other applications.

A new parameter was added to Storage fields, ScanTime, in milliseconds. Therefore, the following changes were performed:

Added the ScanTime property (defined in milliseconds) to the StorageField object.

Added an optional parameter ScanTime to the CreateNewSession method of the Storage object.

Added an optional parameter ScanTime to the AddField method of the StorageSession object.

Three new attributes are available in the attribute reading query of the Storage, Size (10), VARTYPE (11), and ScanTime (12).

Added a new field in the "xxx_Fields" tables, FieldScanTimeMs.

Storage now simulates a scan of Tags which are not varying, feeding data to the compressing algorithm and making it to be sent to the database quickly (the simulated scan only starts after the Tag remains more than one minute without receiving any variation).

Storage now fills in records of MaxRecTime between two values in case the timestamp difference between them is greater than MaxRecTime.

A timer was created to flush after 2 (two) seconds the value which remains in cache in the timestamp filter of the Storage.

Created two new methods in the field collection of the Storage. AddField, which adds a field to the collection, and RemoveAll, which removes all fields.

Was this page useful?