// DrawFrogView.cpp : implementation of the CDrawFrogView class//#include"stdafx.h"#include"DrawFrog.h"#include"DrawFrogDoc.h"#include"DrawFrogView.h"#include"math.h"#definePI3.14#ifdef_DEBUG#definenewDEBUG_NEW#undefTHIS_FILEstaticchar THIS_FILE[]=__FILE__;#endif/// CDrawFrogViewIMPLEMENT_DYNCREATE(CDrawFrogView, CView)BEGIN_MESSAGE_MAP(CDrawFrogView, CView)//{{AFX_MSG_MAP(CDrawFrogView)// NOTE - the ClassWizard will add and remove mapping macros here.// DO NOT EDIT what you see in these blocks of generated code!//}}AFX_MSG_MAP// Standard printing commandsON_COMMAND(ID_FILE_PRINT, CView::OnFilePrint)ON_COMMAND(ID_FILE_PRINT_DIRECT, CView::OnFilePrint)ON_COMMAND(ID_FILE_PRINT_PREVIEW, CView::OnFilePrintPreview)END_MESSAGE_MAP()/// CDrawFrogView construction/destructionCDrawFrogView::CDrawFrogView(){// TODO: add construction code here
报错信息如下; ERROR:asyncua.common.subscription:DataChange subscription created but handler has no datachange_notification method 上述报错原因在于创建监控句柄SubscriptionHandler类时,节点数据变化的函数名称有问题,不是默认的da…