Commit 310c85e3 authored by claes's avatar claes

*** empty log message ***

parent df1bef6b
/* /*
* Proview $Id: opc_utl.cpp,v 1.8 2007-03-14 08:02:54 claes Exp $ * Proview $Id: opc_utl.cpp,v 1.9 2007-03-14 10:19:35 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
...@@ -24,26 +24,26 @@ ...@@ -24,26 +24,26 @@
#include "opc_utl.h" #include "opc_utl.h"
#include "opc_soap_Stub.h" #include "opc_soap_Stub.h"
static pwr_tString16 str_dt[20] = {"string" , static pwr_tString32 str_dt[20] = {"xsd:string" ,
"boolean" , "xsd:boolean" ,
"float" , "xsd:float" ,
"double" , "xsd:double" ,
"decimal" , "xsd:decimal" ,
"long" , "xsd:long" ,
"int" , "xsd:int" ,
"short" , "xsd:short" ,
"byte" , "xsd:byte" ,
"unsignedLong" , "xsd:unsignedLong" ,
"unsignedInt" , "xsd:unsignedInt" ,
"unsignedShort" , "xsd:unsignedShort" ,
"unsignedByte" , "xsd:unsignedByte" ,
"base64Binary" , "xsd:base64Binary" ,
"dateTime" , "xsd:dateTime" ,
"time" , "xsd:time" ,
"date" , "xsd:date" ,
"duration" , "xsd:duration" ,
"QName" , "xsd:QName" ,
"anyType" }; "xsd:anyType" };
static char opc_PropertyNames[17][20] = {"dataType", static char opc_PropertyNames[17][20] = {"dataType",
"value", "value",
...@@ -63,29 +63,29 @@ static char opc_PropertyNames[17][20] = {"dataType", ...@@ -63,29 +63,29 @@ static char opc_PropertyNames[17][20] = {"dataType",
"openLabel", "openLabel",
"timeZone"}; "timeZone"};
static char opc_ResultCodes[23][30] = {"s:S_CLAMP", static char opc_ResultCodes[23][32] = {"xsd:S_CLAMP",
"s:S_DATAQUEUEOVERFLOW", "xsd:S_DATAQUEUEOVERFLOW",
"s:S_UNSUPPORTEDRATE", "xsd:S_UNSUPPORTEDRATE",
"s:E_ACCESS_DENIED", "xsd:E_ACCESS_DENIED",
"s:E_BUSY", "xsd:E_BUSY",
"s:E_FAIL", "xsd:E_FAIL",
"s:E_INVALIDCONTINUATIONPOINT", "xsd:E_INVALIDCONTINUATIONPOINT",
"s:E_INVALIDFILTER", "xsd:E_INVALIDFILTER",
"s:E_INVALIDHOLDTIME", "xsd:E_INVALIDHOLDTIME",
"s:E_INVALIDITEMNAME", "xsd:E_INVALIDITEMNAME",
"s:E_INVALIDITEMPATH", "xsd:E_INVALIDITEMPATH",
"s:E_INVALIDPID", "xsd:E_INVALIDPID",
"s:E_NOSUBSCRIPTION", "xsd:E_NOSUBSCRIPTION",
"s:E_NOTSUPPORTED", "xsd:E_NOTSUPPORTED",
"s:E_OUTOFMEMORY", "xsd:E_OUTOFMEMORY",
"s:E_RANGE", "xsd:E_RANGE",
"s:E_READONLY", "xsd:E_READONLY",
"s:E_SERVERSTATE", "xsd:E_SERVERSTATE",
"s:E_TIMEDOUT", "xsd:E_TIMEDOUT",
"s:E_UNKNOWNITEMNAME", "xsd:E_UNKNOWNITEMNAME",
"s:E_UNKNOWNITEMPATH", "xsd:E_UNKNOWNITEMPATH",
"s:E_WRITEONLY", "xsd:E_WRITEONLY",
"s:E_BADTYPE"}; "xsd:E_BADTYPE"};
static char opc_ResultTexts[23][20] = {"edgar o was here", static char opc_ResultTexts[23][20] = {"edgar o was here",
"edgar o was here", "edgar o was here",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment