/// <summary> /// 运行错误 /// </summary> /// <param name="eec"></param> /// <param name="_ErrMsg"></param> public void OnError(EnumExceptionCode eec, string _ErrMsg) { Log.LogFor(userId + "", coinSymbol, "时间:" + DateTime.Now.ToString() + _ErrMsg); if (eec == EnumExceptionCode.行情异常) { runStatus = EnumRunStatus.行情接收异常; isConnect = false; Print("行情接收异常,被迫断开连接,与行情服务器断开连接!"); return; } runStatus = EnumRunStatus.交易异常停止; }
public void OnError(EnumExceptionCode eec, string _ErrMsg) { Print(_ErrMsg); }