You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Fixed minimum/maximum calculate in Meta Data Point script.
To Reproduce
Steps to reproduce the behavior:
Login as admin;
Created Virtual Data Source as virtual_ds_1 (enabled, update: 1s) and Virtual Data Point as virtual_dp_1 (enabled, numeric, change type: increment (min: 0 - max: 10 - change: 1, checked roll, start: 0))
Created Meta Data as meta_ds_1 (enabled) and Meta Data Point meta_dp_1 (enabled, numeric) with:
a) Script context add: 'virtual_ds_1 - virtual_dp_1 ' as p1;
b) Script: return p1.prev(SECOND,11).minimum;
c) Event Update: Update Context;
Created WatchLists as wl_1 with points: 'meta_ds_1 - meta_dp_1', 'virtual_ds_1 - virtual_dp_1';
Then 'meta_ds_1 - meta_dp_1' value is 0 -> ok;
Change 'virtual_ds_1 - virtual_dp_1' -> set 5 in increment.min;
Go back to wl_1 and wait 10s then 'meta_ds_1 - meta_dp_1' value is 0 -> error;
Spec:
Scada-LTS Version 2.6.18
The text was updated successfully, but these errors were encountered:
…sc' was added to the PointValueDAO.POINT_VALUE_FILTER_BEFORE_TIME_STAMP_BASE_ON_DATA_POINT_ID query at the end, now the start value used to calculate statistics should be correct and should not result in incorrect statistics calculation;
Description
Fixed minimum/maximum calculate in Meta Data Point script.
To Reproduce
Steps to reproduce the behavior:
a) Script context add: 'virtual_ds_1 - virtual_dp_1 ' as p1;
b) Script: return p1.prev(SECOND,11).minimum;
c) Event Update: Update Context;
Spec:
The text was updated successfully, but these errors were encountered: