|
@@ -305,7 +305,7 @@ namespace WCS.Core
|
|
|
var msg = Description + "--" + wi.Title + "--";
|
|
var msg = Description + "--" + wi.Title + "--";
|
|
|
if (p is IProtocol)
|
|
if (p is IProtocol)
|
|
|
{
|
|
{
|
|
|
- msg += (p as IProtocol).PROTOCOL().DEVICE.NAME;
|
|
|
|
|
|
|
+ msg += (p as IProtocol).PROTOCOL().DEVICE.CODE;
|
|
|
}
|
|
}
|
|
|
var con = ex.GetBaseException().Message.Split("|");
|
|
var con = ex.GetBaseException().Message.Split("|");
|
|
|
|
|
|
|
@@ -454,7 +454,7 @@ namespace WCS.Core
|
|
|
var msg = Description + "--" + wi.Title + "--";
|
|
var msg = Description + "--" + wi.Title + "--";
|
|
|
if (p is IProtocol)
|
|
if (p is IProtocol)
|
|
|
{
|
|
{
|
|
|
- msg += (p as IProtocol).PROTOCOL().DEVICE.NAME;
|
|
|
|
|
|
|
+ msg += (p as IProtocol).PROTOCOL().DEVICE.CODE;
|
|
|
}
|
|
}
|
|
|
var con = ex.GetBaseException().Message.Split("|");
|
|
var con = ex.GetBaseException().Message.Split("|");
|
|
|
msg = msg + ":" + con[0];
|
|
msg = msg + ":" + con[0];
|