|
@@ -1,9 +1,14 @@
|
|
|
-#pragma once
|
|
|
+#ifndef RVC_MOD_UPGRADE_RUN_H_
|
|
|
+#define RVC_MOD_UPGRADE_RUN_H_
|
|
|
+
|
|
|
#include "SpBase.h"
|
|
|
#include "UpgradeRunFSM.h"
|
|
|
#include "UpgradeRun_server_g.h"
|
|
|
#include "UpgradeRun_msg_g.h"
|
|
|
|
|
|
+#include "SpTest.h"
|
|
|
+#include "modVer.h"
|
|
|
+
|
|
|
using namespace UpgradeRun;
|
|
|
|
|
|
// Éý¼¶Ö´ÐÐ UpgradeRun 0x507
|
|
@@ -15,6 +20,13 @@ public:
|
|
|
virtual const char *GetEntityName() const { return "UpgradeRun"; }
|
|
|
virtual bool IsService()const{return true;}
|
|
|
|
|
|
+ const char* GetEntityVersion() const override
|
|
|
+ {
|
|
|
+ return MODULE_VERSION_FULL;
|
|
|
+ }
|
|
|
+
|
|
|
+ ON_ENTITYT_TEST()
|
|
|
+
|
|
|
virtual void OnStarted();
|
|
|
virtual void OnPreClose(EntityCloseCauseEnum eCloseCause,CSmartPointer<ITransactionContext> pTransactionContext);
|
|
|
|
|
@@ -58,4 +70,5 @@ public:
|
|
|
|
|
|
private:
|
|
|
CUpgradeRunEntity *m_pEntity;
|
|
|
-};
|
|
|
+};
|
|
|
+#endif //RVC_MOD_UPGRADE_RUN_H_
|