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
6a813866
Commit
6a813866
authored
Mar 08, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
4fc9d620
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
441 additions
and
2 deletions
+441
-2
opc/lib/opc/src/opc_utl.cpp
opc/lib/opc/src/opc_utl.cpp
+414
-1
opc/lib/opc/src/opc_utl.h
opc/lib/opc/src/opc_utl.h
+27
-1
No files found.
opc/lib/opc/src/opc_utl.cpp
View file @
6a813866
This diff is collapsed.
Click to expand it.
opc/lib/opc/src/opc_utl.h
View file @
6a813866
/*
* Proview $Id: opc_utl.h,v 1.
3 2007-03-08 07:26:29
claes Exp $
* Proview $Id: opc_utl.h,v 1.
4 2007-03-08 08:10:03
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -44,6 +44,32 @@ typedef enum {
opc_mProperty_TimeZone
=
1
<<
16
}
opc_mProperty
;
typedef
enum
{
opc_mDataType_string
,
opc_mDataType_boolean
,
opc_mDataType_float
,
opc_mDataType_double
,
opc_mDataType_decimal
,
opc_mDataType_long
,
opc_mDataType_int
,
opc_mDataType_short
,
opc_mDataType_byte
,
opc_mDataType_unsignedLong
,
opc_mDataType_unsignedInt
,
opc_mDataType_unsignedShort
,
opc_mDataType_unsignedByte
,
opc_mDataType_base64Binary
,
opc_mDataType_dateTime
,
opc_mDataType_time
,
opc_mDataType_date
,
opc_mDataType_duration
,
opc_mDataType_QName
,
opc_mDataType_anyType
}
opc_mDataType
;
pwr_tStatus
time_AtoOPCAscii
(
pwr_tTime
*
tp
,
char
*
buf
,
int
bufsize
);
bool
opc_string_to_opctype
(
char
*
str
,
int
*
type
);
bool
opc_type_to_pwrtype
(
int
type
,
int
*
pwrtype
);
bool
opc_pwrtype_to_string
(
int
type
,
char
**
str
);
bool
opc_get_property
(
std
::
vector
<
ns1__ItemProperty
*>
properties
,
unsigned
int
mask
,
...
...
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