Commit 78a8f321 几米阳光

扫码修改

1 个父辈 c9f8daa6
......@@ -100,20 +100,20 @@ namespace OnlineStore.Common
}
public static void error(ILog log, string errorMsg)
{
if (!lasErrorLogList.Contains(errorMsg))
{
///*if (!lasE*/rrorLogList.Contains(errorMsg))
//{
log.Error(log.Logger.Name + " - " + errorMsg);
if (logBox == null)
{
return;
}
AddToBox(errorMsg, Color.Red);
}
lasErrorLogList.Add(errorMsg);
if (lasErrorLogList.Count > errCount)
{
lasErrorLogList.RemoveAt(0);
}
//}
//lasErrorLogList.Add(errorMsg);
//if (lasErrorLogList.Count > errCount)
//{
// lasErrorLogList.RemoveAt(0);
//}
}
private static void AddToBox(string msg, Color color)
{
......
......@@ -217,6 +217,8 @@ namespace OnlineStore.DeviceLibrary
#region 原点返回和复位处理
private void ReturnHome()
{
isInSuddenDown = false;
isNoAirCheck = false;
WarnMsg = "";
CurrInOutACount = 0;
CurrInOutCount = 0;
......
......@@ -189,7 +189,7 @@ namespace OnlineStore.DeviceLibrary
}
if (!result.Equals(""))
{
return "=1+0x0-7x" + height + "=" + result;
return "=1+0x0-13x" + height + "=" + result;
}
}catch(Exception ex)
{
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!