Przeglądaj źródła

plc数据块变更

oyq28 2 miesięcy temu
rodzic
commit
7949026afe
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      IMCS_CCS/Service/Impl/HttpRequestService.cs

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

@@ -1732,7 +1732,7 @@ namespace IMCS.CCS.Services
                 {
                 {
                     if (!string.IsNullOrEmpty(actionAddress.Address) && !string.IsNullOrEmpty(actionAddress.Value))
                     if (!string.IsNullOrEmpty(actionAddress.Address) && !string.IsNullOrEmpty(actionAddress.Value))
                     {
                     {
-                        string operateResult = "";
+                        string operateResult = "";                        
                         if (actionAddress.AddressType.Equals(TagValueReadTypeEnum.BOOL.ToString()))
                         if (actionAddress.AddressType.Equals(TagValueReadTypeEnum.BOOL.ToString()))
                         {
                         {
                             operateResult = s7.ReadBool(actionAddress.Address).Content.ToString();
                             operateResult = s7.ReadBool(actionAddress.Address).Content.ToString();