OpcUaCanOpen
CANopen OPC-UA server
CanOpenItem - Copy.h
Go to the documentation of this file.
1 #ifndef __CANOPENITEM_H__
2 #define __CANOPENITEM_H__
3 
4 #include <opcua_basedatavariabletype.h>
5 #include "CanBusAccess.h"
6 #include "uaobjecttypes.h"
7 #include "UserDeviceItem.h"
8 #include "CANOpenServerConfig.h"
10 
11 namespace CanOpen
12 {
17  using namespace UserDevice;
18 
19  static OpcUa_UInt32 InitTimeout = 10;
21  {
22  public:
23 
24  UserDeviceItem(UserDataBase *parrent,::xml_schema::type *conf,UaNode *pAS,OpcUa_UInt code):
25  UserDeviceItem(parrent,conf,pAS,code)
26  {
27  };
28 
29 // static UaStatus convertOpcUaType(const OpcUa_Variant *sData, OpcUa_Variant *oData, OpcUa_BuiltInType bType);
30 
31  virtual ~UserDeviceItem(void)
32  {
33  } ;
34 
35 
36  virtual UaStatus connectCode(OpcUa_UInt32 code, ::xsd::cxx::tree::type *conf, UaNode *blink)
37  {
38  OpcUa_ReferenceParameter(code);
39  OpcUa_ReferenceParameter(conf);
40  OpcUa_ReferenceParameter(blink);
41  return OpcUa_Good;
42 
43  }
44 
45  };
46 }
47 #endif
48