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
75acb264
Commit
75acb264
authored
Apr 25, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Int32 and UInt32 added
parent
19278cb7
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
184 additions
and
48 deletions
+184
-48
opc/exe/opc_provider/src/opc_provider.cpp
opc/exe/opc_provider/src/opc_provider.cpp
+7
-7
opc/lib/opc/src/opc_utl.cpp
opc/lib/opc/src/opc_utl.cpp
+171
-35
opc/wbl/mcomp/src/opc.wb_load
opc/wbl/mcomp/src/opc.wb_load
+6
-6
No files found.
opc/exe/opc_provider/src/opc_provider.cpp
View file @
75acb264
/*
/*
* Proview $Id: opc_provider.cpp,v 1.1
1 2007-04-25 07:17:55
claes Exp $
* Proview $Id: opc_provider.cpp,v 1.1
2 2007-04-25 13:42:17
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -152,8 +152,8 @@ void opc_provider::insert_object( pwr_tOix fth, pwr_tOix bws, s0__BrowseElement
...
@@ -152,8 +152,8 @@ void opc_provider::insert_object( pwr_tOix fth, pwr_tOix bws, s0__BrowseElement
o
->
po
.
cid
=
pwr_cClass_Opc_Long
;
o
->
po
.
cid
=
pwr_cClass_Opc_Long
;
o
->
po
.
body_size
=
sizeof
(
pwr_sClass_Opc_Long
);
o
->
po
.
body_size
=
sizeof
(
pwr_sClass_Opc_Long
);
o
->
po
.
body
=
calloc
(
1
,
o
->
po
.
body_size
);
o
->
po
.
body
=
calloc
(
1
,
o
->
po
.
body_size
);
o
->
type
=
pwr_eType_Int
32
;
o
->
type
=
pwr_eType_Int
64
;
o
->
size
=
sizeof
(
pwr_tInt
32
);
o
->
size
=
sizeof
(
pwr_tInt
64
);
((
pwr_sClass_Opc_Long
*
)
o
->
po
.
body
)
->
HighEU
=
100
;
((
pwr_sClass_Opc_Long
*
)
o
->
po
.
body
)
->
HighEU
=
100
;
break
;
break
;
case
opc_eDataType_int
:
case
opc_eDataType_int
:
...
@@ -184,8 +184,8 @@ void opc_provider::insert_object( pwr_tOix fth, pwr_tOix bws, s0__BrowseElement
...
@@ -184,8 +184,8 @@ void opc_provider::insert_object( pwr_tOix fth, pwr_tOix bws, s0__BrowseElement
o
->
po
.
cid
=
pwr_cClass_Opc_UnsignedLong
;
o
->
po
.
cid
=
pwr_cClass_Opc_UnsignedLong
;
o
->
po
.
body_size
=
sizeof
(
pwr_sClass_Opc_UnsignedLong
);
o
->
po
.
body_size
=
sizeof
(
pwr_sClass_Opc_UnsignedLong
);
o
->
po
.
body
=
calloc
(
1
,
o
->
po
.
body_size
);
o
->
po
.
body
=
calloc
(
1
,
o
->
po
.
body_size
);
o
->
type
=
pwr_eType_UInt
32
;
o
->
type
=
pwr_eType_UInt
64
;
o
->
size
=
sizeof
(
pwr_tUInt
32
);
o
->
size
=
sizeof
(
pwr_tUInt
64
);
((
pwr_sClass_Opc_UnsignedLong
*
)
o
->
po
.
body
)
->
HighEU
=
100
;
((
pwr_sClass_Opc_UnsignedLong
*
)
o
->
po
.
body
)
->
HighEU
=
100
;
break
;
break
;
case
opc_eDataType_unsignedInt
:
case
opc_eDataType_unsignedInt
:
...
@@ -216,8 +216,8 @@ void opc_provider::insert_object( pwr_tOix fth, pwr_tOix bws, s0__BrowseElement
...
@@ -216,8 +216,8 @@ void opc_provider::insert_object( pwr_tOix fth, pwr_tOix bws, s0__BrowseElement
o
->
po
.
cid
=
pwr_cClass_Opc_Base64Binary
;
o
->
po
.
cid
=
pwr_cClass_Opc_Base64Binary
;
o
->
po
.
body_size
=
sizeof
(
pwr_sClass_Opc_Base64Binary
);
o
->
po
.
body_size
=
sizeof
(
pwr_sClass_Opc_Base64Binary
);
o
->
po
.
body
=
calloc
(
1
,
o
->
po
.
body_size
);
o
->
po
.
body
=
calloc
(
1
,
o
->
po
.
body_size
);
o
->
type
=
pwr_eType_UInt
32
;
o
->
type
=
pwr_eType_UInt
64
;
o
->
size
=
2
*
sizeof
(
pwr_tUInt32
);
o
->
size
=
sizeof
(
pwr_tUInt64
);
break
;
break
;
case
opc_eDataType_dateTime
:
case
opc_eDataType_dateTime
:
o
->
po
.
cid
=
pwr_cClass_Opc_DateTime
;
o
->
po
.
cid
=
pwr_cClass_Opc_DateTime
;
...
...
opc/lib/opc/src/opc_utl.cpp
View file @
75acb264
This diff is collapsed.
Click to expand it.
opc/wbl/mcomp/src/opc.wb_load
View file @
75acb264
...
@@ -794,12 +794,12 @@ Volume Opc $ClassVolume 0.0.250.9
...
@@ -794,12 +794,12 @@ Volume Opc $ClassVolume 0.0.250.9
EndBody
EndBody
EndObject
EndObject
!/**
!/**
! Item value
, presented as a pwr_tInt32
.
! Item value.
!*/
!*/
Object Value $Attribute 2 01-MAR-2007 16:50:27.91
Object Value $Attribute 2 01-MAR-2007 16:50:27.91
Body SysBody
01-MAR-2007 16:53:11.79
Body SysBody
25-APR-2007 11:32:18.97
Attr PgmName = "Value"
Attr PgmName = "Value"
Attr TypeRef = "pwrs:Type-$Int
32
"
Attr TypeRef = "pwrs:Type-$Int
64
"
EndBody
EndBody
EndObject
EndObject
!/**
!/**
...
@@ -1234,12 +1234,12 @@ Volume Opc $ClassVolume 0.0.250.9
...
@@ -1234,12 +1234,12 @@ Volume Opc $ClassVolume 0.0.250.9
EndBody
EndBody
EndObject
EndObject
!/**
!/**
! Item value
, presented as a pwr_tUInt32
.
! Item value.
!*/
!*/
Object Value $Attribute 2 01-MAR-2007 16:50:27.27
Object Value $Attribute 2 01-MAR-2007 16:50:27.27
Body SysBody
01-MAR-2007 16:55:57.73
Body SysBody
25-APR-2007 11:32:58.76
Attr PgmName = "Value"
Attr PgmName = "Value"
Attr TypeRef = "pwrs:Type-$UInt
32
"
Attr TypeRef = "pwrs:Type-$UInt
64
"
EndBody
EndBody
EndObject
EndObject
!/**
!/**
...
...
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