public bool PostCompute(AgAsDragModelResult Result) { DebugMessage(AgEUtLogMsgType.eUtLogMsgDebug, "DragLiftExample:PostCompute()"); if (_Enabled) { DebugMessage(AgEUtLogMsgType.eUtLogMsgInfo, "DragLiftExample:PostCompute(): Enabled"); //close(DEBUGFILE); } else { DebugMessage(AgEUtLogMsgType.eUtLogMsgInfo, "DragLiftExample:PostCompute(): Disabled"); } return(_Enabled); }
public bool PreCompute(AgAsDragModelResult Result) { DebugMessage(AgEUtLogMsgType.eUtLogMsgDebug, "DragLiftExample:PreCompute() called"); if (_Enabled) { if (Result != null) { if (_DebugMode) { //# Open debug file and write header //open(DEBUGFILE, ">$m_DebugFile"); } } _MsgCntr = 0; } else { DebugMessage(AgEUtLogMsgType.eUtLogMsgInfo, "DragLiftExample:PreCompute(): Disabled"); } return(_Enabled); }