浏览代码

plc报警

oyq28 7 月之前
父节点
当前提交
4452e395b0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      IMCS_CCS/Service/Impl/TaskJobService.cs

+ 1 - 1
IMCS_CCS/Service/Impl/TaskJobService.cs

@@ -1913,7 +1913,7 @@ namespace IMCS.CCS.Service.Impl
             { 
                 foreach(string st in dataList)
                 {
-                    string operateResult = s7.ReadBool(st).Content.ToString();
+                    string operateResult = s7.ReadBool(st.Replace("\"", "")).Content.ToString();
                     returnList.Add(operateResult);
                 }