Implémentation des lectures des messages
Ajout de la page CAN View
This commit is contained in:
@@ -20,11 +20,15 @@ COtarcikCan::COtarcikCan(QObject *parent) : QObject(parent)
|
||||
{
|
||||
mPCANInterface = new CPCANInterface;
|
||||
mCANDatabase = new CCANDatabase;
|
||||
mCANAnalyzer = new CCANAnalyzer(mPCANInterface);
|
||||
}
|
||||
|
||||
COtarcikCan::~COtarcikCan()
|
||||
{
|
||||
delete mCANAnalyzer;
|
||||
delete mPCANInterface;
|
||||
delete mCANDatabase;
|
||||
|
||||
}
|
||||
|
||||
int COtarcikCan::Start()
|
||||
@@ -34,9 +38,7 @@ int COtarcikCan::Start()
|
||||
CGeneralMessagesLogDispatcher::instance()->BindGuiPageHandle(w.mGeneralStatusPage);
|
||||
CGeneralMessagesLogDispatcher::instance()->Init();
|
||||
|
||||
CGeneralMessagesLogDispatcher::instance()->AddLogMessage("OtarcikCan modules starting...");
|
||||
|
||||
mPCANInterface->Init();
|
||||
mCANAnalyzer->Init(mPCANInterface,mCANDatabase);
|
||||
|
||||
mCANDatabase->Init();
|
||||
mCANDatabase->LoadDatabaseFile("");
|
||||
|
||||
Reference in New Issue
Block a user