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.
* Copyright (C) 2005-2018 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
* 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
* 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
* 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
* conditions of the GNU General Public License cover the whole
* combination.
*
* In addition, as a special exception, the copyright holders of
...
...
@@ -27,10 +27,10 @@
* 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
* 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
* combined work), being distributed under the terms of the GNU
* General Public License plus this exception.
**/
...
...
@@ -46,18 +46,18 @@ extern "C" {
#endif
typedef
struct
utl_s_objidlist
{
pwr_tObjid
objid
;
struct
utl_s_objidlist
*
next
;
}
utl_t_objidlist
;
pwr_tObjid
objid
;
struct
utl_s_objidlist
*
next
;
}
utl_t_objidlist
;
typedef
struct
{
pwr_tString40
volume_name
;
pwr_tVolumeId
volume_id
;
pwr_tString40
p1
;
pwr_tString40
p2
;
pwr_tString40
p3
;
pwr_tString40
p4
;
}
utl_t_volumelist
;
pwr_tString40
volume_name
;
pwr_tVolumeId
volume_id
;
pwr_tString40
p1
;
pwr_tString40
p2
;
pwr_tString40
p3
;
pwr_tString40
p4
;
}
utl_t_volumelist
;
void
utl_objidlist_free
(
...
...
@@ -73,7 +73,7 @@ int utl_objidlist_insert (
void
*
dum3
);
int
utl_toupper
(
int
utl_toupper
(
char
*
str_upper
,
char
*
str
);
...
...
@@ -132,7 +132,7 @@ int utl_show_object (
char
*
filename
);
int
utl_set_object_parameter
(
int
utl_set_object_parameter
(
ldh_tSesContext
ldhses
,
char
*
hiername
,
char
*
classname
,
...
...
@@ -142,7 +142,8 @@ int utl_set_object_parameter (
int
terminal
,
const
char
*
filename
,
int
confirm
,
int
log
int
log
,
int
ignore_missing
=
0
);
int
utl_show_obj_hier_class_name
(
...
...
@@ -182,13 +183,13 @@ int utl_show_connection (
char
*
filename
);
int
utl_link
(
int
utl_link
(
ldh_tSesContext
ldhses
,
char
*
nodename
,
int
debug
);
int
utl_compile
(
int
utl_compile
(
ldh_tSesContext
ldhses
,
ldh_tWBContext
ldhwb
,
char
*
plcname
,
...
...
@@ -201,14 +202,14 @@ int utl_compile (
char
*
volumes
);
int
utl_crossref_object
(
int
utl_crossref_object
(
ldh_tSesContext
ldhses
,
char
*
objectname
,
int
terminal
,
char
*
filename
);
int
utl_crossref_hier_class_name
(
int
utl_crossref_hier_class_name
(
ldh_tSesContext
ldhses
,
char
*
hiername
,
char
*
classname
,
...
...
@@ -303,7 +304,7 @@ int utl_create_object (
int
before
);
int
utl_move_object
(
int
utl_move_object
(
ldh_tSesContext
ldhses
,
char
*
source_name
,
char
*
destination_name
,
...
...
@@ -314,7 +315,7 @@ int utl_move_object (
int
before
);
int
utl_copy_objects
(
int
utl_copy_objects
(
ldh_tSesContext
ldhses
,
char
*
source_name
,
char
*
destination_name
,
...
...
@@ -332,7 +333,7 @@ int utl_move_window (
char
*
destination_name
);
int
utl_connect
(
int
utl_connect
(
ldh_tSesContext
ldhses
,
char
*
object_name
,
char
*
connect_name
,
...
...
@@ -368,7 +369,7 @@ int utl_delete_volume (
int
log
);
int
utl_export_object
(
int
utl_export_object
(
ldh_tSesContext
ldhses
,
char
*
name
,
char
*
prefix
,
...
...
@@ -378,10 +379,10 @@ int utl_export_object (
int
append
);
int
utl_realloc_s
(
char
**
list_ptr
,
int
count
,
int
size
,
int
utl_realloc_s
(
char
**
list_ptr
,
int
count
,
int
size
,
int
*
alloc
);
...
...
@@ -402,8 +403,8 @@ int utl_create_bootfile (
);
int
utl_set_template
(
ldh_tSesContext
ldhses
,
int
utl_set_template
(
ldh_tSesContext
ldhses
,
int
signalobjectsegments
,
int
showsigchancon
,
int
sigchanconsegments
,
...
...
@@ -427,23 +428,23 @@ pwr_tStatus utl_get_module_time (
);
pwr_tStatus
utl_read_line
(
char
*
line
,
int
maxsize
,
FILE
*
file
,
int
*
line_count
);
int
maxsize
,
FILE
*
file
,
int
*
line_count
);
pwr_tStatus
utl_create_volume
(
ldh_tWBContext
ldhwb
,
char
*
volumename
,
char
*
volumeclass_str
,
char
*
volumeid_str
);
pwr_tStatus
utl_create_volume
(
ldh_tWBContext
ldhwb
,
char
*
volumename
,
char
*
volumeclass_str
,
char
*
volumeid_str
);
pwr_tStatus
utl_show_volumes
(
pwr_tStatus
utl_show_volumes
(
ldh_tSesContext
ldhses
,
int
allvolumes
);
int
utl_revert
(
int
utl_revert
(
ldh_tSesContext
ldhses
,
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