徐孝锋 7 months ago
parent
commit
e7958e11d0
1 changed files with 1 additions and 1 deletions
  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_MesCheck.Description = "Mes交互 =1 获取过站信息当站是否生产,=2 上传本站数据";
 
 
             In_Result = Ensure(In_Result);
             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.DataType = "int16";
             In_Result.Description = "产品的最终结果,1:OK; 2:NG";
             In_Result.Description = "产品的最终结果,1:OK; 2:NG";