Implémentation des lectures des messages

Ajout de la page CAN View
This commit is contained in:
2023-01-15 12:38:14 -05:00
parent 087245571a
commit e0c3c3a979
35 changed files with 2527 additions and 1273 deletions
+5 -3
View File
@@ -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("");