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
6e68bad6
Commit
6e68bad6
authored
Jan 02, 2012
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Alarm list, classes for alarm views added
parent
1e70d5dd
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
275 additions
and
0 deletions
+275
-0
src/wbl/pwrb/src/pwrb_c_alarmcategory.wb_load
src/wbl/pwrb/src/pwrb_c_alarmcategory.wb_load
+95
-0
src/wbl/pwrb/src/pwrb_c_alarmview.wb_load
src/wbl/pwrb/src/pwrb_c_alarmview.wb_load
+74
-0
src/wbl/pwrb/src/pwrb_c_opplace.wb_load
src/wbl/pwrb/src/pwrb_c_opplace.wb_load
+10
-0
src/wbl/pwrb/src/pwrb_td_eventpriomask.wb_load
src/wbl/pwrb/src/pwrb_td_eventpriomask.wb_load
+96
-0
No files found.
src/wbl/pwrb/src/pwrb_c_alarmcategory.wb_load
0 → 100644
View file @
6e68bad6
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2011 SSAB Oxelosund AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. 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
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview 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 Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_alarmcategory.wb_load -- Defines the class AlarmCategory.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Group Operator,NodeConfiguration
! @Summary Configuration of an alarm category.
! Configuration of an alarm category.
!*/
Object AlarmCategory $ClassDef 553
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "AlarmCategory"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Alarm category text.
!*/
Object Text $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
EndBody
EndObject
!/**
! Event priority.
!*/
Object EventPriority $Attribute 3
Body SysBody
Attr TypeRef = "pwrb:Type-EventPrioMask"
EndBody
EndObject
!/**
! Members.
!*/
Object Members $Attribute 4
Body SysBody
Attr TypeRef = "pwrs:Type-$AttrRef"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 100
EndBody
EndObject
EndObject
Object Template AlarmCategory
Body RtBody
Attr EventPriority = 15
EndBody
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_alarmview.wb_load
0 → 100644
View file @
6e68bad6
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2011 SSAB Oxelosund AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. 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
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview 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 Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_c_alarmview.wb_load -- Defines the class AlarmView.
!
SObject pwrb:Class
!/**
! @Version 1.0
! @Group Operator,NodeConfiguration
! @Summary Configuration of Alarm View.
! Configuration of Alarm View.
!*/
Object AlarmView $ClassDef 552
Body SysBody
Attr Editor = pwr_eEditor_AttrEd
Attr Method = pwr_eMethod_Standard
EndBody
Object RtBody $ObjBodyDef 1
Body SysBody
Attr StructName = "AlarmView"
EndBody
!/**
! Optional description.
!*/
Object Description $Attribute 1
Body SysBody
Attr TypeRef = "pwrs:Type-$String80"
EndBody
EndObject
!/**
! Alarm view name.
!*/
Object Name $Attribute 2
Body SysBody
Attr TypeRef = "pwrs:Type-$String32"
EndBody
EndObject
EndObject
Object Template AlarmView
EndObject
EndObject
EndSObject
src/wbl/pwrb/src/pwrb_c_opplace.wb_load
View file @
6e68bad6
...
...
@@ -281,6 +281,16 @@ SObject pwrb:Class
EndBody
EndObject
!/**
! Specifies views in the alarm list.
!*/
Object AlarmViews $Attribute 46
Body SysBody
Attr TypeRef = "pwrs:Type-$Objid"
Attr Flags |= PWR_MASK_ARRAY
Attr Elements = 25
EndBody
EndObject
!/**
! Setup script file.
! The default script file is xtt_setup.rtt_com on the
! login directory for the user. If another scriptfile
...
...
src/wbl/pwrb/src/pwrb_td_eventpriomask.wb_load
0 → 100644
View file @
6e68bad6
!
! Proview Open Source Process Control.
! Copyright (C) 2005-2011 SSAB Oxelosund AB.
!
! This file is part of Proview.
!
! 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 Proview. If not, see <http://www.gnu.org/licenses/>
!
! Linking Proview statically or dynamically with other modules is
! making a combined work based on Proview. 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
! Proview give you permission to, from the build function in the
! Proview Configurator, combine Proview with modules generated by the
! Proview 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 Proview (the version used to produce the
! combined work), being distributed under the terms of the GNU
! General Public License plus this exception.
!
! pwrb_eventpriomask.wb_load -- Defines the mask type EventPrioMask
!
SObject pwrb:Type
!/**
! @Version 1.0
! @Group Types
! Bitmask for event priority.
!*/
Object EventPrioMask $TypeDef 62
Body SysBody
Attr Type = pwr_eType_Mask
Attr Size = 4
Attr TypeRef = "pwrs:Type-$Mask"
Attr Elements = 1
EndBody
!/**
! A priority.
!*/
Object A $Bit
Body SysBody
Attr PgmName = "A"
Attr Text = "A"
Attr Value = 1
EndBody
EndObject
!/**
! B priority.
!*/
Object B $Bit
Body SysBody
Attr PgmName = "B"
Attr Text = "B"
Attr Value = 2
EndBody
EndObject
!/**
! C priority.
!*/
Object C $Bit
Body SysBody
Attr PgmName = "C"
Attr Text = "C"
Attr Value = 4
EndBody
EndObject
!/**
! D priority.
!*/
Object D $Bit
Body SysBody
Attr PgmName = "D"
Attr Text = "D"
Attr Value = 8
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