|
@@ -109,6 +109,10 @@ namespace WCS.Service
|
|
|
var station_2195 = Device.Find("2195").Device<IStation521, IStation520>();
|
|
|
if (station_2195.Data.PH_STATUS && station_2195.Data.PH_STATUS2)
|
|
|
WMS.GetProductInfo(barcode, dev, true);
|
|
|
+ else
|
|
|
+ {
|
|
|
+ throw new Exception(res.ResMessage);
|
|
|
+ }
|
|
|
}
|
|
|
else if (tpType == "2")//2198 2192
|
|
|
{
|
|
@@ -117,6 +121,10 @@ namespace WCS.Service
|
|
|
{
|
|
|
WMS.GetProductInfo(barcode, dev, true);
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ throw new Exception(res.ResMessage);
|
|
|
+ }
|
|
|
}
|
|
|
else if (tpType == "3")//2201
|
|
|
{
|
|
@@ -124,6 +132,10 @@ namespace WCS.Service
|
|
|
if (station_2201.Data.PH_STATUS && station_2201.Data.PH_STATUS2)
|
|
|
WMS.GetProductInfo(barcode, dev, true);
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ throw new Exception(res.ResMessage);
|
|
|
+ }
|
|
|
}
|
|
|
else
|
|
|
{
|