Commit 56a72d0b LN

出入库调试修改

1 个父辈 b91313f5
......@@ -31,7 +31,7 @@
<add key="HumitureControllerType" value="0" />
<add key="UseAIOBOX" value="1" />
<!--流水线地址和端口配置-->
<add key="LineServerIp" value="192.168.101.11" />
<add key="LineServerIp" value="192.168.204.88" />
<add key="LineServerPort" value="5246" />
<!--是否调试状态-->
<add key="IsInDebug" value="1" />
......
......@@ -81,6 +81,8 @@ namespace OnlineStore.Common
{
if (lastErrorLogTime.ContainsKey(type))
{
try
{
TimeSpan span = DateTime.Now - lastErrorLogTime[type];
if (span.TotalSeconds < spanSeconds)
{
......@@ -92,6 +94,10 @@ namespace OnlineStore.Common
lastErrorLogTime.Add(type, DateTime.Now);
error(log, errorMsg);
}
}catch(Exception ex)
{
}
}
else
{
......
......@@ -54,6 +54,12 @@ namespace OnlineStore.DeviceLibrary
PositionNum = posId;
MoveP = linePosition;
IsSolderPaste = false;
ACStorePosition p = GetACPosition();
if (p != null)
{
PlateH = p.BagHigh.ToString();
PlateW = p.BagWidth.ToString();
}
}
//public InOutStoreParam(string wareNo, string posId, ACStorePosition movep)
//{
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!