|
@@ -3038,7 +3038,6 @@ namespace TeamAAS_VP.Core
|
|
|
{
|
|
{
|
|
|
CTtime = ct;
|
|
CTtime = ct;
|
|
|
_eventAggregator.GetEvent<DelaySaveImageNotification>().Publish(true);//通知界面延迟保存图片,等待MES查询结果返回,避免图片和数据不同步
|
|
_eventAggregator.GetEvent<DelaySaveImageNotification>().Publish(true);//通知界面延迟保存图片,等待MES查询结果返回,避免图片和数据不同步
|
|
|
- _productService.CurrentProductCode = "";
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//从PLC获取零件编号
|
|
//从PLC获取零件编号
|
|
@@ -3412,7 +3411,6 @@ namespace TeamAAS_VP.Core
|
|
|
SendTaskMessage($"mes结束ADD", MessageLevel.Info);
|
|
SendTaskMessage($"mes结束ADD", MessageLevel.Info);
|
|
|
await plc.WriteNodeAsync(string.Format(addressConfig.Out_MesStatus.Address, i), (Int16)3);
|
|
await plc.WriteNodeAsync(string.Format(addressConfig.Out_MesStatus.Address, i), (Int16)3);
|
|
|
|
|
|
|
|
-
|
|
|
|
|
//是否保存当前的产品记录至CSV?
|
|
//是否保存当前的产品记录至CSV?
|
|
|
if (stationConfig.SaveCsv)
|
|
if (stationConfig.SaveCsv)
|
|
|
{
|
|
{
|