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
b3c63919
Commit
b3c63919
authored
Mar 27, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
61abe767
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1379 additions
and
338 deletions
+1379
-338
opc/exe/opc_provider/src/opc_provider.cpp
opc/exe/opc_provider/src/opc_provider.cpp
+350
-259
opc/exe/opc_provider/src/opc_provider.h
opc/exe/opc_provider/src/opc_provider.h
+11
-4
opc/exe/opc_server/src/opc_server.cpp
opc/exe/opc_server/src/opc_server.cpp
+162
-69
opc/lib/opc/src/opc_msg.h
opc/lib/opc/src/opc_msg.h
+6
-0
opc/lib/opc/src/opc_utl.h
opc/lib/opc/src/opc_utl.h
+2
-1
opc/wbl/mcomp/src/opc.wb_load
opc/wbl/mcomp/src/opc.wb_load
+848
-5
No files found.
opc/exe/opc_provider/src/opc_provider.cpp
View file @
b3c63919
This diff is collapsed.
Click to expand it.
opc/exe/opc_provider/src/opc_provider.h
View file @
b3c63919
/*
* Proview $Id: opc_provider.h,v 1.
8 2007-03-23 08:19:45
claes Exp $
* Proview $Id: opc_provider.h,v 1.
9 2007-03-27 08:37:50
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -56,9 +56,14 @@ class opcprv_sub {
class
opc_provider
:
public
co_provider
{
public:
opc_provider
(
pvd_eEnv
env
=
pvd_eEnv_Wb
)
:
co_provider
(
env
),
root
(
0
),
next_oix
(
1
)
{
opc_provider
(
pvd_eEnv
env
=
pvd_eEnv_Wb
)
:
co_provider
(
env
),
root
(
0
),
next_oix
(
1
),
server_state
(
0
)
{
memset
(
&
server_state
,
0
,
sizeof
(
server_state
));
}
~
opc_provider
()
{
for
(
int
i
=
0
;
i
<
(
int
)
m_list
.
size
();
i
++
)
delete
m_list
[
i
];
}
virtual
void
object
(
co_procom
*
pcom
);
virtual
void
objectOid
(
co_procom
*
pcom
,
pwr_tOix
oix
);
virtual
void
objectName
(
co_procom
*
pcom
,
char
*
name
,
pwr_tOix
poix
);
...
...
@@ -97,13 +102,15 @@ public:
void
get_server_state
();
char
*
opc_provider
::
name_to_objectname
(
char
*
name
);
void
errlog
(
std
::
string
*
item
,
std
::
vector
<
s0__OPCError
*>&
errvect
);
void
init
();
void
fault
();
vector
<
opcprv_obj
>
m_list
;
vector
<
opcprv_obj
*
>
m_list
;
map
<
pwr_tUInt32
,
opcprv_sub
>
m_sublist
;
pwr_tOix
root
;
pwr_tOix
next_oix
;
struct
soap
soap
;
pwr_sClass_Opc_ServerState
server_state
;
pwr_sClass_Opc_ServerState
*
server_state
;
};
#endif
opc/exe/opc_server/src/opc_server.cpp
View file @
b3c63919
This diff is collapsed.
Click to expand it.
opc/lib/opc/src/opc_msg.h
View file @
b3c63919
...
...
@@ -98,6 +98,12 @@ class xsd__dateTime : public xsd__anyType
std
::
string
__item
;
};
/// Class wrapper for built-in type "xs:duration" derived from xsd__anyType
class
xsd__duration
:
public
xsd__anyType
{
public
:
std
::
string
__item
;
};
/// Primitive built-in type "xs:decimal"
typedef
std
::
string
xsd__decimal
;
...
...
opc/lib/opc/src/opc_utl.h
View file @
b3c63919
/*
* Proview $Id: opc_utl.h,v 1.1
3 2007-03-23 08:19:45
claes Exp $
* Proview $Id: opc_utl.h,v 1.1
4 2007-03-27 08:37:50
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -79,6 +79,7 @@ typedef enum {
}
opc_eDataType
;
typedef
enum
{
opc_eResultCode_S_
,
opc_eResultCode_S_CLAMP
,
opc_eResultCode_S_DATAQUEUEOVERFLOW
,
opc_eResultCode_S_UNSUPPORTEDRATE
,
...
...
opc/wbl/mcomp/src/opc.wb_load
View file @
b3c63919
This diff is collapsed.
Click to expand it.
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