徐孝锋 7 mesi fa
parent
commit
e7958e11d0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      TeamAAS-VM/Models/PLC/PlcAddressConfig.cs

+ 1 - 1
TeamAAS-VM/Models/PLC/PlcAddressConfig.cs

@@ -879,7 +879,7 @@ namespace TeamAAS_VP.Models.PLC
             In_MesCheck.Description = "Mes交互 =1 获取过站信息当站是否生产,=2 上传本站数据";
 
             In_Result = Ensure(In_Result);
-            In_Result.Address = "ns=4;s=DB_Communication|ToPC.Mes[0].Product_Status";
+            In_Result.Address = "ns=4;s=DB_Communication|ToPC.Mes[{0}].Product_Status";
             In_Result.DataType = "int16";
             In_Result.Description = "产品的最终结果,1:OK; 2:NG";