Commit cf79dc62 LN

1

1 个父辈 bb5699df
...@@ -48,4 +48,8 @@ ...@@ -48,4 +48,8 @@
20191220移门操作修改:移门到位后需要马上关闭DO. 20191220移门操作修改:移门到位后需要马上关闭DO.
扫码入库逻辑修改,先去扫码库位点,放下料盘后扫码,扫码后再把料盘拿走。
\ No newline at end of file \ No newline at end of file
扫码入库逻辑修改,先去扫码库位点,放下料盘后扫码,扫码后再把料盘拿走。
20200113需要修改:
出库时如果当前料架不是指定的料架,需要把料架送出,然后通知agv准备指定料架
...@@ -531,6 +531,9 @@ namespace OnlineStore.DeviceLibrary ...@@ -531,6 +531,9 @@ namespace OnlineStore.DeviceLibrary
{ {
LogUtil.error(Name + "验证出库【" + inoutParam.ToStr() + "】是否重复出错:" + ex.ToString()); LogUtil.error(Name + "验证出库【" + inoutParam.ToStr() + "】是否重复出错:" + ex.ToString());
} }
//判断出库指定的料架是否是当前料架,如果不是当前料架,需要将当前料架送出,然后进入新料架
//TODO
string shelfPosID = ""; string shelfPosID = "";
if (inoutParam.rfidLoc > 0 && ShelfPosList.Count >= inoutParam.rfidLoc) if (inoutParam.rfidLoc > 0 && ShelfPosList.Count >= inoutParam.rfidLoc)
{ {
......
...@@ -76,9 +76,17 @@ namespace OnlineStore.DeviceLibrary ...@@ -76,9 +76,17 @@ namespace OnlineStore.DeviceLibrary
public char RFType = 'A'; public char RFType = 'A';
public int Num = 0; public int Num = 0;
public RFIDData(int num, int t) public RFIDData(int num, int t)
{ {
this.RFType = (char)t; if (t < 65)
{
RFType = '0';
}
else
{
this.RFType = (char)t;
}
this.Num = num; this.Num = num;
} }
...@@ -88,7 +96,14 @@ namespace OnlineStore.DeviceLibrary ...@@ -88,7 +96,14 @@ namespace OnlineStore.DeviceLibrary
{ {
if (data != null && data.Length > 2) if (data != null && data.Length > 2)
{ {
RFType = (char)data[1]; if (data[1] < 65)
{
RFType = '0';
}
else
{
RFType = (char)data[1];
}
Num = (int)(data[2]); Num = (int)(data[2]);
} }
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!