Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
2a5d60dd
Commit
2a5d60dd
authored
Nov 27, 2019
by
pwrd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Classes SevServer and SevImportServer moved to classvolume sev
parent
f34485f2
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
545 additions
and
653 deletions
+545
-653
sev/wbl/sev/src/sev.wb_load
sev/wbl/sev/src/sev.wb_load
+544
-2
src/exe/rt_ini/src/ini.c
src/exe/rt_ini/src/ini.c
+1
-0
src/wbl/pwrb/src/pwrb_c_a_sevserverthread.wb_load
src/wbl/pwrb/src/pwrb_c_a_sevserverthread.wb_load
+0
-178
src/wbl/pwrb/src/pwrb_c_a_sevstatistics.wb_load
src/wbl/pwrb/src/pwrb_c_a_sevstatistics.wb_load
+0
-168
src/wbl/pwrb/src/pwrb_c_sevimportserver.wb_load
src/wbl/pwrb/src/pwrb_c_sevimportserver.wb_load
+0
-102
src/wbl/pwrb/src/pwrb_c_sevserver.wb_load
src/wbl/pwrb/src/pwrb_c_sevserver.wb_load
+0
-203
No files found.
sev/wbl/sev/src/sev.wb_load
View file @
2a5d60dd
! Generated by wb_print_wbl 27-NOV-2019 09:22:22.01
! Volume Sev
! Version V5.7.0
Volume Sev $ClassVolume 0.0.0.11
Volume Sev $ClassVolume 0.0.0.11
Body SysBody 01-JAN-1970 01:00:00.00
Body SysBody 01-JAN-1970 01:00:00.00
Attr NextOix = "_X
26
"
Attr NextOix = "_X
30
"
Attr NextCix = "_X2
5
"
Attr NextCix = "_X2
9
"
EndBody
EndBody
Object Type $TypeHier 2 22-FEB-2019 16:47:07.49
Object Type $TypeHier 2 22-FEB-2019 16:47:07.49
EndObject
EndObject
Object Class $ClassHier 1 22-FEB-2019 16:47:09.02
Object Class $ClassHier 1 22-FEB-2019 16:47:09.02
!/**
! @Version 1.0
! Displays sev server thread info.
!
! @b See also
! @classlink SevServer sev_sevserver.html
!*/
Object SevServerThread $ClassDef 25 27-NOV-2019 09:17:07.12
Body SysBody 27-NOV-2019 09:15:55.68
Attr Editor = 0
Attr Method = 1
Attr Flags = 131088
EndBody
Object RtBody $ObjBodyDef 1 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr StructName = "SevServerThread"
Attr NextAix = "_X13"
EndBody
!/**
! Occupied.
!*/
Object Occupied $Attribute 1 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "Occupied"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Thread key.
!*/
Object Key $Attribute 2 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "Key"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Allocated size in thread queue.
!*/
Object QueueAlloc $Attribute 3 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "QueueAlloc"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Lost messages.
!*/
Object LostCnt $Attribute 4 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "LostCnt"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Medium load in percentage.
!*/
Object MediumLoad $Attribute 5 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "MediumLoad"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Storage rate. Values per second.
!*/
Object StorageRate $Attribute 6 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "StorageRate"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Medium storage rate. Values per second.
!*/
Object MediumStorageRate $Attribute 7 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "MediumStorageRate"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Write rate. Values per second.
!*/
Object WriteRate $Attribute 8 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "WriteRate"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Medium write rate. Values per second.
!*/
Object MediumWriteRate $Attribute 9 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "MediumWriteRate"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Write quota in percentage.
!*/
Object WriteQuota $Attribute 10 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "WriteQuota"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Data store message count.
!*/
Object DataStoreMsgCnt $Attribute 11 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "DataStoreMsgCnt"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Event store message count.
!*/
Object EventStoreMsgCnt $Attribute 12 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "EventStoreMsgCnt"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
EndObject
Object Template SevServerThread 2154266624 27-NOV-2019 09:15:55.68
Body RtBody 27-NOV-2019 09:15:55.68
EndBody
EndObject
EndObject
!/**
! @Version 1.0
! Displays sev server statistics.
!
! @b See also
! @classlink SevServer sev_sevserver.html
!*/
Object SevStatistics $ClassDef 26 27-NOV-2019 09:17:15.25
Body SysBody 27-NOV-2019 09:15:55.68
Attr Editor = 0
Attr Method = 1
Attr Flags = 131088
EndBody
Object RtBody $ObjBodyDef 1 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr StructName = "SevStatistics"
Attr NextAix = "_X12"
EndBody
!/**
! Current load in percentage.
!*/
Object CurrentLoad $Attribute 1 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "CurrentLoad"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Medium load in percentage.
!*/
Object MediumLoad $Attribute 2 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "MediumLoad"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Storage rate. Values per second.
!*/
Object StorageRate $Attribute 3 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "StorageRate"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Medium storage rate. Values per second.
!*/
Object MediumStorageRate $Attribute 4 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "MediumStorageRate"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Write rate. Values per second.
!*/
Object WriteRate $Attribute 5 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "WriteRate"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Medium write rate. Values per second.
!*/
Object MediumWriteRate $Attribute 6 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "MediumWriteRate"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Write quota in percentage
!*/
Object WriteQuota $Attribute 7 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "WriteQuota"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Data store message count.
!*/
Object DataStoreMsgCnt $Attribute 8 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "DataStoreMsgCnt"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Data get message count.
!*/
Object DataGetMsgCnt $Attribute 9 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "DataGetMsgCnt"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Items message count.
!*/
Object ItemsMsgCnt $Attribute 10 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "ItemsMsgCnt"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Event store message count.
!*/
Object EventStoreMsgCnt $Attribute 11 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "EventStoreMsgCnt"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
EndObject
Object Template SevStatistics 2154528768 27-NOV-2019 09:15:55.68
Body RtBody 27-NOV-2019 09:15:55.68
EndBody
EndObject
EndObject
!/**
! @Version 1.0
! @Group Servers,NodeConfiguration
! Configures the Sev server process.
!
! Configures the server process for historical data storage.
!
! This object is used when the server is started on a node with
! the runtime environment started.
! The the server can also be started without the runtime
! environment, but with the storage environment (Sev) installed.
! See the documentation for the storage environment on how to
! start the server in this case.
!
! @b See also
! @classlink SevHistThread pwrb_sevhistthread.html
! @classlink SevHistMonitor pwrb_sevhistmonitor.html
! @classlink SevHist pwrb_sevhist.html
! @classlink SevHistObject pwrb_sevhistobject.html
!*/
Object SevServer $ClassDef 27 27-NOV-2019 09:17:21.77
Body SysBody 27-NOV-2019 09:15:55.68
Attr Editor = 0
Attr Method = 1
Attr Flags = 16
EndBody
Object RtBody $ObjBodyDef 1 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr StructName = "SevServer"
Attr NextAix = "_X15"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "Description"
Attr Size = 80
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Database type.
!*/
Object Database $Attribute 2 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "Database"
Attr Size = 4
Attr TypeRef = "pwrb:Type-SevDatabaseEnum"
EndBody
EndObject
!/**
! UseThreads.
!*/
Object UseServerThreads $Attribute 3 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "UseServerThreads"
Attr Size = 4
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Calculate mean value on all items.
!*/
Object MeanValueAll $Attribute 4 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "MeanValueAll"
Attr Size = 4
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Use linear regression on all items with deadband.
!*/
Object LinearRegrAll $Attribute 5 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "LinearRegrAll"
Attr Size = 4
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Max time without storage for items with deadband linear regression.
! If zero, time is infinite.
!*/
Object LinearRegrMaxTime $Attribute 6 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "LinearRegrMaxTime"
Attr Size = 4
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Interval for calcuation of mean value for items
! with the MeanValue1 bit set in options.
!*/
Object MeanValueInterval1 $Attribute 7 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "MeanValueInterval1"
Attr Size = 4
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Interval for calcuation of mean value for items
! with the MeanValue2 bit set in options.
!*/
Object MeanValueInterval2 $Attribute 8 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "MeanValueInterval2"
Attr Size = 4
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Max limit for thread queue size.
! If the queue limit is exceeded, messages are lost.
!*/
Object ThreadQueueLimit $Attribute 9 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "ThreadQueueLimit"
Attr Size = 4
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Max limit for total queue size, ie the size of all thread queues.
! If the limit is exceeded, messages are lost.
!*/
Object TotalQueueLimit $Attribute 10 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "TotalQueueLimit"
Attr Size = 4
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Currently allocated size in all thread queues.
!*/
Object TotalQueueCnt $Attribute 11 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "TotalQueueCnt"
Attr Size = 4
Attr Flags = 1040
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Scan interval for garbage collector.
!*/
Object GarbageInterval $Attribute 12 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:15:55.68
Attr PgmName = "GarbageInterval"
Attr Size = 4
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Statistics.
!*/
Object Stat $Attribute 13 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:17:39.72
Attr PgmName = "Stat"
Attr Size = 48
Attr Flags = 131072
Attr TypeRef = "Sev:Class-SevStatistics"
EndBody
EndObject
!/**
! Server threads.
!*/
Object ServerThreads $Attribute 14 27-NOV-2019 09:15:55.68
Body SysBody 27-NOV-2019 09:17:51.52
Attr PgmName = "ServerThreads"
Attr Size = 2880
Attr Flags = 131074
Attr Elements = 60
Attr TypeRef = "Sev:Class-SevServerThread"
EndBody
EndObject
EndObject
Object Template SevServer 2154790912 27-NOV-2019 09:15:55.68
Body RtBody 27-NOV-2019 09:15:55.68
Attr UseServerThreads = 1
Attr MeanValueInterval1 = 1.000000e+01
Attr MeanValueInterval2 = 3.000000e+01
Attr ThreadQueueLimit = 600000
Attr TotalQueueLimit = 6000000
Attr GarbageInterval = 120
EndBody
EndObject
EndObject
Object SevImportServer $ClassDef 28 27-NOV-2019 09:22:10.75
Body SysBody 27-NOV-2019 09:21:59.66
Attr Method = 1
Attr Flags = 16
EndBody
Object RtBody $ObjBodyDef 1 27-NOV-2019 09:21:59.66
Body SysBody 27-NOV-2019 09:21:59.66
Attr StructName = "SevImportServer"
Attr NextAix = "_X5"
EndBody
Object Description $Attribute 1 27-NOV-2019 09:21:59.66
Body SysBody 27-NOV-2019 09:21:59.66
Attr PgmName = "Description"
Attr Size = 80
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
Object MeanValueAll $Attribute 2 27-NOV-2019 09:21:59.66
Body SysBody 27-NOV-2019 09:21:59.66
Attr PgmName = "MeanValueAll"
Attr Size = 4
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
Object MeanValueInterval1 $Attribute 3 27-NOV-2019 09:21:59.66
Body SysBody 27-NOV-2019 09:21:59.66
Attr PgmName = "MeanValueInterval1"
Attr Size = 4
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
Object MeanValueInterval2 $Attribute 4 27-NOV-2019 09:21:59.66
Body SysBody 27-NOV-2019 09:21:59.66
Attr PgmName = "MeanValueInterval2"
Attr Size = 4
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
EndObject
Object Template SevImportServer 30 27-NOV-2019 09:21:59.66
Body RtBody 27-NOV-2019 09:21:59.66
Attr MeanValueInterval1 = 1.000000e+01
Attr MeanValueInterval2 = 3.000000e+01
EndBody
EndObject
EndObject
Object SevExpItem $ClassDef 1 22-FEB-2019 17:00:51.71
Object SevExpItem $ClassDef 1 22-FEB-2019 17:00:51.71
Body SysBody 22-FEB-2019 16:51:45.61
Body SysBody 22-FEB-2019 16:51:45.61
Attr Editor = 0
Attr Editor = 0
...
...
src/exe/rt_ini/src/ini.c
View file @
2a5d60dd
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
#include "pwr_basecomponentclasses.h"
#include "pwr_basecomponentclasses.h"
#include "pwr_otherioclasses.h"
#include "pwr_otherioclasses.h"
#include "pwr_opcclasses.h"
#include "pwr_opcclasses.h"
#include "pwr_sevclasses.h"
#include "co_dcli.h"
#include "co_dcli.h"
#include "co_string.h"
#include "co_string.h"
...
...
src/wbl/pwrb/src/pwrb_c_a_sevserverthread.wb_load
deleted
100644 → 0
View file @
f34485f2
!
! ProviewR Open Source Process Control.
! Copyright (C) 2005-2019 SSAB EMEA AB.
!
! This file is part of ProviewR.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with ProviewR. If not, see <http://www.gnu.org/licenses/>
!
! Linking ProviewR statically or dynamically with other modules is
! making a combined work based on ProviewR. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! ProviewR give you permission to, from the build function in the
! ProviewR Configurator, combine ProviewR with modules generated by the
! ProviewR PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of ProviewR (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_a_sevserverthread.wb_load -- Defines the class SevServerThread.
!
SObject pwrb:Class
!/**
! @Version 1.0
! Displays sev server thread info.
!
! @b See also
! @classlink SevServer pwrb_sevserver.html
!*/
Object SevServerThread $ClassDef 699
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr Flags |= pwr_mClassDef_Internal
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "SevServerThread"
EndBody
!/**
! Occupied.
!*/
Object Occupied $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Thread key.
!*/
Object Key $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Allocated size in thread queue.
!*/
Object QueueAlloc $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Lost messages.
!*/
Object LostCnt $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Medium load in percentage.
!*/
Object MediumLoad $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Storage rate. Values per second.
!*/
Object StorageRate $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Medium storage rate. Values per second.
!*/
Object MediumStorageRate $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Write rate. Values per second.
!*/
Object WriteRate $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Medium write rate. Values per second.
!*/
Object MediumWriteRate $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Write quota in percentage.
!*/
Object WriteQuota $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Data store message count.
!*/
Object DataStoreMsgCnt $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Event store message count.
!*/
Object EventStoreMsgCnt $Attribute 12
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_a_sevstatistics.wb_load
deleted
100644 → 0
View file @
f34485f2
!
! ProviewR Open Source Process Control.
! Copyright (C) 2005-2019 SSAB EMEA AB.
!
! This file is part of ProviewR.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with ProviewR. If not, see <http://www.gnu.org/licenses/>
!
! Linking ProviewR statically or dynamically with other modules is
! making a combined work based on ProviewR. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! ProviewR give you permission to, from the build function in the
! ProviewR Configurator, combine ProviewR with modules generated by the
! ProviewR PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of ProviewR (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_a_sevstatistics.wb_load -- Defines the class SevStatistics.
!
SObject pwrb:Class
!/**
! @Version 1.0
! Displays sev server statistics.
!
! @b See also
! @classlink SevServer pwrb_sevserver.html
!*/
Object SevStatistics $ClassDef 657
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
Attr Flags |= pwr_mClassDef_Internal
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "SevStatistics"
EndBody
!/**
! Current load in percentage.
!*/
Object CurrentLoad $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Medium load in percentage.
!*/
Object MediumLoad $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Storage rate. Values per second.
!*/
Object StorageRate $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Medium storage rate. Values per second.
!*/
Object MediumStorageRate $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Write rate. Values per second.
!*/
Object WriteRate $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Medium write rate. Values per second.
!*/
Object MediumWriteRate $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Write quota in percentage
!*/
Object WriteQuota $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Data store message count.
!*/
Object DataStoreMsgCnt $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Data get message count.
!*/
Object DataGetMsgCnt $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Items message count.
!*/
Object ItemsMsgCnt $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Event store message count.
!*/
Object EventStoreMsgCnt $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_sevimportserver.wb_load
deleted
100644 → 0
View file @
f34485f2
!
! ProviewR Open Source Process Control.
! Copyright (C) 2005-2019 SSAB EMEA AB.
!
! This file is part of ProviewR.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with ProviewR. If not, see <http://www.gnu.org/licenses/>
!
! Linking ProviewR statically or dynamically with other modules is
! making a combined work based on ProviewR. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! ProviewR give you permission to, from the build function in the
! ProviewR Configurator, combine ProviewR with modules generated by the
! ProviewR PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of ProviewR (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_sevimportserver.wb_load -- Defines the class SevImportServer.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Group Servers,NodeConfiguration
! Configures the Sev import server process.
!
! Configures the server import process.
!
! @b See also
! @classlink SevHistThread pwrb_sevhistthread.html
! @classlink SevHistMonitor pwrb_sevhistmonitor.html
! @classlink SevExport pwrb_sevexport.html
!*/
Object SevImportServer $ClassDef 710
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "SevImportServer"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Calculate mean value on all items.
!*/
Object MeanValueAll $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Interval for calcuation of mean value for items
! with the MeanValue1 bit set in options.
!*/
Object MeanValueInterval1 $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Interval for calcuation of mean value for items
! with the MeanValue2 bit set in options.
!*/
Object MeanValueInterval2 $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
EndObject
Object Template SevImportServer
Body RtBody
Attr MeanValueInterval1 = 10
Attr MeanValueInterval2 = 30
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_sevserver.wb_load
deleted
100644 → 0
View file @
f34485f2
!
! ProviewR Open Source Process Control.
! Copyright (C) 2005-2019 SSAB EMEA AB.
!
! This file is part of ProviewR.
!
! This program is free software; you can redistribute it and/or
! modify it under the terms of the GNU General Public License as
! published by the Free Software Foundation, either version 2 of
! the License, or (at your option) any later version.
!
! This program is distributed in the hope that it will be useful
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
!
! You should have received a copy of the GNU General Public License
! along with ProviewR. If not, see <http://www.gnu.org/licenses/>
!
! Linking ProviewR statically or dynamically with other modules is
! making a combined work based on ProviewR. Thus, the terms and
! conditions of the GNU General Public License cover the whole
! combination.
!
! In addition, as a special exception, the copyright holders of
! ProviewR give you permission to, from the build function in the
! ProviewR Configurator, combine ProviewR with modules generated by the
! ProviewR PLC Editor to a PLC program, regardless of the license
! terms of these modules. You may copy and distribute the resulting
! combined work under the terms of your choice, provided that every
! copy of the combined work is accompanied by a complete copy of
! the source code of ProviewR (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_sevserver.wb_load -- Defines the class SevServer.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Group Servers,NodeConfiguration
! Configures the Sev server process.
!
! Configures the server process for historical data storage.
!
! This object is used when the server is started on a node with
! the runtime environment started.
! The the server can also be started without the runtime
! environment, but with the storage environment (Sev) installed.
! See the documentation for the storage environment on how to
! start the server in this case.
!
! @b See also
! @classlink SevHistThread pwrb_sevhistthread.html
! @classlink SevHistMonitor pwrb_sevhistmonitor.html
! @classlink SevHist pwrb_sevhist.html
! @classlink SevHistObject pwrb_sevhistobject.html
!*/
Object SevServer $ClassDef 535
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "SevServer"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Database type.
!*/
Object Database $Attribute 2
Body SysBody
Attr TypeRef = "pwrb:Type-SevDatabaseEnum"
EndBody
EndObject
!/**
! UseThreads.
!*/
Object UseServerThreads $Attribute 3
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Calculate mean value on all items.
!*/
Object MeanValueAll $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Use linear regression on all items with deadband.
!*/
Object LinearRegrAll $Attribute 5
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
!/**
! Max time without storage for items with deadband linear regression.
! If zero, time is infinite.
!*/
Object LinearRegrMaxTime $Attribute 6
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Interval for calcuation of mean value for items
! with the MeanValue1 bit set in options.
!*/
Object MeanValueInterval1 $Attribute 7
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Interval for calcuation of mean value for items
! with the MeanValue2 bit set in options.
!*/
Object MeanValueInterval2 $Attribute 8
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
!/**
! Max limit for thread queue size.
! If the queue limit is exceeded, messages are lost.
!*/
Object ThreadQueueLimit $Attribute 9
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Max limit for total queue size, ie the size of all thread queues.
! If the limit is exceeded, messages are lost.
!*/
Object TotalQueueLimit $Attribute 10
Body SysBody
Attr TypeRef = "pwrs:Type-$UInt32"
EndBody
EndObject
!/**
! Currently allocated size in all thread queues.
!*/
Object TotalQueueCnt $Attribute 11
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
Attr Flags |= PWR_MASK_NOEDIT
Attr Flags |= PWR_MASK_STATE
EndBody
EndObject
!/**
! Scan interval for garbage collector.
!*/
Object GarbageInterval $Attribute 14
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
!/**
! Statistics.
!*/
Object Stat $Attribute 12
Body SysBody
Attr TypeRef = "pwrb:Class-SevStatistics"
Attr Flags |= PWR_MASK_CLASS
EndBody
EndObject
!/**
! Server threads.
!*/
Object ServerThreads $Attribute 13
Body SysBody
Attr TypeRef = "pwrb:Class-SevServerThread"
Attr Flags |= PWR_MASK_CLASS
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 60
EndBody
EndObject
EndObject
Object Template SevServer
Body RtBody
Attr UseServerThreads = 1
Attr MeanValueInterval1 = 10
Attr MeanValueInterval2 = 30
Attr ThreadQueueLimit = 600000
Attr TotalQueueLimit = 6000000
Attr GarbageInterval = 120
EndBody
EndObject
EndObject
EndSObject
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment