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
b3fb2c15
Commit
b3fb2c15
authored
May 29, 2018
by
Marcus Nordenberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wb: Added IgnoreMissing parameter to Set Attribute command
parent
c3200ed1
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9056 additions
and
9043 deletions
+9056
-9043
wb/lib/wb/src/wb_utl.cpp
wb/lib/wb/src/wb_utl.cpp
+7822
-7812
wb/lib/wb/src/wb_utl_api.h
wb/lib/wb/src/wb_utl_api.h
+50
-49
wb/lib/wb/src/wb_wnav_command.cpp
wb/lib/wb/src/wb_wnav_command.cpp
+1184
-1182
No files found.
wb/lib/wb/src/wb_utl.cpp
View file @
b3fb2c15
This diff is collapsed.
Click to expand it.
wb/lib/wb/src/wb_utl_api.h
View file @
b3fb2c15
/*
/*
* ProviewR Open Source Process Control.
* ProviewR Open Source Process Control.
* Copyright (C) 2005-2018 SSAB EMEA AB.
* Copyright (C) 2005-2018 SSAB EMEA AB.
*
*
* This file is part of ProviewR.
* This file is part of ProviewR.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of
* published by the Free Software Foundation, either version 2 of
* the License, or (at your option) any later version.
* the License, or (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* GNU General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License
* You should have received a copy of the GNU General Public License
* along with ProviewR. If not, see <http://www.gnu.org/licenses/>
* along with ProviewR. If not, see <http://www.gnu.org/licenses/>
*
*
* Linking ProviewR statically or dynamically with other modules is
* Linking ProviewR statically or dynamically with other modules is
* making a combined work based on ProviewR. Thus, the terms and
* making a combined work based on ProviewR. Thus, the terms and
* conditions of the GNU General Public License cover the whole
* conditions of the GNU General Public License cover the whole
* combination.
* combination.
*
*
* In addition, as a special exception, the copyright holders of
* In addition, as a special exception, the copyright holders of
...
@@ -27,10 +27,10 @@
...
@@ -27,10 +27,10 @@
* ProviewR Configurator, combine ProviewR with modules generated by the
* ProviewR Configurator, combine ProviewR with modules generated by the
* ProviewR PLC Editor to a PLC program, regardless of the license
* ProviewR PLC Editor to a PLC program, regardless of the license
* terms of these modules. You may copy and distribute the resulting
* terms of these modules. You may copy and distribute the resulting
* combined work under the terms of your choice, provided that every
* combined work under the terms of your choice, provided that every
* copy of the combined work is accompanied by a complete copy of
* copy of the combined work is accompanied by a complete copy of
* the source code of ProviewR (the version used to produce the
* the source code of ProviewR (the version used to produce the
* combined work), being distributed under the terms of the GNU
* combined work), being distributed under the terms of the GNU
* General Public License plus this exception.
* General Public License plus this exception.
**/
**/
...
@@ -46,18 +46,18 @@ extern "C" {
...
@@ -46,18 +46,18 @@ extern "C" {
#endif
#endif
typedef
struct
utl_s_objidlist
{
typedef
struct
utl_s_objidlist
{
pwr_tObjid
objid
;
pwr_tObjid
objid
;
struct
utl_s_objidlist
*
next
;
struct
utl_s_objidlist
*
next
;
}
utl_t_objidlist
;
}
utl_t_objidlist
;
typedef
struct
{
typedef
struct
{
pwr_tString40
volume_name
;
pwr_tString40
volume_name
;
pwr_tVolumeId
volume_id
;
pwr_tVolumeId
volume_id
;
pwr_tString40
p1
;
pwr_tString40
p1
;
pwr_tString40
p2
;
pwr_tString40
p2
;
pwr_tString40
p3
;
pwr_tString40
p3
;
pwr_tString40
p4
;
pwr_tString40
p4
;
}
utl_t_volumelist
;
}
utl_t_volumelist
;
void
utl_objidlist_free
(
void
utl_objidlist_free
(
...
@@ -73,7 +73,7 @@ int utl_objidlist_insert (
...
@@ -73,7 +73,7 @@ int utl_objidlist_insert (
void
*
dum3
void
*
dum3
);
);
int
utl_toupper
(
int
utl_toupper
(
char
*
str_upper
,
char
*
str_upper
,
char
*
str
char
*
str
);
);
...
@@ -132,7 +132,7 @@ int utl_show_object (
...
@@ -132,7 +132,7 @@ int utl_show_object (
char
*
filename
char
*
filename
);
);
int
utl_set_object_parameter
(
int
utl_set_object_parameter
(
ldh_tSesContext
ldhses
,
ldh_tSesContext
ldhses
,
char
*
hiername
,
char
*
hiername
,
char
*
classname
,
char
*
classname
,
...
@@ -142,7 +142,8 @@ int utl_set_object_parameter (
...
@@ -142,7 +142,8 @@ int utl_set_object_parameter (
int
terminal
,
int
terminal
,
const
char
*
filename
,
const
char
*
filename
,
int
confirm
,
int
confirm
,
int
log
int
log
,
int
ignore_missing
=
0
);
);
int
utl_show_obj_hier_class_name
(
int
utl_show_obj_hier_class_name
(
...
@@ -182,13 +183,13 @@ int utl_show_connection (
...
@@ -182,13 +183,13 @@ int utl_show_connection (
char
*
filename
char
*
filename
);
);
int
utl_link
(
int
utl_link
(
ldh_tSesContext
ldhses
,
ldh_tSesContext
ldhses
,
char
*
nodename
,
char
*
nodename
,
int
debug
int
debug
);
);
int
utl_compile
(
int
utl_compile
(
ldh_tSesContext
ldhses
,
ldh_tSesContext
ldhses
,
ldh_tWBContext
ldhwb
,
ldh_tWBContext
ldhwb
,
char
*
plcname
,
char
*
plcname
,
...
@@ -201,14 +202,14 @@ int utl_compile (
...
@@ -201,14 +202,14 @@ int utl_compile (
char
*
volumes
char
*
volumes
);
);
int
utl_crossref_object
(
int
utl_crossref_object
(
ldh_tSesContext
ldhses
,
ldh_tSesContext
ldhses
,
char
*
objectname
,
char
*
objectname
,
int
terminal
,
int
terminal
,
char
*
filename
char
*
filename
);
);
int
utl_crossref_hier_class_name
(
int
utl_crossref_hier_class_name
(
ldh_tSesContext
ldhses
,
ldh_tSesContext
ldhses
,
char
*
hiername
,
char
*
hiername
,
char
*
classname
,
char
*
classname
,
...
@@ -303,7 +304,7 @@ int utl_create_object (
...
@@ -303,7 +304,7 @@ int utl_create_object (
int
before
int
before
);
);
int
utl_move_object
(
int
utl_move_object
(
ldh_tSesContext
ldhses
,
ldh_tSesContext
ldhses
,
char
*
source_name
,
char
*
source_name
,
char
*
destination_name
,
char
*
destination_name
,
...
@@ -314,7 +315,7 @@ int utl_move_object (
...
@@ -314,7 +315,7 @@ int utl_move_object (
int
before
int
before
);
);
int
utl_copy_objects
(
int
utl_copy_objects
(
ldh_tSesContext
ldhses
,
ldh_tSesContext
ldhses
,
char
*
source_name
,
char
*
source_name
,
char
*
destination_name
,
char
*
destination_name
,
...
@@ -332,7 +333,7 @@ int utl_move_window (
...
@@ -332,7 +333,7 @@ int utl_move_window (
char
*
destination_name
char
*
destination_name
);
);
int
utl_connect
(
int
utl_connect
(
ldh_tSesContext
ldhses
,
ldh_tSesContext
ldhses
,
char
*
object_name
,
char
*
object_name
,
char
*
connect_name
,
char
*
connect_name
,
...
@@ -368,7 +369,7 @@ int utl_delete_volume (
...
@@ -368,7 +369,7 @@ int utl_delete_volume (
int
log
int
log
);
);
int
utl_export_object
(
int
utl_export_object
(
ldh_tSesContext
ldhses
,
ldh_tSesContext
ldhses
,
char
*
name
,
char
*
name
,
char
*
prefix
,
char
*
prefix
,
...
@@ -378,10 +379,10 @@ int utl_export_object (
...
@@ -378,10 +379,10 @@ int utl_export_object (
int
append
int
append
);
);
int
utl_realloc_s
(
int
utl_realloc_s
(
char
**
list_ptr
,
char
**
list_ptr
,
int
count
,
int
count
,
int
size
,
int
size
,
int
*
alloc
int
*
alloc
);
);
...
@@ -402,8 +403,8 @@ int utl_create_bootfile (
...
@@ -402,8 +403,8 @@ int utl_create_bootfile (
);
);
int
utl_set_template
(
int
utl_set_template
(
ldh_tSesContext
ldhses
,
ldh_tSesContext
ldhses
,
int
signalobjectsegments
,
int
signalobjectsegments
,
int
showsigchancon
,
int
showsigchancon
,
int
sigchanconsegments
,
int
sigchanconsegments
,
...
@@ -427,23 +428,23 @@ pwr_tStatus utl_get_module_time (
...
@@ -427,23 +428,23 @@ pwr_tStatus utl_get_module_time (
);
);
pwr_tStatus
utl_read_line
(
char
*
line
,
pwr_tStatus
utl_read_line
(
char
*
line
,
int
maxsize
,
int
maxsize
,
FILE
*
file
,
FILE
*
file
,
int
*
line_count
);
int
*
line_count
);
pwr_tStatus
utl_create_volume
(
pwr_tStatus
utl_create_volume
(
ldh_tWBContext
ldhwb
,
ldh_tWBContext
ldhwb
,
char
*
volumename
,
char
*
volumename
,
char
*
volumeclass_str
,
char
*
volumeclass_str
,
char
*
volumeid_str
);
char
*
volumeid_str
);
pwr_tStatus
utl_show_volumes
(
pwr_tStatus
utl_show_volumes
(
ldh_tSesContext
ldhses
,
ldh_tSesContext
ldhses
,
int
allvolumes
int
allvolumes
);
);
int
utl_revert
(
int
utl_revert
(
ldh_tSesContext
ldhses
,
ldh_tSesContext
ldhses
,
int
confirm
int
confirm
);
);
...
...
wb/lib/wb/src/wb_wnav_command.cpp
View file @
b3fb2c15
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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