public ER ref_sys(ref T_RSYS pk_rsys) { ER Result = ER.E_NOEXS; if (g_Kernel == null) return ER.E_DLT; g_Kernel.LockCPU(); try { Result = g_Kernel.Nucleus.ReferSystemStatus(ref pk_rsys); } finally { g_Kernel.UnlockCPU(); } return Result; }
public ER ReferSystemStatus(ref T_RSYS pk_rsys) { //if(pk_rsys == null) // return ER.E_PAR; m_rsys = pk_rsys; return ER.E_OK; }