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
54e0fbb7
Commit
54e0fbb7
authored
Nov 20, 2019
by
Claes Sjöfors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Block object attributes classes added
parent
8c167739
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
334 additions
and
0 deletions
+334
-0
src/wbl/pwrb/src/pwrb_c_blockattrboolean.wb_load
src/wbl/pwrb/src/pwrb_c_blockattrboolean.wb_load
+78
-0
src/wbl/pwrb/src/pwrb_c_blockattrfloat32.wb_load
src/wbl/pwrb/src/pwrb_c_blockattrfloat32.wb_load
+78
-0
src/wbl/pwrb/src/pwrb_c_blockattrint32.wb_load
src/wbl/pwrb/src/pwrb_c_blockattrint32.wb_load
+78
-0
src/wbl/pwrb/src/pwrb_c_blockattrstring.wb_load
src/wbl/pwrb/src/pwrb_c_blockattrstring.wb_load
+78
-0
src/wbl/pwrs/src/pwrs_c_block.wb_load
src/wbl/pwrs/src/pwrs_c_block.wb_load
+9
-0
src/wbl/pwrs/src/pwrs_c_blockattribute.wb_load
src/wbl/pwrs/src/pwrs_c_blockattribute.wb_load
+8
-0
src/wbl/pwrs/src/pwrs_c_subblock.wb_load
src/wbl/pwrs/src/pwrs_c_subblock.wb_load
+5
-0
No files found.
src/wbl/pwrb/src/pwrb_c_blockattrboolean.wb_load
0 → 100644
View file @
54e0fbb7
!
! 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_blockattrboolean.wb_load -- Defines the class BlockAttrBoolean.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Summary Boolean block attribute.
! Configuration of a block attribute of type boolean.
!
! @b See also
! @classlink BlockAttribute pwrs_blockattribute.html
!*/
Object BlockAttrBoolean $ClassDef 715
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "BlockAttrBoolean"
EndBody
!/**
! Superclass
!*/
Object Super $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Class-$BlockAttribute"
Attr Flags |= PWR_MASK_CLASS
Attr Flags |= PWR_MASK_SUPERCLASS
EndBody
EndObject
!/**
! Attribute value.
!*/
Object Value $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Boolean"
EndBody
EndObject
EndObject
Object Template BlockAttrBoolean
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_blockattrfloat32.wb_load
0 → 100644
View file @
54e0fbb7
!
! 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_blockattrfloat32.wb_load -- Defines the class BlockAttrFloat32.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Summary Float32 block attribute.
! Configuration of a block attribute of type Float32.
!
! @b See also
! @classlink BlockAttribute pwrs_blockattribute.html
!*/
Object BlockAttrFloat32 $ClassDef 716
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "BlockAttrFloat32"
EndBody
!/**
! Superclass
!*/
Object Super $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Class-$BlockAttribute"
Attr Flags |= PWR_MASK_CLASS
Attr Flags |= PWR_MASK_SUPERCLASS
EndBody
EndObject
!/**
! Attribute value.
!*/
Object Value $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Float32"
EndBody
EndObject
EndObject
Object Template BlockAttrFloat32
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_blockattrint32.wb_load
0 → 100644
View file @
54e0fbb7
!
! 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_blockattrint32.wb_load -- Defines the class BlockAttrInt32.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Summary Int32 block attribute.
! Configuration of a block attribute of type Int32.
!
! @b See also
! @classlink BlockAttribute pwrs_blockattribute.html
!*/
Object BlockAttrInt32 $ClassDef 717
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "BlockAttrInt32"
EndBody
!/**
! Superclass
!*/
Object Super $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Class-$BlockAttribute"
Attr Flags |= PWR_MASK_CLASS
Attr Flags |= PWR_MASK_SUPERCLASS
EndBody
EndObject
!/**
! Attribute value.
!*/
Object Value $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$Int32"
EndBody
EndObject
EndObject
Object Template BlockAttrInt32
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_blockattrstring.wb_load
0 → 100644
View file @
54e0fbb7
!
! 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_blockattrstring.wb_load -- Defines the class BlockAttrString.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Summary String block attribute.
! Configuration of a block attribute of type String80.
!
! @b See also
! @classlink BlockAttribute pwrs_blockattribute.html
!*/
Object BlockAttrString $ClassDef 718
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "BlockAttrString"
EndBody
!/**
! Superclass
!*/
Object Super $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Class-$BlockAttribute"
Attr Flags |= PWR_MASK_CLASS
Attr Flags |= PWR_MASK_SUPERCLASS
EndBody
EndObject
!/**
! Attribute value.
!*/
Object Value $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
EndObject
Object Template BlockAttrString
EndObject
EndObject
EndSObject
src/wbl/pwrs/src/pwrs_c_block.wb_load
View file @
54e0fbb7
...
...
@@ -40,6 +40,15 @@ SObject pwrs:Class
! @Group ClassDefinition
! Definition a block.
!
! A block a kind of object without a class. It's built by a set of objects
! with $Block, $SubBlock and subclasses of $BlockAttribute, and presented
! at runtime in shape of an object.
!
! $Block is the root of a block object.
!
! @b See also
! @classlink $SubBlock pwrs_subblock.html
! @classlink $BlockAttribute pwrs_blockattribute.html
!*/
!
Object $Block $ClassDef pwr_eCix_Block
...
...
src/wbl/pwrs/src/pwrs_c_blockattribute.wb_load
View file @
54e0fbb7
...
...
@@ -39,6 +39,14 @@ SObject pwrs:Class
!/**
! @Group ClassDefinition
! Definition of a block attribute.
!
! $BlockAttribute is a superclass for objects that defines attributes
! in block objects. The subclass should contain a Value attribute
! that keeps the block attribute value.
!
! @b See also
! @classlink $Block pwrs_block.html
! @classlink $SubBlock pwrs_subblock.html
!*/
!
Object $BlockAttribute $ClassDef pwr_eCix_BlockAttribute
...
...
src/wbl/pwrs/src/pwrs_c_subblock.wb_load
View file @
54e0fbb7
...
...
@@ -40,6 +40,11 @@ SObject pwrs:Class
! @Group ClassDefinition
! Definition a subblock.
!
! $SubBlock is the root of a block element in a block object.
!
! @b See also
! @classlink $Block pwrs_block.html
! @classlink $BlockAttribute pwrs_blockattribute.html
!*/
!
Object $SubBlock $ClassDef pwr_eCix_SubBlock
...
...
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