|
|
@@ -2710,12 +2710,7 @@ namespace TeamAAS_VP.Core
|
|
|
|
|
|
Int16 resultIndex = plc.ReadNode<Int16>(string.Format(addressConfig.In_Result.Address, i));
|
|
|
SendTaskMessage($"读取plc结果{resultIndex}", MessageLevel.Debug);
|
|
|
- ShowMes_Result = resultIndex == 1 ? true : false;
|
|
|
- if (homeview.IsResultTrue == false)
|
|
|
- {
|
|
|
- resultIndex = 1;
|
|
|
- }
|
|
|
- //Int16 resultIndex = 1;
|
|
|
+ ShowMes_Result = resultIndex == 1 ? true : false;
|
|
|
|
|
|
//目前只记录当前站
|
|
|
if (i == 0)
|
|
|
@@ -2781,10 +2776,6 @@ namespace TeamAAS_VP.Core
|
|
|
bool allSuccess = true;
|
|
|
bool ok = false;
|
|
|
|
|
|
- if (homeview.IsResultTrue)
|
|
|
- {
|
|
|
- ShowMes_Result = true;
|
|
|
- }
|
|
|
|
|
|
string name = currentProduct.Name;
|
|
|
if (stationConfig.SaveCsvkeyData)
|
|
|
@@ -2802,11 +2793,7 @@ namespace TeamAAS_VP.Core
|
|
|
else
|
|
|
{
|
|
|
ShowMes_Result = false;
|
|
|
- }
|
|
|
- if (homeview.IsResultTrue == true)
|
|
|
- {
|
|
|
- ShowMes_Result = true;
|
|
|
- }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//StringBuilder submitDataError2 = new StringBuilder();
|