소스 검색

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);
                 }