Browse Source

#IQRV #comment UOS编译差异问题处理2

80374374 4 months ago
parent
commit
143a131061
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Module/include/DevFSMCommBase.hpp

+ 1 - 1
Module/include/DevFSMCommBase.hpp

@@ -890,7 +890,7 @@ protected:
 
 	void __PostInit() override
 	{
-		if (m_pEntity != NULL) {
+		if (this->GetEntityBase() != NULL) {
 			CSimpleStringA uiState(true);
 			auto err = this->GetEntityBase()->GetFunction()->GetSysVar("UIState", uiState);
 			if (err == Error_Succeed && !uiState.IsNullOrEmpty()) {