internal void End(bool isWorkGoOn = false) { //预加载 if (isWorkGoOn) { } else { //不再使用窗口 lock (_objLock) { _isQuit = true; if (_form == null) { return; } //记录完整操作流程日志 Log("end"); _sb.AppendLine(_form.GetResult()); if (!_isCloseForm) { _form.SetWorking(false); _form.Stop(); } else { _form.Close(); } _log.Info(_sb.ToString()); _form = null; } } }
public GetVersion(IBrowserBase form, ParamModel paramModel) : base(form, paramModel, new FlashLogger("GetVersion")) { _request = paramModel; _form = form; }
public static IProcessBase GetProcessByMethod(IBrowserBase formBrowser, ParamModel paramModel) { var process = new GetVersion(formBrowser, paramModel); return((IProcessBase)process); }
public ProcessBaseUseBrowser(IBrowserBase form, ParamModel paramModel, FlashLogger log) { _log = log; processBase = new ProcessBase(form, _log); }
public ProcessBase(IBrowserBase form, FlashLogger log) { _form = form; _log = log; }